On Wed, Oct 31, 2001 at 08:54:35 +0600, Nickolay Dudorov wrote: > With the following patch I can now use all > the channels on the HPT366 controller in my ABIT's BP6 mobo.
> else { > - if (!(child = device_add_child(dev, "ata", 2))) > + if (!(child = device_add_child(dev, "ata", -1))) > return ENOMEM; Yes, that way (don't use wired slots) looks acceptable too. (BTW, why ENOMEM only here? device_add_child() can fail for _various_ reasons). -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message