1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
freebsd/sys/dev/advansys
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
..
adv_eisa.c Newbusify adv driver. 2000-04-07 11:32:42 +00:00
adv_isa.c Hide annoying message under boot-verbose. 2000-04-23 09:11:19 +00:00
adv_pci.c Use the correct register names, not the FreeBSD 2.2 compatability ones. 2000-05-28 15:47:00 +00:00
advansys.c Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
advansys.h Newbusify adv driver. 2000-04-07 11:32:42 +00:00
advlib.c Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
advlib.h Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
advmcode.c adv_pci.c: 2000-01-14 03:33:38 +00:00
advmcode.h adv_pci.c: 2000-01-14 03:33:38 +00:00
adw_pci.c Use the correct register names, not the FreeBSD 2.2 compatability ones. 2000-05-28 15:47:00 +00:00
adwcam.c Convert all users of fldoff() to offsetof(). fldoff() is bad 2000-10-27 11:45:49 +00:00
adwlib.c Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
adwlib.h Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
adwmcode.c Add support for the AdvanSys ASC38C0800 Ultra2 chipset. Preliminary 2000-02-03 16:34:57 +00:00
adwmcode.h Add support for the AdvanSys ASC38C0800 Ultra2 chipset. Preliminary 2000-02-03 16:34:57 +00:00
adwvar.h Unused include: #include "adw.h" 2000-06-10 11:06:16 +00:00