freebsd-skq/sys/modules
marius f8c9f3a5e2 - Introduce an ofw_bus kobj-interface for retrieving the OFW node and a
subset ("compatible", "device_type", "model" and "name") of the standard
  properties in drivers for devices on Open Firmware supported busses. The
  standard properties "reg", "interrupts" und "address" are not covered by
  this interface because they are only of interest in the respective bridge
  code. There's a remaining standard property "status" which is unclear how
  to support properly but which also isn't used in FreeBSD at present.
  This ofw_bus kobj-interface allows to replace the various (ebus_get_node(),
  ofw_pci_get_node(), etc.) and partially inconsistent (central_get_type()
  vs. sbus_get_device_type(), etc.) existing IVAR ones with a common one.
  This in turn allows to simplify and remove code-duplication in drivers for
  devices that can hang off of more than one OFW supported bus.
- Convert the sparc64 Central, EBus, FHC, PCI and SBus bus drivers and the
  drivers for their children to use the ofw_bus kobj-interface. The IVAR-
  interfaces of the Central, EBus and FHC are entirely replaced by this. The
  PCI bus driver used its own kobj-interface and now also uses the ofw_bus
  one. The IVARs special to the SBus, e.g. for retrieving the burst size,
  remain.
  Beware: this causes an ABI-breakage for modules of drivers which used the
  IVAR-interfaces, i.e. esp(4), hme(4), isp(4) and uart(4), which need to be
  recompiled.
  The style-inconsistencies introduced in some of the bus drivers will be
  fixed by tmm@ in a generic clean-up of the respective drivers later (he
  requested to add the changes in the "new" style).
- Convert the powerpc MacIO bus driver and the drivers for its children to
  use the ofw_bus kobj-interface. This invloves removing the IVARs related
  to the "reg" property which were unused and a leftover from the NetBSD
  origini of the code. There's no ABI-breakage caused by this because none
  of these driver are currently built as modules.
  There are other powerpc bus drivers which can be converted to the ofw_bus
  kobj-interface, e.g. the PCI bus driver, which should be done together
  with converting powerpc to use the OFW PCI code from sparc64.
- Make the SBus and FHC front-end of zs(4) and the sparc64 eeprom(4) take
  advantage of the ofw_bus kobj-interface and simplify them a bit.

Reviewed by:	grehan, tmm
Approved by:	re (scottl)
Discussed with:	tmm
Tested with:	Sun AX1105, AXe, Ultra 2, Ultra 60; PPC cross-build on i386
2004-08-12 17:41:33 +00:00
..
3dfx
aac Revert the use of -g that leaked in. 2003-02-26 06:56:46 +00:00
accf_data
accf_http
acpi Bump WARNS to 2 for all other ACPI drivers and minor cleanup. 2004-08-03 21:27:43 +00:00
agp AGP GART driver for NVIDIA nForce/nForce2 chipsets. 2003-08-23 18:00:31 +00:00
aha
ahb Add the ahb module for old Adaptec 1742 drivers now that eisa bus 2004-06-29 20:50:24 +00:00
aic Move to generating pccarddevs.h on the fly, both for the kernel and 2004-05-26 00:53:10 +00:00
aic7xxx Add eisa_if.h to the list of things to build for new eisa_if.m for the 2004-06-09 21:51:02 +00:00
aio
amd Move the amd(4) driver to it's own directory in preparation for it growing 2002-12-13 22:59:18 +00:00
amr (1) added LSI Logic copyright, and legal line 3 in license, and string 2002-10-18 21:29:14 +00:00
an Move to generating pccarddevs.h on the fly, both for the kernel and 2004-05-26 00:53:10 +00:00
aout
apm Merge PC98 support. 2003-03-25 05:19:18 +00:00
ar Convert Netgraph to use mbuf tags to pass its meta information around. 2004-06-25 19:22:05 +00:00
arcnet - add support for IPX (tested with mount -t nwfs and mars_nwe), 2003-01-24 01:32:20 +00:00
arl Generate opt_inet.h. 2004-03-18 09:45:17 +00:00
asr Fix the build. opt_asr.h is gone. 2004-04-22 02:22:18 +00:00
ath module for Atheros 802.11 driver 2003-06-23 17:02:43 +00:00
ath_hal nitpicking 2003-06-30 05:25:36 +00:00
aue Add usbdevs.h and pccarddevs.h to the build list, as appropriate. This is needed to build as part of world or in src/sys/modules. 2004-06-27 12:33:20 +00:00
awi Move to generating pccarddevs.h on the fly, both for the kernel and 2004-05-26 00:53:10 +00:00
axe Add usbdevs.h and pccarddevs.h to the build list, as appropriate. This is needed to build as part of world or in src/sys/modules. 2004-06-27 12:33:20 +00:00
bfe Add a device driver for the Broadcom BCM4401 ethernet controller, 2003-09-09 18:17:23 +00:00
bge Remove miidevs.h and generate it from miidevs at compile time. 2003-01-19 02:59:34 +00:00
bios Add module infrastructure for 'vpd' and 'smbios' and move 'smbios' 2003-03-29 15:20:45 +00:00
bktr Add a overhaul of the soundchip initialization for the MSP34xx chipsets 2003-08-12 09:45:34 +00:00
bridge o update PFIL_HOOKS support to current API used by netbsd 2003-09-23 17:54:04 +00:00
cam Remove opt_da.h from the Makefile as well. Duplication of the option in 2004-04-19 17:26:46 +00:00
canbepm Add CanBe power management controller support. 2003-02-03 14:46:26 +00:00
canbus Add CanBe power management controller support. 2003-02-03 14:46:26 +00:00
cardbus
cbb
cd9660 - Support for multibyte charsets in LIBICONV. 2003-09-26 20:26:25 +00:00
cd9660_iconv - Support for multibyte charsets in LIBICONV. 2003-09-26 20:26:25 +00:00
ciss - Comment a line which sets CISS_DEBUG by default. 2002-10-27 12:09:51 +00:00
cm
coda Add support for the Coda 6.x venus<->kernel interface. This extends 2003-09-07 07:43:10 +00:00
coda5 Add support for the Coda 6.x venus<->kernel interface. This extends 2003-09-07 07:43:10 +00:00
coff
cp Add support for Cronyx Tau-PCI adapters. 2004-05-05 16:14:00 +00:00
crypto Push m_apply() and m_getptr() up into the colleciton of standard mbuf 2003-12-15 21:49:41 +00:00
cryptodev
cs Move to generating pccarddevs.h on the fly, both for the kernel and 2004-05-26 00:53:10 +00:00
ctau Clean CLEANFILES. 2004-06-23 14:22:14 +00:00
cue Add usbdevs.h and pccarddevs.h to the build list, as appropriate. This is needed to build as part of world or in src/sys/modules. 2004-06-27 12:33:20 +00:00
cx Clean CLEANFILES. 2004-06-23 14:22:14 +00:00
dc
dcons Replace DDB with KDB. 2004-07-13 09:37:49 +00:00
dcons_crom Add dumb console driver and related bits. 2003-10-24 15:44:10 +00:00
de Document compile-time switches here as I'm going to yank them from 2004-07-09 02:38:25 +00:00
digi
dpt Add module infrastructure for 'dpt' driver. 2003-03-29 15:47:13 +00:00
drm bsd.kmod.mk does not deal with manpages anymore. 2004-01-13 11:28:51 +00:00
dummynet
ed Move to generating pccarddevs.h on the fly, both for the kernel and 2004-05-26 00:53:10 +00:00
el
elink Add module infrastructure for elink. 2003-03-29 13:42:20 +00:00
em style.Makefile(5) 2004-06-09 08:27:05 +00:00
en When compiling the module with INVARIANTS we also need INVARIANT_SUPPORT. 2003-08-06 16:01:32 +00:00
ep Add usbdevs.h and pccarddevs.h to the build list, as appropriate. This is needed to build as part of world or in src/sys/modules. 2004-06-27 12:33:20 +00:00
esp - Introduce an ofw_bus kobj-interface for retrieving the OFW node and a 2004-08-12 17:41:33 +00:00
ex Move to generating pccarddevs.h on the fly, both for the kernel and 2004-05-26 00:53:10 +00:00
exca Move to generating pccarddevs.h on the fly, both for the kernel and 2004-05-26 00:53:10 +00:00
ext2fs
fatm Removed -g from CFLAGS. There is a better way to build debugging 2004-02-13 10:11:01 +00:00
fdc Fix the alpha (and others) module build by only building fdc_acpi.c on 2004-07-16 18:37:00 +00:00
fdescfs
fe Move to generating pccarddevs.h on the fly, both for the kernel and 2004-05-26 00:53:10 +00:00
firewire Add fwip module. 2004-07-12 13:13:17 +00:00
fxp
gem Build a gem module, for sparc64 only for now. 2003-01-08 20:40:29 +00:00
geom Due to popular demand, hook up geom_vinum to the build. 2004-08-07 16:16:59 +00:00
gx
harp Removed -g from CFLAGS. There is a better way to build debugging 2004-02-13 10:11:01 +00:00
hatm Removed -g from CFLAGS. There is a better way to build debugging 2004-02-13 10:11:01 +00:00
hfa Include "../Makefile.inc". 2002-11-06 13:41:40 +00:00
hifn fix module building; drivers now require opt_{ubsec,hifn}.h 2003-03-11 23:20:43 +00:00
hme - Introduce an ofw_bus kobj-interface for retrieving the OFW node and a 2004-08-12 17:41:33 +00:00
hpfs
i2c Kill bogus isa compat opt file. 2004-03-15 11:27:39 +00:00
ibcs2
ichwd Add a driver for the watchdog timer function present on the LPC interface 2004-05-11 18:21:38 +00:00
ida ida(4) module. PCI only for now. 2004-01-11 07:01:30 +00:00
idt
ie Add module infrastructure for if_ie. 2003-03-29 13:40:41 +00:00
if_disc
if_ef Removed custom "load" and "unload" targets. 2004-01-19 14:00:26 +00:00
if_faith
if_gif
if_gre Fix a bug whereby the physical endpoints of a gre(4) tunnel would not 2003-11-14 20:58:00 +00:00
if_ndis Move to generating pccarddevs.h on the fly, both for the kernel and 2004-05-26 00:53:10 +00:00
if_ppp
if_sl
if_stf Add opt_mac.h to dependencies for if_stf.c module. 2002-10-20 22:57:22 +00:00
if_tap
if_tun Fix module build by adding options to Makefile. 2003-03-08 21:54:32 +00:00
if_vlan
iir
io Break out the MI part of the /dev/[k]mem and /dev/io drivers into 2004-08-01 11:40:54 +00:00
ip6fw
ip_mroute_mod Hook up opt_mac.h to the build dependencies. The way we currently 2002-10-20 22:59:17 +00:00
ipfilter Recognise NOINET6 as an indication to not build IPv6 enabled source even 2004-06-08 23:52:22 +00:00
ipfw
ips Add the 'ips' driver for the IBM (now Adaptec) ServeRAID controller 2003-05-11 06:36:49 +00:00
isp - Introduce an ofw_bus kobj-interface for retrieving the OFW node and a 2004-08-12 17:41:33 +00:00
ispfw
ixgb style.Makefile(5) 2004-06-09 08:27:05 +00:00
joy Move to generating pccarddevs.h on the fly, both for the kernel and 2004-05-26 00:53:10 +00:00
kue Add usbdevs.h and pccarddevs.h to the build list, as appropriate. This is needed to build as part of world or in src/sys/modules. 2004-06-27 12:33:20 +00:00
lge
libiconv - Support for multibyte charsets in LIBICONV. 2003-09-26 20:26:25 +00:00
libmbpool Add a facility for devices, specifically network interfaces, that require 2003-07-15 08:59:38 +00:00
libmchain libmchain no longer exports m_fixhdr(); remove it from EXPORT_SYMS. 2002-12-14 00:01:51 +00:00
linprocfs o Remove @- from the ln and change it to a -sf. This was bogus, and 2003-11-19 05:08:27 +00:00
linux o Remove @- from the ln and change it to a -sf. This was bogus, and 2003-11-19 05:08:27 +00:00
lnc Removed -g from CFLAGS. There is a better way to build debugging 2004-02-13 10:11:01 +00:00
lpt
mac_biba opt_mac.h is no longer required for any of these modules, remove from 2002-10-22 17:10:15 +00:00
mac_bsdextended
mac_ifoff opt_mac.h is no longer required for any of these modules, remove from 2002-10-22 17:10:15 +00:00
mac_lomac Hook up the mac_lomac module build. 2002-11-26 17:35:44 +00:00
mac_mls opt_mac.h is no longer required for any of these modules, remove from 2002-10-22 17:10:15 +00:00
mac_none opt_mac.h is no longer required for any of these modules, remove from 2002-10-22 17:10:15 +00:00
mac_partition Commit of Makefile missed in earlier pass. 2002-10-24 02:04:03 +00:00
mac_portacl A cute yet small MAC policy that provides a simple ACL mechanism to 2003-03-02 23:01:42 +00:00
mac_seeotheruids
mac_stub Following the repo-copy from src/sys/modules/mac_none/Makefile, 2003-11-11 21:23:54 +00:00
mac_test opt_mac.h is no longer required for any of these modules, remove from 2002-10-22 17:10:15 +00:00
mcd opt_geom.h is no longer required for this module. 2003-03-29 16:13:11 +00:00
md change the name of the md module, to g_md, introduce a define with the 2004-08-09 06:45:20 +00:00
mem Fix module builds for i386 and amd64. 2004-08-04 18:30:31 +00:00
mii Add a PHY driver to support the built-in gigE PHY in the 8169S/8110S 2003-09-11 03:53:46 +00:00
mlx
mly
mpt Add a module for mpt(4). 2002-10-31 19:39:23 +00:00
msdosfs By popular request, add a workaround that allows large (>128GB or so) 2004-07-03 13:22:38 +00:00
msdosfs_iconv - Support for multibyte charsets in LIBICONV. 2003-09-26 20:26:25 +00:00
my
ncp Removed custom "load" and "unload" targets. 2004-01-19 14:00:26 +00:00
ncv Move to generating pccarddevs.h on the fly, both for the kernel and 2004-05-26 00:53:10 +00:00
ndis Add preliminary support for PCMCIA devices in addition to PCI/cardbus. 2004-03-07 02:49:06 +00:00
netgraph Add the module build stuff for the ATM call control module. 2004-08-12 14:58:46 +00:00
nfs4client Change the following environment variables to kernel options: 2004-07-08 22:35:36 +00:00
nfsclient Change the following environment variables to kernel options: 2004-07-08 22:35:36 +00:00
nfsserver Permit MAC policies to instrument the access control decisions for 2002-11-04 15:13:36 +00:00
nge
nmdm Make TTYHOG tunable. 2003-03-05 08:16:29 +00:00
nsp Move to generating pccarddevs.h on the fly, both for the kernel and 2004-05-26 00:53:10 +00:00
ntfs - Support for multibyte charsets in LIBICONV. 2003-09-26 20:26:25 +00:00
ntfs_iconv - Support for multibyte charsets in LIBICONV. 2003-09-26 20:26:25 +00:00
nullfs
nwfs Removed custom "load" and "unload" targets. 2004-01-19 14:00:26 +00:00
oldcard Move to generating pccarddevs.h on the fly, both for the kernel and 2004-05-26 00:53:10 +00:00
oltr Don't build if_iso88025subr.c into the oltr module. 2003-03-15 23:24:17 +00:00
osf1 Removed -g from CFLAGS. There is a better way to build debugging 2004-02-13 10:11:01 +00:00
owi Move to generating pccarddevs.h on the fly, both for the kernel and 2004-05-26 00:53:10 +00:00
patm Removed -g from CFLAGS. There is a better way to build debugging 2004-02-13 10:11:01 +00:00
pccard Move to generating pccarddevs.h on the fly, both for the kernel and 2004-05-26 00:53:10 +00:00
pcfclock
pcic Move to generating pccarddevs.h on the fly, both for the kernel and 2004-05-26 00:53:10 +00:00
pcn
pecoff Removed -g from CFLAGS. There is a better way to build debugging 2004-02-13 10:11:01 +00:00
pf Commit pf version 3.5 and link additional files to the kernel build. 2004-06-16 23:24:02 +00:00
plip
pmc Move adding -DPC98 to CFLAGS from each modules to sys/modules/Makefile.inc. 2002-11-06 13:47:00 +00:00
portalfs
ppbus o Remove @- from the ln and change it to a -sf. This was bogus, and 2003-11-19 05:08:27 +00:00
ppi o Remove @- from the ln and change it to a -sf. This was bogus, and 2003-11-19 05:08:27 +00:00
pps o Remove @- from the ln and change it to a -sf. This was bogus, and 2003-11-19 05:08:27 +00:00
procfs Slightly change the semantics of vnode labels for MAC: rather than 2002-10-26 14:38:24 +00:00
pseudofs
pst Add pst as a module 2003-08-30 08:01:05 +00:00
random Include nehemiah.c only on i386, as is done for the non-modules 2004-04-11 15:40:18 +00:00
ray Move to generating pccarddevs.h on the fly, both for the kernel and 2004-05-26 00:53:10 +00:00
rc Make TTYHOG tunable. 2003-03-05 08:16:29 +00:00
rc4 make rc4 crypto support a module so other modules can depend on it 2003-01-15 19:55:17 +00:00
re Fix PATH: directive in sys/modules/re/Makefile, and add the re(4) driver to 2003-09-08 03:24:29 +00:00
rl
rndtest FIPS 140-2 rng data tester for h/w crypto devices. This driver periodically 2003-03-11 19:26:16 +00:00
rp
rue Add usbdevs.h and pccarddevs.h to the build list, as appropriate. This is needed to build as part of world or in src/sys/modules. 2004-06-27 12:33:20 +00:00
s3
safe SafeNet crypto driver 2003-07-21 21:47:47 +00:00
sbni
sbsh Driver for Granch SBNI16 SHDSL modem 2003-04-13 06:27:13 +00:00
scd - Convert to newbus, bus_space etc. 2002-11-05 09:37:32 +00:00
scsi_low
sem
sf
sio Move to generating pccarddevs.h on the fly, both for the kernel and 2004-05-26 00:53:10 +00:00
sis
sk
smbfs Removed custom "load" and "unload" targets. 2004-01-19 14:00:26 +00:00
sn Move to generating pccarddevs.h on the fly, both for the kernel and 2004-05-26 00:53:10 +00:00
snc
snp
sound Rename the sound device drivers: 2004-07-16 04:00:08 +00:00
speaker 'speaker' not 'atspeaker' 2003-03-29 10:01:03 +00:00
splash Move the source code for these two modules out of src/sys/modules. 2004-08-06 20:37:08 +00:00
sppp
sr Convert Netgraph to use mbuf tags to pass its meta information around. 2004-06-25 19:22:05 +00:00
ste
stg Move to generating pccarddevs.h on the fly, both for the kernel and 2004-05-26 00:53:10 +00:00
streams o Remove @- from the ln and change it to a -sf. This was bogus, and 2003-11-19 05:08:27 +00:00
svr4
sym
syscons Normalize SUBDIR. 2004-01-19 12:36:08 +00:00
sysvipc Include "../Makefile.inc". 2002-11-06 13:41:40 +00:00
ti
tl
trm
twa Changed comments following changes to not bundle firmware by default. 2004-04-10 02:41:22 +00:00
twe
tx Remove miidevs.h and generate it from miidevs at compile time. 2003-01-19 02:59:34 +00:00
txp
uart - Introduce an ofw_bus kobj-interface for retrieving the OFW node and a 2004-08-12 17:41:33 +00:00
ubsa Add usbdevs.h and pccarddevs.h to the build list, as appropriate. This is needed to build as part of world or in src/sys/modules. 2004-06-27 12:33:20 +00:00
ubsec fix module building; drivers now require opt_{ubsec,hifn}.h 2003-03-11 23:20:43 +00:00
ubser Add usbdevs.h and pccarddevs.h to the build list, as appropriate. This is needed to build as part of world or in src/sys/modules. 2004-06-27 12:33:20 +00:00
ucom Add usbdevs.h and pccarddevs.h to the build list, as appropriate. This is needed to build as part of world or in src/sys/modules. 2004-06-27 12:33:20 +00:00
udav Add usbdevs.h and pccarddevs.h to the build list, as appropriate. This is needed to build as part of world or in src/sys/modules. 2004-06-27 12:33:20 +00:00
udbp Add usbdevs.h and pccarddevs.h to the build list, as appropriate. This is needed to build as part of world or in src/sys/modules. 2004-06-27 12:33:20 +00:00
udf bsd.kmod.mk does not deal with manpages anymore. 2004-01-13 11:28:51 +00:00
udf_iconv Add the Makefile glue for the udf_iconv module. 2003-11-07 09:38:05 +00:00
ufm Add usbdevs.h and pccarddevs.h to the build list, as appropriate. This is needed to build as part of world or in src/sys/modules. 2004-06-27 12:33:20 +00:00
ufs Add a few missing opt_ files to make this module compile again. 2003-06-23 19:41:00 +00:00
uftdi Add usbdevs.h and pccarddevs.h to the build list, as appropriate. This is needed to build as part of world or in src/sys/modules. 2004-06-27 12:33:20 +00:00
ugen Add usbdevs.h and pccarddevs.h to the build list, as appropriate. This is needed to build as part of world or in src/sys/modules. 2004-06-27 12:33:20 +00:00
uhid Add usbdevs.h and pccarddevs.h to the build list, as appropriate. This is needed to build as part of world or in src/sys/modules. 2004-06-27 12:33:20 +00:00
ukbd Add usbdevs.h and pccarddevs.h to the build list, as appropriate. This is needed to build as part of world or in src/sys/modules. 2004-06-27 12:33:20 +00:00
ulpt Add usbdevs.h and pccarddevs.h to the build list, as appropriate. This is needed to build as part of world or in src/sys/modules. 2004-06-27 12:33:20 +00:00
umapfs
umass Add usbdevs.h and pccarddevs.h to the build list, as appropriate. This is needed to build as part of world or in src/sys/modules. 2004-06-27 12:33:20 +00:00
umct Add usbdevs.h and pccarddevs.h to the build list, as appropriate. This is needed to build as part of world or in src/sys/modules. 2004-06-27 12:33:20 +00:00
umodem Add usbdevs.h and pccarddevs.h to the build list, as appropriate. This is needed to build as part of world or in src/sys/modules. 2004-06-27 12:33:20 +00:00
ums Add usbdevs.h and pccarddevs.h to the build list, as appropriate. This is needed to build as part of world or in src/sys/modules. 2004-06-27 12:33:20 +00:00
unionfs
uplcom Add usbdevs.h and pccarddevs.h to the build list, as appropriate. This is needed to build as part of world or in src/sys/modules. 2004-06-27 12:33:20 +00:00
urio Add usbdevs.h and pccarddevs.h to the build list, as appropriate. This is needed to build as part of world or in src/sys/modules. 2004-06-27 12:33:20 +00:00
usb Remove stray line with just a tab 2004-07-12 21:59:06 +00:00
uscanner Add usbdevs.h and pccarddevs.h to the build list, as appropriate. This is needed to build as part of world or in src/sys/modules. 2004-06-27 12:33:20 +00:00
utopia This is a driver for the physical layer chips used in ATM interfaces. 2003-06-12 14:28:32 +00:00
uvisor Add usbdevs.h and pccarddevs.h to the build list, as appropriate. This is needed to build as part of world or in src/sys/modules. 2004-06-27 12:33:20 +00:00
uvscom Add usbdevs.h and pccarddevs.h to the build list, as appropriate. This is needed to build as part of world or in src/sys/modules. 2004-06-27 12:33:20 +00:00
vesa
vinum Remove these files. They have successors in tools/debugscripts. 2003-06-12 23:30:57 +00:00
vpo
vr
vx Add eisa_if.h 2004-06-09 21:52:12 +00:00
wb
wi Move to generating pccarddevs.h on the fly, both for the kernel and 2004-05-26 00:53:10 +00:00
wlan Fix module build during buildworld with MODULES_WITH_WORLD defined. 2004-04-10 19:41:15 +00:00
xe Move to generating pccarddevs.h on the fly, both for the kernel and 2004-05-26 00:53:10 +00:00
xl
zlib Give zlib the ability to be a module that can be depended on, 2004-06-20 17:42:35 +00:00
Makefile Making a loadable null.ko for /dev/(null|zero) proved rather 2004-08-03 19:24:54 +00:00
Makefile.inc Move adding -DPC98 to CFLAGS from each modules to sys/modules/Makefile.inc. 2002-11-06 13:47:00 +00:00