Subject: Re: readdisklabel parameter change
To: Frank van der Linden <frank@wins.uva.nl>
From: Chris G. Demetriou <cgd@netbsd.org>
List: tech-kern
Date: 09/05/1999 22:48:48
Frank van der Linden <frank@wins.uva.nl> writes:
> So, I want to change readdisklabel() to take a struct device * as well,
> so that dv_xname can be used for error messages.

With the current code as it is, this isn't gonna work so well.

There exist plenty of disk devices (really, pseudo-devices 8-) which
don't have 'struct device's associated with them.  looks like 'struct
disk' may do what you're hoping for, though.



cgd
-- 
Chris Demetriou - cgd@netbsd.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.