freebsd-src/sys/cam/scsi
Poul-Henning Kamp 46aa3347cb Convert all users of fldoff() to offsetof(). fldoff() is bad
because it only takes a struct tag which makes it impossible to
use unions, typedefs etc.

Define __offsetof() in <machine/ansi.h>

Define offsetof() in terms of __offsetof() in <stddef.h> and <sys/types.h>

Remove myriad of local offsetof() definitions.

Remove includes of <stddef.h> in kernel code.

NB: Kernelcode should *never* include from /usr/include !

Make <sys/queue.h> include <machine/ansi.h> to avoid polluting the API.

Deprecate <struct.h> with a warning.  The warning turns into an error on
01-12-2000 and the file gets removed entirely on 01-01-2001.

Paritials reviews by:   various.
Significant brucifications by:  bde
2000-10-27 11:45:49 +00:00
..
scsi_all.c Add quirk entries from Andre Albsmeier to disable the sync cache command 2000-08-29 22:09:23 +00:00
scsi_all.h This is an overhaul of the mode page handling in camcontrol as well as 2000-08-08 06:24:17 +00:00
scsi_cd.c Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
scsi_cd.h Add support for the DVD ioctl interface. 2000-05-12 03:36:02 +00:00
scsi_ch.c Remove unneeded <sys/buf.h> includes. 2000-04-18 15:15:39 +00:00
scsi_ch.h Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
scsi_da.c Add the quirk entry for the Sony Memory Stick Adapter. 2000-10-20 00:53:30 +00:00
scsi_da.h Implement a new camcontrol function, 'camcontrol format'. 2000-05-21 23:57:52 +00:00
scsi_dvcfg.h Add PC-Card/ISA SCSI host adpater drivers from NetBSD/pc98 2000-10-23 12:55:51 +00:00
scsi_low.c Add PC-Card/ISA SCSI host adpater drivers from NetBSD/pc98 2000-10-23 12:55:51 +00:00
scsi_low.h Add PC-Card/ISA SCSI host adpater drivers from NetBSD/pc98 2000-10-23 12:55:51 +00:00
scsi_low_pisa.c Add PC-Card/ISA SCSI host adpater drivers from NetBSD/pc98 2000-10-23 12:55:51 +00:00
scsi_low_pisa.h Add PC-Card/ISA SCSI host adpater drivers from NetBSD/pc98 2000-10-23 12:55:51 +00:00
scsi_message.h Remove duplicate FreeBSD RCSID. 2000-09-22 22:04:17 +00:00
scsi_pass.c Separate the struct bio related stuff out of <sys/buf.h> into 2000-05-05 09:59:14 +00:00
scsi_pass.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
scsi_pt.c Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
scsi_pt.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
scsi_sa.c Grab the ccb *after* writing filemarks. 2000-10-05 17:02:20 +00:00
scsi_sa.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
scsi_ses.c Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
scsi_ses.h Move the kernel specific stuff into scsi_ses.c. Redo the ioctls 2000-01-15 22:40:04 +00:00
scsi_targ_bh.c Convert all users of fldoff() to offsetof(). fldoff() is bad 2000-10-27 11:45:49 +00:00
scsi_target.c Convert all users of fldoff() to offsetof(). fldoff() is bad 2000-10-27 11:45:49 +00:00
scsi_targetio.h Add a TARGIODEBUG ioctl to allow for CAM_DEBUG_PERIPH tracing on 2000-07-14 19:42:47 +00:00