freebsd-skq/sys/cam
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
..
scsi Change the disk(9) API in order to make device removal more robust. 2004-02-18 21:36:53 +00:00
cam_ccb.h Add a PATH_INQ flag, PIM_NO_6_BYTE, which indicates the SIM never wishes to 2003-07-28 06:15:59 +00:00
cam_debug.h
cam_periph.c Don't be so chatty when performing manual sense. This should make ATAPICAM 2003-11-08 10:56:57 +00:00
cam_periph.h Centralize the devstat handling for all GEOM disk device drivers 2003-03-08 08:01:31 +00:00
cam_queue.c Use __FBSDID(). 2003-06-10 17:50:20 +00:00
cam_queue.h
cam_sim.c Use __FBSDID(). 2003-06-10 17:50:20 +00:00
cam_sim.h
cam_xpt_periph.h
cam_xpt_sim.h
cam_xpt.c Sprinkle GIANT_REQUIRED asserts around the xpt layer to aid with locking the 2003-11-09 02:22:33 +00:00
cam_xpt.h
cam.c Merge common XPT_CALC_GEOMETRY functions into a single convenience function. 2003-06-14 22:17:38 +00:00
cam.h