Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: panic: config_attach: duplicate uhub3



On Tue, Dec 08, 2009 at 03:01:44AM +0000, Quentin Garnier wrote:
[...]
> Maybe use a magic non-NULL
> value like -1 to indicate the cd_devs slot is taken but does not yet
> contain an actual value in config_devalloc()?

Scratch that, very bad idea.  Essentially all drivers with a character
or block device rely on the NULL/non-NULL value of the cd_devs slot.

-- 
Quentin Garnier - cube%cubidou.net@localhost - cube%NetBSD.org@localhost
"See the look on my face from staying too long in one place
[...] every time the morning breaks I know I'm closer to falling"
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.

Attachment: pgp0HmEri6gU8.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index