freebsd-dev/sys/dev
Peter Wemm f41325db5f With this commit, I hereby pronounce gensetdefs past its use-by date.
Replace the a.out emulation of 'struct linker_set' with something
a little more flexible.  <sys/linker_set.h> now provides macros for
accessing elements and completely hides the implementation.

The linker_set.h macros have been on the back burner in various
forms since 1998 and has ideas and code from Mike Smith (SET_FOREACH()),
John Polstra (ELF clue) and myself (cleaned up API and the conversion
of the rest of the kernel to use it).

The macros declare a strongly typed set.  They return elements with the
type that you declare the set with, rather than a generic void *.

For ELF, we use the magic ld symbols (__start_<setname> and
__stop_<setname>).  Thanks to Richard Henderson <rth@redhat.com> for the
trick about how to force ld to provide them for kld's.

For a.out, we use the old linker_set struct.

NOTE: the item lists are no longer null terminated.  This is why
the code impact is high in certain areas.

The runtime linker has a new method to find the linker set
boundaries depending on which backend format is in use.

linker sets are still module/kld unfriendly and should never be used
for anything that may be modular one day.

Reviewed by:	eivind
2001-06-13 10:58:39 +00:00
..
aac
acpica What I get for "fixing" at the last minute. Correct a mis-merge of takawata's 2001-05-30 05:34:10 +00:00
advansys
agp
aha
ahb
aic Add PnP IDs for AHA-1530 and AHA-1520 cards. 2001-06-06 22:32:29 +00:00
aic7xxx
amd
amr
an Currently, each wireless networking driver has it's own control program 2001-05-26 09:27:08 +00:00
ar
asr
ata Add support for yet another Promise ATA100 variant 2001-06-08 09:51:33 +00:00
atkbdc Hints overhaul: 2001-06-12 09:40:04 +00:00
awi Currently, each wireless networking driver has it's own control program 2001-05-26 09:27:08 +00:00
bktr
buslogic
cardbus Use bus_space when reading CIS. This allows us to access it in 8 bit 2001-06-05 23:42:51 +00:00
ccd
cnw
cs
ct
cy
dc
de
dec
dgb
digi
dpt
ed
eisa
en
ep Commit part of the patch that I have for card eject problems with the 2001-06-05 22:29:16 +00:00
ex
fb With this commit, I hereby pronounce gensetdefs past its use-by date. 2001-06-13 10:58:39 +00:00
fdc Hints overhaul: 2001-06-12 09:40:04 +00:00
fe
fxp While in the interrupt loop, check for a bogus interrupt value of 0xff. 2001-06-04 22:01:44 +00:00
hea
hfa
ic Move the files from i386/isa/ic/ to dev/ic/. 2001-06-10 04:28:39 +00:00
ichsmb
ida
ie
iicbus
isp Fix botch for state levels. Role minor release. Start adding code for a 2001-06-05 17:11:06 +00:00
ispfw
joy
kbd With this commit, I hereby pronounce gensetdefs past its use-by date. 2001-06-13 10:58:39 +00:00
lge Use LGE_INC() macro to increment tx producer index in lge_encap(). 2001-06-06 19:16:02 +00:00
lmc
lnc
mc146818
mca
mcd
md Remove MFS compat bits. 2001-05-29 18:49:23 +00:00
mii Only touch the PCR register in order to set bits for the fxp driver. 2001-06-02 19:51:02 +00:00
mlx
mly
mse
musycc Dang, I lost the sign in that brucification. DTRT with PCATCH. 2001-05-26 09:37:42 +00:00
ncv
nge - Remember to set the 'extsts enable' bit in the CFG register to enable the 2001-06-06 22:16:23 +00:00
nmdm
nsp
null
ofw
pccard
pccbb Separate out pci cardbus bridge definitions to a common file for use 2001-05-25 19:12:58 +00:00
pcf
pci Fix reversed arguments to pci_write_config() 2001-06-03 09:45:40 +00:00
pcic Add PC9801-102 CBUS card to the list of plug and play devices. Some 2001-06-09 06:43:54 +00:00
pdq
ppbus -Wunused cleanup 2001-06-12 07:01:27 +00:00
ppc
random
ray
rc
rp
scd
sf
si
sio Close the line displine on detach. Lots of folks have submittd this, and 2001-06-05 05:58:57 +00:00
sk
smbus
sn
snc
snp Add a line discipline close routine which restores some functionality 2001-06-05 05:07:53 +00:00
sound identify es1371 revision a 2001-06-11 00:32:18 +00:00
speaker
sr
stg
streams
sym
syscons With this commit, I hereby pronounce gensetdefs past its use-by date. 2001-06-13 10:58:39 +00:00
tdfx
ti Vlan tags are 12 bits, mask off anything above since the chip doesn't 2001-05-23 19:25:14 +00:00
twe
tx
usb Activate the kthread mechanism for doing usb bus discovery. This means 2001-06-06 22:00:03 +00:00
vinum Change #if VINUMDEBUG to #ifdef VINUMDEBUG. This is a flag, not a variable. 2001-05-23 23:24:05 +00:00
vr
vx
wds
wi Currently, each wireless networking driver has it's own control program 2001-05-26 09:27:08 +00:00
wl
xe