ETHERCAP_* & ioctl()

2010-07-27 Thread masanobu
I'd like to make ETHERCAP_* specification clear before fixing PR#38871 for bge(4). 0. Background. When changing some flags of a interface, if_init() may be called to reflect the change. It's depend on a implementation of each driver. It's important not to call if_init() if it's not neede

dk_rawlock and vn_close

2010-07-27 Thread Manuel Bouyer
hi I just got this panic while rebooting a server with dk(4) on raid(4): (see comments inline) syncing disks... done unmounting file systems...Mutex error: mutex_destroy: assertion failed: !MUTEX_OWNED(mtx->mtx_owner) && !MUTEX_HAS_WAITERS(mtx) lock address : 0xc43f9268 type : sl

Re: RFC: device flavours

2010-07-27 Thread Martin Husemann
On Tue, Jul 27, 2010 at 01:56:23AM +, Quentin Garnier wrote: > "For free" is a subjective thing. I don't think using device_register() > --which is a MD callback--to pass information between two MI drivers is > free. Well, using a MD callback to attach MD information from ACPI somehow makes s