Commit graph

391 commits

Author SHA1 Message Date
Robert Watson f7883a793c Correct alphabetization of awi entry.
Inane act of:	re
Spotted by:	bde
2002-12-08 17:59:44 +00:00
Robert Watson e6f88402ff Move the awi module build dependency into the MACHINE_ARCH=i386 entry. 2002-12-08 03:55:35 +00:00
Robert Watson 3358dbd039 Hook up the awi module for build on i386 and pc98, which appear to be
the supported platforms.  We build it into GENERIC, and it is currently
listed on the supported module list for drivers.conf on i386, which
breaks the release build.  This may fix the release build for RC1 on
i386.

Conspiracy of:	re
2002-12-07 14:06:56 +00:00
Robert Watson c3a04e1ea4 Unhook the old LOMAC module, now replaced with mac_lomac.
Approved by:	re (jhb)
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-12-03 15:12:36 +00:00
Robert Watson fe5f892d58 Unhook LOMAC kernel module since the functionality is now provided by
the smaller, cleaner, less bit-rotted mac_lomac module.

Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-11-26 17:53:27 +00:00
Robert Watson 5773cccf19 Hook up the mac_lomac module build.
Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-11-26 17:35:44 +00:00
Scott Long 147e2e207e Hook the RAIDFrame module up to the build
Approved by:	re
2002-11-21 14:52:20 +00:00
John Baldwin f6af4ff6cb Make 3dfx i386-only. The memrange API it uses may be defined in an MI
header, but it is only implemented on i386.
2002-11-08 20:04:38 +00:00
John Baldwin 787f149830 Move rc(4) over to MI notes and enable it as a MI module. 2002-11-08 19:34:26 +00:00
John Baldwin 7d2ba89bbf Move firewire back to being MI. 2002-11-07 16:19:43 +00:00
John Baldwin 01c8945ca3 Create a MACHINE_ARCH == i386 section that first lists modules common
to both i386 and pc98 and then uses MACHINE subsections to list modules
specific to i386/i386 and i386/pc98.
2002-11-07 15:01:12 +00:00
John Baldwin 246d578cba lnc(4) uses kvtop() and is thus i386-only for now. 2002-11-06 22:56:57 +00:00
John Baldwin c8341b3e2d Make firewire i386-only for now. It doesn't quite handle machines with
64-bit address spaces yet.  Pointy hat to myself for sticking it in the MI
NOTES file to begin with.
2002-11-06 22:30:33 +00:00
John Baldwin b76c5a11e5 ed(4) uses kvtop() and is thus i386-only. It has several other warnings
related to sizeof(int) != sizeof(void *), but kvtop() is much harder to
fix.

Approved by:	imp
2002-11-06 22:03:53 +00:00
Scott Long fb404d6fcf Hook the aic7xxx modules up. This requires some extra care since aicasm
is a compiler tool and needs to be compiled by the host compiler.  I've
tested this in i386->sparc cross-build, 4.7->current upgrade, normal
buildkernel target, and normal /sys/i386/compile/GENERIC configurations.

Submitted by:	ru
2002-11-03 23:48:14 +00:00
John Baldwin 97af632bcb Add an isp(4) module. sbus support is only compiled in on sparc64.
pci support is always compiled in.
2002-10-31 19:50:18 +00:00
John Baldwin bc96e1c7cf Add a module for mpt(4). 2002-10-31 19:39:23 +00:00
Yoshihiro Takahashi d2f5398613 Rename the speaker device for pc98 to 'pcspeaker'. 2002-10-31 05:19:33 +00:00
Marcel Moolenaar 8c7cf505d7 Build the following modules on ia64 as well:
ar, asr, bktr, cardbus, cbb, ep, exca, hea, hfa, ipfilter, lomac,
netgraph, pccard, rc, sound, sppp, vinum.
2002-10-24 07:16:24 +00:00
Robert Watson 5136300015 Provide a simple sample labeled access control policy, mac_partition.
This policy can be loaded dynamically, and assigns each process a
partition number, as well as permitting processes to operate outside
the partition.  Processes contained in a partition can only "see"
processes inside the same partition, so it's a little like jail.
The partition of a user can be set using the label mechanisms in
login.conf.  This sample policy is a good starting point for developers
wanting to learn about how to produce labeled policies, as it labels
only one kernel object, the process credential.

PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-10-23 23:36:26 +00:00
John Baldwin 599c57a971 - New-bussify the rc(4) device driver.
- Add detach support to the driver so that you can kldunload the module.
  Note that currently rc_detach() fails to detach a unit if any of its
  child devices are open, thus a kldunload will fail if any of the tty
  devices are currently open.
- sys/i386/isa/ic/cd180.h was moved to sys/dev/ic/cd180.h as part of
  this change.

Requested by:	rwatson
Tested by:	rwatson
2002-10-23 15:53:09 +00:00
Bruce Evans 42d6ed038e Fixed some unsorting. 2002-10-21 00:38:18 +00:00
Alexander Kabaev 51d123d69b Connect ubsa module to build.
Forgotten by:	kan
2002-10-20 20:35:14 +00:00
Mark Murray f544a52873 Module-ize the 'core' crypto stuff. This may still need to be compiled
into the kernel by default (if required), but other modules can now
depend() on this.

Fix inter-module dependancy.

Earlier version OK'ed by:	sam
2002-10-16 14:31:34 +00:00
Yoshihiro Takahashi 0921c98b22 The ep and pccard modules build on pc98. 2002-10-14 10:15:01 +00:00
Olivier Houchard f3d92b269c Connect trm(4) to the build.
Reviewed by:	mux (mentor)
Approved by:	mux (mentor)
2002-10-13 18:44:26 +00:00
Alfred Perlstein 34c3b2ca51 Disconnect "sem" module from the build. 2002-10-07 04:08:07 +00:00
Maxime Henrion 86597d47cb Oops. Actually connect back msdosfs to the build for every platform.
Spotted by:	bde
2002-10-06 08:07:40 +00:00
Maxime Henrion ba7fd983ae The msdosfs module now builds on sparc64. No idea if it works
though.
2002-10-05 20:18:34 +00:00
Sam Leffler 8b7ce2ff52 hookup new crypto support to the config/build process 2002-10-04 20:42:36 +00:00
Matthew N. Dodd e73b093aa9 Turn on the mcd(4) module. 2002-10-04 07:15:34 +00:00
Jake Burkholder aa98088877 Moved the cam and cd9660 modules to the MI list. Don't build msdosfs or
syscons on sparc64; msdosfs will likely never work, syscons needs work.
2002-10-01 19:05:18 +00:00
Warner Losh 9d3b5ef85f need exca too 2002-10-01 06:10:11 +00:00
Warner Losh 4e54e04e18 Add cardbus, cbb, ep and pccard. These can likely be moved to the MI
section, but I've not had a chance to build them on other
architectures recently enough to add them.
2002-09-26 05:54:24 +00:00
Hidetoshi Shimokawa bddcb995cd Firewire can be built on other than i386 after sbp.c fix.
Tested on: Alpha (beast.freebsd.org)
2002-09-21 15:22:09 +00:00
Alfred Perlstein 6d5dec35b7 Add the rest of the kernel support for the sem_ API in kern/uipc_sem.c.
Option 'P1003_1B_SEMAPHORES' to compile them in, or load the "sem" module
to activate them.

Have kern/makesyscalls.sh emit an include for sys/_semaphore.h into sysproto.h
to pull in the typedef for semid_t.

Add the syscalls to the syscall table as module stubs.
2002-09-19 00:43:32 +00:00
Yoshihiro Takahashi 3729f1a5a4 Don't build unneeded modules for pc98. 2002-09-16 08:32:48 +00:00
Matt Jacob 9fb117143b Put firewire under architectures it actually might conceivably
build on, let alone actually do some useful work on real hardware.

Namely, put it in i386/pc98. There is no bus_dma.h on the other architecures,
tra la.
2002-09-14 02:05:33 +00:00
Katsushi Kobayashi f3a49419c0 Add firewire module 2002-09-13 12:42:57 +00:00
Peter Wemm 7edc064038 Add the aout module subdir for the i386. 2002-09-07 01:31:38 +00:00
Maxim Sobolev b5e8c7d783 Connect if_gre module to the build. 2002-09-06 17:18:53 +00:00
Justin T. Gibbs 3251b39822 Remove aic7xxx from the module build framework until all bootstrapping
issues are resolved.
2002-09-03 16:54:48 +00:00
Justin T. Gibbs 02b8bc8062 Complete the hookup of ahd/ahc module building. 2002-08-31 06:57:50 +00:00
Yoshihiro Takahashi 48093d339b Remove duplicate vinum entry. 2002-08-20 14:41:44 +00:00
Josef Karthauser 31f48889ad Add the uftdi ucom driver which supports the following adapters:
Inland UAS111
	QVS USC-1000
	HP USB-Serial adapter shipped with some HP laptops

Submitted by:	takawata
MFC After:	7 days
2002-08-11 23:32:33 +00:00
Robert Watson ebbd4fa8c8 Introduce support for Mandatory Access Control and extensible
kernel access control.

Hook up various policy modules to the kernel build.

Note that a number of these modules require futher entry point commits
in the remainder of the kernel to become fully functional, but enough
of the pieces are in place to allow experimentation.

Note also that it would be desirable to not build the mac_*.ko modules
if 'options MAC' is not defined in the kernel configuration, because
the resulting modules are not useful without the kernel option.  There
doesn't appear to be precedent for a way to do this -- for example,
we allow ipfw.ko to be built even if 'options NETINET' isn't defined.
Suggests welcomed on the "best" way to do this.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-08-01 17:41:27 +00:00
Josef Karthauser ca095220db Commit a version of the uvisor driver for connecting Handspring
Visors via USB.

Submitted by:	Chia-liang Kao <clkao@clkao.org>
2002-07-30 17:44:28 +00:00
Matthew N. Dodd 3a6cbf0164 - Add 'hea'.
- Compile 'hfa' only on i386 (for now).
2002-06-03 09:13:22 +00:00
Marcel Moolenaar ea71f12b92 Remove bktr for ia64. Same problem as vinum. See PR 38678. 2002-05-29 05:09:51 +00:00
Marcel Moolenaar ed323145fe Vinum doesn't build on ia64.
See PR: 38678
2002-05-29 04:51:14 +00:00
Marcel Moolenaar 2cbf3dd11a Remove asr from the ia64 build. Its use of KERNBASE appears i386
specific by way of which headers are being included (and headers
not included).
2002-05-19 03:59:06 +00:00
Ruslan Ermilov be1d673d24 Check that kldxref(8) exists before running it. 2002-05-14 07:49:12 +00:00
Dag-Erling Smørgrav afe18bfe77 Move drm to the i386-only section. 2002-04-28 19:21:48 +00:00
Eric Anholt 67a2a28fe4 Hook the DRM up to the build and add it to NOTES.
Approved by:	des
2002-04-28 04:58:40 +00:00
Marcel Moolenaar 3adcb4ce38 Build modules on ia64:
o  Make the cam, cd9660 lomac and sound modules i386 and alpha
   specific due to link problems (@gprel relocation when @ltoff
   is required).  Once resolved, these can be moved back to the
   generic list.
o  Build linprocfs only on those architectures that have the
   linux module.
o  Make the sppp module i386 and alpha specific due to compile
   problems (pointers as switch cases). Once resolved, this can
   be moved back to the generic list.
o  Build all i386 specific modules, with the exception of those
   mentioned above as being moved from the generic list to the
   i386 list and those with dependencies on the linux module (aac)
   or i386 dependent (ar, apm, atspeaker, fpu, gnufpu, ibcs2,
   linux, ncv, nsp, netgraph, oltr, pecoff, s3, sbni, stg and
   vesa).
o  Don't build acpi as a module yet. It most be ported first.
   Once ported, it can be added to the ia64 list.
o  Don't build ipfilter yet due to compile errors (osreldate.h
   not found).
2002-04-19 09:44:50 +00:00
Matthew N. Dodd 906cf7526c - Convert the 'hfa' ATM interface driver to newbus.
- Add stubs for EISA and SBUS cards.
  (VME, FutureBUS, and TurboChannel stubs not provided.)
- Add infrastructure to build driver and bus front-end modules.
2002-04-17 00:26:09 +00:00
Scott Long df263cbd02 Add a filesystem driver for the Universal Disk Format. For more info,
see http://people.freebsd.org/~scottl/udf

 MFC after:	when asmodai gets the backport done
 Prodded by:	phk asmodai des
2002-04-14 16:36:49 +00:00
Ruslan Ermilov 7a43a96ab0 Replaced hacks in sbin/Makefile,v 1.99 and usr.sbin/Makefile,v 1.217
with the NO_IPFILTER make.conf(5) knob.

(So that we can "make the-rest-of-the-world" again.)
2002-03-21 09:15:39 +00:00
Josef Karthauser 916e6e02e5 Add a USB comm driver.
Ported from NetBSD by:	akiyama
2002-03-18 18:23:42 +00:00
Alfred Perlstein 63c6b757ab Support for USB fm radio.
Submitted by: David Yeske <dyeske@yahoo.com>
2002-03-04 03:51:21 +00:00
Takeshi Shibagaki 550acacb35 Add a module of xe driver.
Approved by: imp
2002-02-20 15:00:34 +00:00
Poul-Henning Kamp 5a7ed3fb13 Always build all modules for LINT 2002-02-17 21:00:20 +00:00
Dag-Erling Smørgrav 3fd18735a4 Move the pseudofs, procfs and linprocfs modules out from the fs directory.
Keeping them there seemed like a good idea at the time, but it annoys bde
and confuses people who do not understand how MODULES_OVERRIDE works.
2002-02-04 20:16:50 +00:00
Mike Smith a245737c51 Add the 'iir' driver, for the Intel Integrated RAID controllers and
prior ICP Vortex models.  This driver was developed by Achim Leubner
of Intel (previously with ICP Vortex) and Boji Kannanthanam of Intel.

Submitted by:	"Kannanthanam, Boji T" <boji.t.kannanthanam@intel.com>
MFC after:	2 weeks
2002-01-20 08:51:08 +00:00
Max Khon eda6ecb22a - generic Arcnet framework
- device driver for SMC COM90cx6 Arcnet network adapters

Obtained from:	NetBSD
2002-01-08 20:03:13 +00:00
Alfred Perlstein 21d56e9c33 Make AIO a loadable module.
Remove the explicit call to aio_proc_rundown() from exit1(), instead AIO
will use at_exit(9).

Add functions at_exec(9), rm_at_exec(9) which function nearly the
same as at_exec(9) and rm_at_exec(9), these functions are called
on behalf of modules at the time of execve(2) after the image
activator has run.

Use a modified version of tegge's suggestion via at_exec(9) to close
an exploitable race in AIO.

Fix SYSCALL_MODULE_HELPER such that it's archetecuterally neutral,
the problem was that one had to pass it a paramater indicating the
number of arguments which were actually the number of "int".  Fix
it by using an inline version of the AS macro against the syscall
arguments.  (AS should be available globally but we'll get to that
later.)

Add a primative system for dynamically adding kqueue ops, it's really
not as sophisticated as it should be, but I'll discuss with jlemon when
he's around.
2001-12-29 07:13:47 +00:00
Prafulla Deuskar 8bf402ad91 -Remove unneeded include stddef.h
-Modify modules Makefile so that em driver compiles only on
i386 platform. (Alpha not supported yet)

PR:	kern/32993
MFC after:	1
2001-12-20 17:55:49 +00:00
Noriaki Mitsunaga 1e83e65c8b Add modules of scsi_low based SCSI drivers ncv, nsp, stg, and common
part scsi_low.

Submitted-by: takawata
2001-12-15 12:44:38 +00:00
Sheldon Hearn 0e3b6d50d4 Connect libiconv to the build.
Recent work by fjoe and bp has fixed smbfs.  The smbfs module
can now be loaded once libiconv and libmchain have been loaded,
and works!
2001-12-12 10:11:16 +00:00
Dag-Erling Smørgrav 3a669c52a8 Pseudofsize procfs(5). 2001-12-04 01:35:06 +00:00
Boris Popov 2985f5726b Enable build of smbfs. It works now as before on both UP and MP machines. 2001-12-02 09:01:35 +00:00
Prafulla Deuskar e6770f4c46 This is the first commit of the Intel gigabit driver for
PRO/1000 cards.

Submitted by:Prafulla Deuskar
Reviewed by: Paul Saab
MFC after:1 week
2001-12-02 07:37:17 +00:00
Mike Smith bd21bbea4b Re-enable the ciss driver, now that it should be building again. 2001-12-02 06:19:15 +00:00
Warner Losh ddecf579ce Remove ciss from the modules build until the build issues are resolved. 2001-11-28 17:08:51 +00:00
Mike Smith 3a31b7eb32 Add the 'ciss' driver, which supports the Compaq SmartRAID 5* family of
RAID controllers (5300, 532, 5i, etc.)

Thanks to Compaq and Yahoo! for support during the development of this
driver.

MFC after:	1 week
2001-11-27 23:08:37 +00:00
Max Khon ea38b939e8 Add driver for Granch SBNI12-xx ISA and PCI network adapters.
MFC after:	1 week
2001-11-21 22:29:35 +00:00
Brian Feldman 6fba85a0cf The "lomac" module compiles fine on Alpha, too.
Tested by:	wilko
2001-11-19 20:25:55 +00:00
Brian Feldman a066b1c1d5 Add module "lomac" to the modules Makefile, i386 section. If someone on
Alpha can verify that it compiles fine there, too, this should be moved
to the MI section (or that problem fixed); I've only had x86 hardware to
est with.

Sponsored by:	DARPA, NAI Labs (CBOSS project)
2001-11-19 18:15:12 +00:00
Poul-Henning Kamp 1b6c258916 Add modules for lpt, plip, ppbus, ppi and pps.
Submitted by:    j mckitrick <jcm@freebsd-uk.eu.org>
2001-11-03 08:20:44 +00:00
Yoshihiro Takahashi f4d25d1d62 Remove duplicate apm entry for pc98 2001-10-28 04:34:24 +00:00
Matt Jacob 888ef2d923 Unbreak alpha builds. 2001-10-24 18:45:35 +00:00
Hajimu UMEMOTO a55dfa2ac1 Make apm a module.
We need further work to be able to specify an equivalence of `flags 0x20'.
Many PCs should work for now.  But, some PCs need `flags 0x20'.
2001-10-24 16:53:54 +00:00
Yoshihiro Takahashi 6cac891491 Added the pmc driver which supports power management controller of
old NEC PC-98NOTE.

Submitted by:	chi@bd.mbn.or.jp (Chiharu Shibata)
MFC after:	1 week
2001-10-24 14:46:40 +00:00
Matt Jacob 0ba15d27f7 Oops. Remove wx. 2001-10-20 20:21:34 +00:00
Marcel Moolenaar 0a622d8291 Build the linux module on Alpha again. Note that the linux module
is not added to the MI list of modules. The current state of
affairs is such that the linux module is the exception, not the
common case.
2001-10-19 08:33:56 +00:00
Matt Jacob f1ef0a68b0 Linux compiles broken on alpha again. Remove. 2001-10-19 05:04:02 +00:00
Jonathan Lemon f8a984ed0d Hook the gx module up to the build. 2001-10-19 02:21:16 +00:00
Paul Saab 8c4026b54f Activate the bridge/dummynet modules.
Reminded by:	ru
2001-10-05 07:09:27 +00:00
Bill Paul 95d674824f Add device driver support for the Broadcom BCM570x family of gigabit
ethernet controllers. This adds support for the 3Com 3c996-T, the
SysKonnect SK-9D21 and SK-9D41, and the built-in gigE NICs on
Dell PowerEdge 2550 servers. The latter configuration hauls ass:
preliminary measurements show TCP speeds of over 900Mbps using
only normal size frames.

TCP/IP checksum offload, jumbo frames and VLAN tag insertion/stripping
are supported, as well as interrupt moderation.

Still need to fix autonegotiation support for 1000baseSX NICs, but
beyond that, driver is pretty solid.
2001-09-27 23:55:28 +00:00
Brooks Davis 9494d5968f Make faith loadable, unloadable, and clonable. 2001-09-25 18:40:52 +00:00
Ruslan Ermilov 5e82ed7b23 Only call kldxref(8) once, after installing all modules.
OK'ed by:	peter
2001-09-21 11:21:06 +00:00
Peter Wemm eb25edbda3 Cleanup and split of nfs client and server code.
This builds on the top of several repo-copies.
2001-09-18 23:32:09 +00:00
Michael Reifenberger 87954c66e9 Conditionalize building of ex2fs module by WANT_EXT2FS_MODULE 2001-09-15 09:35:10 +00:00
Michael Reifenberger 1956b8f9bf Add ext2fs module 2001-09-13 08:27:23 +00:00
Julian Elischer b40ce4165d KSE Milestone 2
Note ALL MODULES MUST BE RECOMPILED
make the kernel aware that there are smaller units of scheduling than the
process. (but only allow one thread per process at this time).
This is functionally equivalent to teh previousl -current except
that there is a thread associated with each process.

Sorry john! (your next MFC will be a doosie!)

Reviewed by: peter@freebsd.org, dillon@freebsd.org

X-MFC after:    ha ha ha ha
2001-09-12 08:38:13 +00:00
Brooks Davis 214bfc9759 Attach if_vlan to the build process. 2001-09-05 23:47:46 +00:00
Takeshi Shibagaki daee21d1b4 Make the fe driver kernel object module to compile in default.
Reviewed by: imp
2001-09-02 06:43:45 +00:00
Mike Smith 3ca509eaca Build the ACPI module by default. 2001-08-30 00:55:22 +00:00
Bill Fenner fffcbbcd94 Unbreak ip_mroute_mod 2001-07-25 20:15:17 +00:00
Matt Jacob d567d6183a Move netgraph to i386 only. Which is where it works only. 2001-07-25 00:20:33 +00:00
Bill Paul 362c5c1e02 You were knocked senseless by the Boomerang, spun around by the Cyclone,
blown over by the Hurricane and had a house dropped on you by the Tornado.
Now it's time to have your parade rained on by... the Typhoon!

This commit adds driver support for 3Com 3cR990 10/100 ethernet
adapters based on the Typhoon I and Typhoon II chipsets. This is actually
a port of the OpenBSD driver with many hacks by me.

No Virginia, there isn't any support for the hardware crypto yet. However
there is support for TCP/IP checksum offload and VLANs.

Special thanks go to Jason Wright, Aaron Campbell and Theo de Raadt for
squeezing enough info out of 3Com to get this written, and for doing
most of the hard work.

Manual page is included. Compiled as a module and included in GENERIC.
2001-07-23 20:44:54 +00:00
Brooks Davis 09261c4f2f Put module directories one per line so adding new modules creates readable
diffs and produces less conflicts with local source trees.
2001-07-15 04:55:37 +00:00
Julian Elischer 8ff09ab3a9 turn on the null-modem device.
(I've been using it with vmware for over a year now.)
2001-07-08 04:17:26 +00:00
Brooks Davis 53dab5fe7b gif(4) and stf(4) modernization:
- Remove gif dependencies from stf.
 - Make gif and stf into modules
 - Make gif cloneable.

PR:		kern/27983
Reviewed by:	ru, ume
Obtained from:	NetBSD
MFC after:	1 week
2001-07-02 21:02:09 +00:00
Joerg Wunsch e219897a2a First stab at fixing resource deallocation, and implementing fdc(4) as
a KLD.  Still doesn't work well except in the PCMCIA case (now if only
pccardd(8) could load and unload drivers dynamically...).  Mainly, it
tries to find fdc0 on the PCI bus for whatever obscure reasons, but i
need someone who understands driver(9) to fix this.  However, it's at least
already better than before, and i'm tired of maintaining too many private
changes in my tree, given the large patches bde submitted. :)

Idea of a KLD triggered by:	Michael Reifenberger <root@nihil.plaut.de>
2001-06-29 07:36:29 +00:00
Dima Dorfman dc9ffb125c Remove dgm module.
Forgotten by:	brian
2001-06-28 06:41:23 +00:00
Joerg Wunsch c45b4c1e58 Implement a loadable module for the oltr Olicom Token Ring driver. I
could only get a chance of testing it under 4.3, but together with the
if_oltr.c fixes at least it seems to work now.  If someone has the chance
to test this under -current, please do.

Unfortunaltey, the TR code itself (if_iso88025subr.c) is not written
in a way that would allow to make a seaparate KLD out of it.  By now,
just link it directly into the oltr KLD since it's probably the POLA
to be able to load the TR code together with the only TR hardware
driver we've got by now.

I've got one single unexplained panic (in doreti_switch or somewhere
there, calling a 0xc1XXXXXX address that did no longer belong to the
kernel at all) after unloading the modules once, thus i don't propose
a MFC of this module despite my testing has been done solely on 4.3,
unless someone is really going to test this stuff in -current.
2001-06-14 15:16:04 +00:00
Dag-Erling Smørgrav 1d6286d833 Disconnect linprocfs prior to moving it. 2001-06-10 23:20:38 +00:00
Dag-Erling Smørgrav 373c5169ca Connect the fs directory to the build. 2001-06-10 19:16:18 +00:00
Bill Paul c678bc4f13 Add device driver support for the Level 1 LXT1001 NetCellerator
gigabit ethernet controller chip. This device is used on some
fiber optic gigE cards from SMC, D-Link and Addtron. Jumbograms and
TCP/IP checksum offload on receive are supported. Hardware VLAN
filtering is not, because it doesn't play well with our existing
VLAN code. Also add manual page.

There is a 4.x version of this driver available at
http://www.freebsd.org/~wpaul/Level1/4.x if anyone feels adventurous
and wants to test it. I still need to do performance testing and
tuning with this device.

(For my next trick, I will make the 3Com 3cR990 sit up and beg.)
2001-05-31 21:44:26 +00:00
Doug Barton 3259d3fb9e Don't ask to build something that doesn't exist anymore. 2001-05-30 06:24:47 +00:00
Ruslan Ermilov 1166fb516b - sys/msdosfs moved to sys/fs/msdosfs
- msdos.ko renamed to msdosfs.ko
- /usr/include/msdosfs moved to /usr/include/fs/msdosfs
2001-05-25 08:14:14 +00:00
Dima Dorfman 636b9e70d2 Build snp(4) as a module. 2001-05-23 23:33:08 +00:00
Ruslan Ermilov 99d300a1ec - FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION file
systems were repo-copied from sys/miscfs to sys/fs.

- Renamed the following file systems and their modules:
  fdesc -> fdescfs, portal -> portalfs, union -> unionfs.

- Renamed corresponding kernel options:
  FDESC -> FDESCFS, PORTAL -> PORTALFS, UNION -> UNIONFS.

- Install header files for the above file systems.

- Removed bogus -I${.CURDIR}/../../sys CFLAGS from userland
  Makefiles.
2001-05-23 09:42:29 +00:00
Bill Paul ce4946daa5 Add support for gigabit ethernet cards based on the NatSemi DP83820
and DP83821 gigabit ethernet MAC chips and the NatSemi DP83861 10/100/1000
copper PHY. There are a whole bunch of very low cost cards available with
this chipset selling for $150USD or less. This includes the SMC9462TX,
D-Link DGE-500T, Asante GigaNIX 1000TA and 1000TPC, and a couple cards
from Addtron.

This chip supports TCP/IP checksum offload, VLAN tagging/insertion.
2048-bit multicast filter, jumbograms and has 8K TX and 32K RX FIFOs.
I have not done serious performance testing with this driver. I know
it works, and I want it under CVS control so I can keep tabs on it.
Note that there's no serious mutex stuff in here yet either: I need
to talk more with jhb to figure out the right way to do this. That
said, I don't think there will be any problems.

This driver should also work on the alpha. It's not turned on in
GENERIC.
2001-05-11 19:56:39 +00:00
Brian Somers ad01e0c856 Add a ``digi'' driver.
This driver supports PCI Xr-based and ISA Xem Digiboard cards.
dgm will go away soon if there are no problems reported.  For now,
configuring dgm into your kernel warns that you should be using
digi.  This driver is probably close to supporting Xi, Xe and Xeve
cards, but I wouldn't expect them to work properly (hardware
donations welcome).

The digi_* pseudo-drivers are not drivers themselves but contain
the BIOS and FEP/OS binaries for various digiboard cards and are
auto-loaded and auto-unloaded by the digi driver at initialisation
time.  They *may* be configured into the kernel, but waste a lot
of space if they are.  They're intended to be left as modules.

The digictl program is (mainly) used to re-initialise cards that
have external port modules attached such as the PC/Xem.
2001-05-02 01:08:09 +00:00
Sheldon Hearn 4721e8a849 Revert previous delta, which was completely bogus.
The perceived problem was the symptom of a local error.
2001-04-24 12:30:49 +00:00
Sheldon Hearn da82ff05af Disconnect linux from the build. The buildkernel target has been
breaking on linux for more than two days because sys_exit_args
referenced in linux_sysent.c does not exist.
2001-04-24 08:56:42 +00:00
Brian Somers fa9a4c8a8d dgm now builds as a module 2001-04-14 15:36:45 +00:00
Boris Popov e59572b595 Add smbfs module. Currently it includes smbfs, netsmb and DES parts.
Kernel should be compiled with options LIBMCHAIN and LIBICONV.
2001-04-13 12:11:19 +00:00
Warner Losh 581a68a232 Add support for MODULES_OVERRIDE. This is a list of modules to build
instead of all of them.  You can put this in /etc/make.conf or in
makeoptions.

Reviewed by: arch@

# docs to follow.
2001-04-02 08:52:05 +00:00
Poul-Henning Kamp a3e862d902 Remove vn(4) driver. 2001-03-09 20:10:35 +00:00
Boris Popov d8589bd5cb Introduce API for sequential reads/writes (build/dissect) of mbuf chains.
Reviewed by:	Ian Dowse <iedowse@maths.tcd.ie>,
		Bosko Milekic <bmilekic@technokratis.com>,
		Julian Elischer <julian@elischer.org> and arch@/net@
Obtained from:	smbfs
2001-02-24 15:44:30 +00:00
Jonathan Lemon da33b5e745 Hook up the linux module for alpha again.
Approved by:	beast
2001-02-20 02:19:01 +00:00
Matt Jacob 28b2e25674 Move linux to i386 only until it gets fixed for alpha (again). 2001-02-19 21:20:33 +00:00
Dag-Erling Smørgrav fa20d78387 KLDify the "speaker" device (which calls itself atspeaker internally, and
is i386-specific, so name the module atspeaker rather than speaker).
2001-02-01 16:39:34 +00:00
John Hay 01b96fdf9e Make klds for the ar and sr devices and hook them up.
The normal versions are called if_ar.ko and if_sr.ko and the netgraph
versions ng_sync_ar.ko and ng_sync_sr.ko.
2001-01-30 10:20:43 +00:00
Brian Feldman 7dd1f91a70 Evidently, svr4 is broken at the moment. Disconnect the build to prevent
Bad Things from unsuspecting module loaders.
2001-01-09 04:56:53 +00:00
Nicolas Souchu c05aa33cb0 Add the VESA S3 linear framebuffer driver. It works on top of VESA by replacing
the video switch by another. Exactly as VESA does on top of VGA.

It adds linear framebuffer to S3 VESA 1.2 cards.

Obtained from:	The original S3 ISA code comes from
                Peter Horton <pdh@colonel-panic.com>
2001-01-05 16:53:10 +00:00
John Hay 121a47e264 Make sppp a kld. 2001-01-03 08:12:30 +00:00
Dag-Erling Smørgrav dd488b6dd8 Retire kernfs (kernel part). 2000-12-28 12:17:35 +00:00
David E. O'Brien 45c27b729e *sigh* The `pecoff' module was added to all arches w/out testing a compile
on all arches.  This fixes the Alpha kernel build.
2000-12-22 22:33:15 +00:00
Takanori Watanabe 6ef9f30dfd Add pecoff directory.
Submitted by:nyan
2000-12-21 15:33:30 +00:00
Alexander Langer a4563d080a Enable the sym module. 2000-12-19 12:54:17 +00:00
Paul Richards 5d2dea723c Enable building of lnc module. 2000-12-16 01:48:06 +00:00
Bill Paul b1df743d8a Whups: only build the if_el module on the x86 platform for now, until
I can confirm it works on the alpha.
2000-12-15 20:14:19 +00:00
Bill Paul 1b49710482 Newbus the if_el (3Com 3c501) driver. Use bus_space_X() functions.
Add detach routine and turn driver into a module so it can be loaded
and unloaded. Also take a stab at implementing multicast packet
reception so that this NIC will work with IPv6. Promiscuous mode
doesn't seem to work, but I'm not sure why. It works well enough that
I can run dhclient on it and put it on the office network though.
Also ripped out spl stuff and replaced it with mutexes.
2000-12-15 20:09:10 +00:00
Dag-Erling Smørgrav 026527e5b8 Reconnect linprocfs. 2000-12-13 20:29:30 +00:00
Warner Losh 641d2fddd3 Add aic and ray modules. I've been building these for a while now on
i386.
2000-12-13 05:54:26 +00:00
Dag-Erling Smørgrav 2b3d269b8b Temporarily disconnect linprocfs from the build, until I fix it so it builds
with Kirk's big proc patch.
2000-12-12 16:03:17 +00:00
Alfred Perlstein 07b219e204 Revert disconnect of sysvipc now that there's a makefile available 2000-12-01 21:13:06 +00:00
Dag-Erling Smørgrav b8b5f4629f Disconnect sysvipc, since it doesn't build. 2000-12-01 12:26:39 +00:00
Alfred Perlstein 78525ce318 sysvipc loadable.
new syscall entry lkmressys - "reserved loadable syscall"

Make syscall_register allow overwriting of such entries (lkmressys).
2000-12-01 08:57:47 +00:00
Bill Paul 7d1fae05bb The vortex driver can be compiled as a KLD now. The EISA attachment
is only built on the i386 platform for now, since it depends on symbols
which I'm pretty sure won't be present in the alpha build.
2000-11-07 01:03:23 +00:00
David E. O'Brien e84f2add04 Now have the `linux' module on the Alpha too. 2000-11-04 07:31:46 +00:00
Mark Murray f7261d9c5f Convert the de driver into a loadable module. Still missing is an
unload method. Lots of old cruft is removed.

Thanks to WPaul for large clue-injection and debugging services.

Reviewed by:	wpaul
2000-10-31 01:25:10 +00:00
David E. O'Brien 23104303fa Hook ipfilter back up as it compiles now. 2000-10-28 04:51:47 +00:00
Andrey A. Chernov 9d70d03341 Remove ipfilter and mark it as broken until it will be fixed by maintainer.
Not compiles under -current
2000-10-27 12:45:31 +00:00
Nick Hibma 2fd84f56d5 The USB scanner driver. To be used together with SANE. 2000-10-25 10:34:38 +00:00
Mark Murray a6278a2a42 After some complaints about the dir names, the random device is
now in dirs called sys/*/random/ instead of sys/*/randomdev/*.

Introduce blocking, but only at startup; the random device will
block until the first reseed happens to prevent clients from
using untrustworthy output.

Provide a read_random() call for the rest of the kernel so that
the entropy device does not need to be present. This means that
things like IPX no longer need to have "device random" hardcoded
into thir kernel config. The downside is that read_random() will
provide very poor output until the entropy device is loaded and
reseeded. It is recommended that developers do NOT use the
read_random() call; instead, they should use arc4random() which
internally uses read_random().

Clean up the mutex and locking code a bit; this makes it possible
to unload the module again.
2000-10-14 10:59:56 +00:00