freebsd-skq/sys/dev/ida
phk 49c92e5706 Change the disk(9) API in order to make device removal more robust.
Previously the "struct disk" were owned by the device driver and this
gave us problems when the device disappared and the users of that device
were not immediately disappearing.

Now the struct disk is allocate with a new call, disk_alloc() and owned
by geom_disk and just abandonned by the device driver when disk_create()
is called.

Unfortunately, this results in a ton of "s/\./->/" changes to device
drivers.

Since I'm doing the sweep anyway, a couple of other API improvements
have been carried out at the same time:

The Giant awareness flag has been flipped from DISKFLAG_NOGIANT to
DISKFLAG_NEEDSGIANT

A version number have been added to disk_create() so that we can detect,
report and ignore binary drivers with old ABI in the future.

Manual page update to follow shortly.
2004-02-18 21:36:53 +00:00
..
ida_disk.c Change the disk(9) API in order to make device removal more robust. 2004-02-18 21:36:53 +00:00
ida_eisa.c style(9): single tab after #define. 2004-01-13 11:28:21 +00:00
ida_pci.c style(9): single tab after #define. 2004-01-13 11:28:21 +00:00
ida.c Add a per controller IOCTL interface. 2004-01-15 06:37:52 +00:00
idaio.h Add a per controller IOCTL interface. 2004-01-15 06:37:52 +00:00
idareg.h - Add comments. 2004-01-15 04:05:47 +00:00
idavar.h Change the disk(9) API in order to make device removal more robust. 2004-02-18 21:36:53 +00:00