freebsd-nq/sys/dev/aac
Poul-Henning Kamp 0b7ed341e1 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
..
aac_cam.c Temporary workaround for aac_cam to deal with CAM requiring Giant. This 2003-12-03 15:42:12 +00:00
aac_compat.h
aac_debug.c Remove the use of AACQ_COMPLETE here since there is no longer a completion 2004-02-07 20:54:29 +00:00
aac_disk.c Change the disk(9) API in order to make device removal more robust. 2004-02-18 21:36:53 +00:00
aac_ioctl.h Do some small cleanups to comments and remove AACQ_COMPLETE definitions since 2004-02-07 17:40:38 +00:00
aac_linux.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
aac_pci.c Fall back to INTR_MPSAFE if INTR_FAST registration fails. 2004-02-09 05:29:05 +00:00
aac_tables.h
aac.c Change the disk(9) API in order to make device removal more robust. 2004-02-18 21:36:53 +00:00
aacreg.h Fix a couple of bugs with AIF handling: 2003-10-17 21:44:06 +00:00
aacvar.h Change the disk(9) API in order to make device removal more robust. 2004-02-18 21:36:53 +00:00