Commit Graph

672 Commits

Author SHA1 Message Date
cg
75d10f25fe activate fm801 2000-08-29 16:14:28 +00:00
cg
6fbcea0a07 add driver for forte-media fm801
PR:             conf/20698
Submitted by:   dimmy the wild <diwil@dataart.com>
2000-08-29 16:12:28 +00:00
marcel
51059d7de3 Don't enable Linuxulator support if not on an i386.
PR: 20873
Submitted by: Christian Weisgerber <naddy@mips.inka.de>
2000-08-28 03:17:49 +00:00
msmith
19a7cf4f83 This is the initial import of a new driver for the current family of
PCI:SCSI RAID controllers from Mylex.
2000-08-23 03:22:41 +00:00
marcel
4b9a3820dd Connect the new sources in /sys/compat/linux and the new file
in /sys/i386/linux.
2000-08-22 06:02:01 +00:00
phk
5f8244ad92 Add dummy opt_devfs.h file. 2000-08-21 07:45:37 +00:00
imp
7e02b0e898 Don't build pccard for now until I can resolve the linker interaction
issue that I'm seeing.
2000-08-19 19:26:03 +00:00
imp
4f77f1932e Work around a possible kernel linker bug. It appears that the data
elements defined by foo_if.c aren't sharable amoung modules (I'm
working on a bug report for it now), or else I don't understand
something.  It showed up as kobj functions not being called.

In any event, link in the pcic and pccard parts of the modules to work
around the problem for now.
2000-08-19 19:25:23 +00:00
n_hibma
cbb74c17bd CAM, the module: scbus, da, cd, and st wrapped in one module.
Make the umass driver depend on this module.

Makes it possible to compile the kernel without SCSI support and load it
when for example a USB floppy is conencted.
2000-08-13 18:49:40 +00:00
cg
e5c56d96de activate via82c686 audio driver 2000-08-09 01:08:59 +00:00
cg
63dc0f7f4a new driver: via 82c686 chipset audio
not personally tested, but i'm assured it works

Submitted by:	David Jones <dej@ox.org>
PR:		kern/20161
2000-08-09 00:55:55 +00:00
cokane
d65b25bf44 Cleaning conflicting module tree. Use modules/3dfx instead. 2000-08-06 19:08:55 +00:00
cokane
f5d3ac5bb1 Fix clean to remove pci.h
Numerous style fixes

Submitted by:	Marcel Moolenaar <marcel@cup.hp.com>
2000-08-06 18:56:46 +00:00
nsayer
bbb1ec8127 The solo driver now works for playback, so far as I can tell.
recording is still broken, but IMHO that's enough to at least
"hook it up" to the rest of the kernel/module builds.
2000-08-01 22:42:22 +00:00
ache
cd67564f78 Back out opt_ipfilter.h creation I add recently and add -DIPFILTER=1
to CFLAGS instead
According to other sources, opt_ipfilter.h not supposed to be included for
modules
2000-08-01 00:44:42 +00:00
ache
e457a93633 Fix prev. commit: NIPFILTER -> IPFILTER 2000-08-01 00:10:08 +00:00
ache
6692152318 Generate opt_ipfilter.h to fix 'make depend' 2000-07-31 23:58:38 +00:00
nsayer
ca266056f4 Add the module Makefile for the newly committed ESS solo sound driver.
It will be connected to the parent Makefile after more testing.
2000-07-31 17:22:30 +00:00
sheldonh
eba01e2cbc Rename the loadable nullfs kernel module: null -> nullfs 2000-07-28 11:54:09 +00:00
sheldonh
3ab32b3613 When manual pages are moved or removed, MANX should be changed
to NOMAN.

Reported by:	bde
2000-07-24 13:52:07 +00:00
nsayer
b1af70acb1 Somehow the module makefile got missed in the big commit. 2000-07-21 15:09:25 +00:00
sheldonh
8acfef55ff Move the ef(4) manual page from sys/modules/if_ef to share/man/man4, as
discussed with bp.
2000-07-21 14:54:13 +00:00
sheldonh
aac8cde86f Move the netgraph-related manual pages into share/man/man4/, as
discussed with archie.
2000-07-21 10:46:58 +00:00
nsayer
8ee4b8fcbe Oops. Activate tap in man4 and modules makefiles 2000-07-20 20:29:03 +00:00
peter
78e2f98cea Use <bsd.kmod.mk> not a path to ../../conf/kmod.mk. 2000-07-19 10:40:39 +00:00
dfr
6ab55f9709 Add support for Intel's i810 chipset with integrated graphics. An
associated patch to XFree86 allows the X server to work with this chipset
on FreeBSD. Additional work will include porting the Linux 3D driver.

Submitted by: Ruslan Ermilov <ru@FreeBSD.org>
2000-07-12 10:13:07 +00:00
markm
94bc8a09a9 Honour appropriate no-crypto flags. 2000-07-07 09:38:01 +00:00
markm
3d0396c734 Add entropy gathering code. This will work whether the module is
compiled in or loaded.
2000-07-07 09:03:59 +00:00
cg
6816358ddc enable newpcm module building 2000-07-04 23:35:21 +00:00
cg
f451c12b7e newpcm module makefiles
once built, 'kld_load snd_driver; kldunload snd_driver' will load all sound
drivers and unload all unattached ones.  attached drivers do not yet support
unloading.
2000-07-04 23:32:15 +00:00
archie
9fd6a32919 Build ng_ether(4) KLD. 2000-06-26 23:41:08 +00:00
cokane
6fd2f76871 Add 3dfx to the makefile, the new home for the kmod to interface /dev/3dfx. 2000-06-26 20:35:44 +00:00
markm
1289dba63e Better style(9) for the module build. 2000-06-26 12:18:09 +00:00
cokane
3c5e0d1f98 Change tdfx.ko to 3dfx.ko to prevent filename conflict when XF86 4.x
DRI support is ready for us, as per Doug Rabson's request <dfr>.
2000-06-25 23:44:20 +00:00
markm
a66f2ab5fa Build the entropy device (/dev/random) as a module. This may not
be a permanent rule, because this device may eventually be deemed
"effectively compulsory", and built by default directly into the
kernel. For the moment, however, this is useful for debugging and
development.

Reviewed by:	dfr
2000-06-25 10:12:33 +00:00
markm
54094bc1d4 Remove unneeded header. 2000-06-25 09:39:11 +00:00
archie
d017e6773e Back out previous commit until the build of the 'tdfx' module is unbroken. 2000-06-23 23:07:17 +00:00
cokane
e86ec8531c Add tdfx to modules Makefile, so it gets made. 2000-06-23 15:54:01 +00:00
cokane
4d00d03bd8 Finish up the fixing of the linux ioctl stuff. Add line to remove the dev
entry upon unload.

Fix the module makefile.
2000-06-23 05:54:26 +00:00
cokane
bb03b85d80 Fixed trouble with linux emu, not it should work in the module.
Removed unnecessary warning message too.
2000-06-23 04:30:20 +00:00
cokane
93c49d640d Switch LINUX_TDFX to TDFX_LINUX, that's what i get for typing this
at 2 in the morning.
2000-06-22 19:08:05 +00:00
cokane
4246adc8fd Took TDFX_VERBOSE out of Makefile, added $FreeBSD$ and option for DEBUG.
Added a notice for linux users that the kld isn't working for them yet, so
no linux emu from the kld. It compiles statically alright though.
2000-06-22 05:47:16 +00:00
cokane
76fe0fbc2c This commit was generated by cvs2svn to compensate for changes in r61914,
which included commits to RCS files with non-trunk default branches.
2000-06-21 20:32:24 +00:00
cokane
8a0824c301 Add a kld to correlate with my committ of the voodoo driver (tdfx). 2000-06-21 20:32:24 +00:00
alfred
e3e72a583b return of the accept filter part II
accept filters are now loadable as well as able to be compiled into
the kernel.

two accept filters are provided, one that returns sockets when data
arrives the other when an http request is completed (doesn't work
with 0.9 requests)

Reviewed by: jmg
2000-06-20 01:09:23 +00:00
imp
aa110f1811 Add oldcard, pccard, pcic and sn modules to the build. 2000-06-18 05:20:26 +00:00
imp
0392946729 Preliminary commit of oldcard module. This might not work, but will.
This should allow one to load oldcard or newcard for testing.  Please
let me know if this doesn't work.  Don't load this and either of pcic
or pccard.  I've not tried it, but I suspect bad things will happen.
2000-06-18 05:08:57 +00:00
mjacob
fbb71d76ef add ispfw module 2000-06-18 05:08:36 +00:00
mjacob
fd3bc6e186 add if_wx module 2000-06-18 05:08:28 +00:00
mjacob
2e129adc0b Add if_wx && ispfw modules 2000-06-18 05:08:11 +00:00
imp
50292152fb Make pcic compile again with newcard 2000-06-18 04:44:40 +00:00
imp
ff4a0a7cfe Build sn as a module 2000-06-18 04:43:29 +00:00
tanimura
423e956387 1. Update Comtrol RocketPort driver(rp) to version 3.02.
2. Newbusify the driver.
3. Build as a module.

4. Use correct minor numbers when creating device files.
5. Correctly lock control characters.
6. Return ENXIO when device not configured.
Submitted by:	Tor Egge	<Tor.Egge@fast.no>

7. Fix the baud_table.
Submitted by:	Elliot Dierksen	<ebd@oau.org>

Note:
- the old driver still lives in src/sys/i386/isa, so that you can
  revert to it if something goes wrong.
- The module does not detach very well. Attaching works fine.
2000-06-11 06:43:16 +00:00
dfr
b63dd89678 Add agp. 2000-06-09 16:07:32 +00:00
dfr
a3fc496678 Add module for agp driver. 2000-06-09 16:07:04 +00:00
obrien
18e912edeb Properly spell "OSF/1". 2000-06-06 16:18:53 +00:00
bde
f8cc865070 Fixed style bugs that I unfortunately noticed because bsd.kmod.mk was
being reconstructed.
2000-06-03 11:45:00 +00:00
bde
a5752e4f08 Use the genassym script here too. The linux and svr4 modules were broken. 2000-06-03 07:40:19 +00:00
peter
ea11d3cf1c Use .include <bsd.kmod.mk> to get to ../../*/conf/kmod.mk instead of
encoding the relative path.
2000-05-27 01:14:33 +00:00
msmith
2f58d03cd5 Some joker decided to make it even harder to build modules outside the
kernel, and rather than fix the make search path, hardcoded it into the
module Makefiles themselves.  Go with the herd.
2000-05-26 20:07:29 +00:00
archie
8a498b4b39 Fix typo. 2000-05-25 00:36:43 +00:00
msmith
78cc4bb607 Build the twe module with the rest. 2000-05-24 23:42:03 +00:00
msmith
d8065605ba Add the 'twe' driver module makefile. 2000-05-24 23:41:26 +00:00
chris
3da2444315 Remove the -DFDESC cruft that is no longer necessary since the support
for it was removed from <sys/mount.h> long, long ago.
2000-05-14 04:44:30 +00:00
archie
e52673c66d Update man page to reflect new IPv6 hook. Simplify Makefile. 2000-05-10 16:54:40 +00:00
sheldonh
5443174128 Supply only one author name per instance of %A, as per mdoc.samples(7).
PR:		18465
Submitted by:	Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
2000-05-10 09:49:04 +00:00
obrien
466a12192c Support non-i386 architectures. 2000-05-10 01:05:11 +00:00
nyan
c118e945db Added PC-98 supports.
Obtained from:	FreeBSD(98) 4.0R-Rev01
2000-05-08 14:55:21 +00:00
n_hibma
d1bfdae6bd Remove debugging cruft. 2000-05-07 19:13:19 +00:00
obrien
4b8735f977 All the screen savers other than "apm" build on the Alpha. daemon.ko has
been tested to work.
2000-05-06 02:06:35 +00:00
archie
fc024e2d6f AUTHOR -> AUTHORS 2000-05-05 17:08:55 +00:00
archie
e696412047 Document the new statistics control messages.
Add a note about the IP header asymmetry on the "lower" hook.
2000-05-05 01:20:28 +00:00
archie
44be3a44bd Move netgraph node type man pages from section 8 to section 4. 2000-05-04 17:54:37 +00:00
peter
1b38e19179 Pull in sys/conf/kmod.mk, rather than /usr/share/mk/bsd.kmod.mk.
This means that the kernel can be totally self contained now and is not
dependent on the last buildworld to update /usr/share/mk.  This might
also make it easier to build 5.x kernels on 4.0 boxes etc, assuming
gensetdefs and config(8) are updated.
2000-05-04 12:08:52 +00:00
n_hibma
53d90f6dfb The USB double bulk pipe driver (Host to host cables). Currently there
are two supported chips, the NetChip 1080 (only prototypes available)
and the EzLink cable. Any other cable should be supported however as they
are all very much alike (there is a difference between them wrt
performance).

It uses Netgraph.

This driver was mostly written by Doug Ambrisko and Julian Elischer and
I would like to thank Whistle for yet another contribution. And my
aplogies to them for me sitting on the driver for so long (2 months).

Also, many thanks to Reid Augustin from NetChip for providing me with a
prototype of their 1080 chip.

Be aware of the fact that this driver is very immature and has only been
tested very lightly. If someone feels like learning about Netgraph however
this is an excellent driver to start playing with.
2000-05-01 22:48:23 +00:00
peter
22f6069a2a Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
peter
52abed47e4 Zap KMODDEPS line 2000-05-01 18:58:48 +00:00
julian
8b471affb9 Update the man page to reflect the recent changes to the kernel API for
netgraph.
2000-04-30 10:01:11 +00:00
nyan
a523934af1 Added PC-98 supports.
Submitted by:	Chiharu Shibata <chi@bd.mbn.or.jp>,
		Tomokazu HARADA <tkhara@osk4.3web.ne.jp> and
		yokota
2000-04-27 13:37:40 +00:00
bp
dbdba2da0a More machdep/random.h -> sys/random.h fixes. 2000-04-25 05:06:31 +00:00
yokota
db28fdf265 - Added support for 1bpp and 4bpp BMP files.
(PC98 part of the commit will follow.)

Submitted (50%) by: Chiharu Shibata <chi@bd.mbn.or.jp>
2000-04-24 10:09:42 +00:00
wpaul
ffc1f10e0b Reoganize/update the SysKonnect driver:
- Break out the support for the XMAC II's PHY into an miibus driver.

- Reorganize the probe/attach stuff using newbus. Each XMAC is now
  attached to the parent GEnesis controller using newbus. This is
  necessary since each XMAC must also have an attached miibus, and
  the miibus read/write register routines need to be able to get
  at the softc struct for each XMAC, not the one for the parent
  controller. This allows me to get rid of the grotty code I added
  for selecting the unit numbers for the ifnet interfaces: the unit
  numbers are now derived from the newbus-assigned unit numbers,
  which should track with the ifnet interface numbers. I think.
  At the very least, there should never be any collisions.

- Add support for the SK-9821 and SK-9822 1000baseTX adapters. Special
  thanks to SysKonnect for loaning me two adapters for testing.
2000-04-22 02:16:41 +00:00
msmith
7c8ba198e8 Point to the new location of the sources under the i386 linux compatibility
code.
2000-04-20 03:55:19 +00:00
grog
89dde410b7 Remove MAINTAINER. 2000-04-16 00:17:46 +00:00
grog
64f4594062 Enable building Vinum on alpha.
Submitted-by:	Bernd Walter <ticso@cicely.de>
Reminded-by:	Pedro A M Vazquez <vazquez@iqm.unicamp.br>
2000-04-13 04:08:24 +00:00
archie
888f3176b9 Only build the ng_mppc KLD if !NOCRYPT and required crypto sources exist. 2000-04-12 19:57:32 +00:00
archie
71fcfc0b76 Revert to previous state, plus a few cleanups pointed out by bde.
Instead, make the decision as to whether to build this KLD in ../Makefile.
2000-04-12 19:56:16 +00:00
semenu
0a4d16d37e Premier version of Makefile to build tx driver as KLD 2000-04-11 18:40:30 +00:00
semenu
274c38fa9e As tx driver was patched for newbus, we can now build it as module!
Add it to Makefile.
2000-04-11 18:39:52 +00:00
archie
f4c542edf0 Turn off build of ng_mppc KLD until I can figure out how to have the
Makefile correctly handle all the possible permutations (including
missing crypto sources). Suggestions welcome.
2000-04-11 17:14:48 +00:00
archie
1f9a3b6ffe Turn off MPPE encryption if NOCRYPT is defined. If neither compression
nor encryption is enabled, don't build or install anything.
2000-04-10 22:22:18 +00:00
archie
14c7590727 Add ng_mppc(8) netgraph node as a KLD module.
Obtained from:  Whistle source tree
2000-04-09 21:07:39 +00:00
bp
aed3eeb310 Uncomment ETHER_II frame and remove BPF related variable. 2000-04-06 03:09:56 +00:00
peter
2773e09cf8 Move linprocfs to the i386-only section so the Alpha buildworld has a
chance at finishing..
2000-03-30 08:04:01 +00:00
n_hibma
85bc59fa0d Remove some cruft 2000-03-28 19:07:37 +00:00
charnier
6e109d2561 Remove duplicate word 2000-03-26 15:24:53 +00:00
des
d815a57ddd Linux /proc filesystem.
Submitted by:	pb
2000-03-25 13:23:02 +00:00
imp
eaa8bd557a Make pcic module compile again for NEWCARD (not for old pccard). 2000-03-25 03:16:19 +00:00
kato
4b0a79c936 Define PC98 when MACHINE == pc98, because msdos_vfsops.c contains
`#ifdef PC98'.
2000-03-19 15:06:18 +00:00
n_hibma
914df027ab Please welcome the URio driver. Written by
Iwasa Kazmi <kzmi\@ca2.so-net.ne.jp>
2000-03-16 09:16:14 +00:00
archie
3c6de034ba - Document updates in iface netgraph node type functionality
- Remove makefile hacks for opt_inet.h, etc: the KLD now supports
  whatever address families your kernel was compiled with automagically
2000-03-13 19:19:48 +00:00
archie
b749ed4523 Fix typo.
Reported by:	Robert Swindells <swindellsr@genrad.co.uk>
2000-03-13 18:29:58 +00:00
archie
f51797e6dc Correct man page title. 2000-03-10 20:38:24 +00:00
sheldonh
e814f513ec Disconnect pcfclock from the build until it works on the Alpha. 2000-03-01 07:42:09 +00:00
billf
cf79856b7f Add a little more history of when netgraph appeared in FreeBSD.
Reviewed by:	asmodai
2000-02-29 18:32:26 +00:00
sheldonh
b711ca6e94 Enable pcfclock as a kernel loadable module.
PR:		16804
Submitted by:	sascha@schumann.cx
Approved by:	jkh (release engineer)
2000-02-29 10:57:42 +00:00
peter
d7e5eb3faa Use config's conditional compilation rather than using #ifdefs that make
modular compilation harder.  I'm doing this because people seem to like
cut/pasting examples of bad practices in existing code.
2000-01-29 15:08:56 +00:00
brian
aed8e5f0eb Restore to version 1.14. Only opt_inet.h is required again. 2000-01-29 01:11:03 +00:00
bde
17f54b4408 Add ${DEBUG_FLAGS} to CFLAGS in bsd.kmod.mk, not in scattered module
makefiles.  Bad examples in fxp/Makefile keep getting copied to new
makefiles.
2000-01-28 11:26:46 +00:00
peter
e3e26fd9df Move if_tun back to the common section now that it works on the Alpha.
Tested by:	make world
2000-01-27 13:42:42 +00:00
peter
b498317a66 Re-add vpo. I've just re-tested this in a 'make world' on a December
vintage system, well before the ppbus changes.  When I called it an
"example" module, I meant as an example for the rest of the ppbus client
drivers, not that it was worthless.  I'll mail my 5.8MB world.log to
anybody who doesn't believe me.

Wrongly accused by:	obrien
2000-01-26 15:15:50 +00:00
obrien
994e477fcd Remove `vpo' with a vengeance -- "EXAMPLE" modules have *NO* business
being hooked up to the build system, *COMPILABLE WORKING* modules do.

Not `make' tested by:	Peter
2000-01-26 02:05:16 +00:00
brian
1d67bbf0a1 Don't use ATM on the alpha - it #errors out.
Pointed out by: jdp
2000-01-26 01:08:03 +00:00
obrien
9ed45b0d46 if_tun is out of here -- it can come back with it stops breaking the
Alpha build.
2000-01-26 00:47:45 +00:00
brian
26fcba4c5a Move the *intrq variables into net/intrq.c and unconditionally
include this in all kernels.  Declare some const *intrq_present
variables that can be checked by a module prior to using *intrq
to queue data.

Make the if_tun module capable of processing atm, ip, ip6, ipx,
natm and netatalk packets when TUNSIFHEAD is ioctl()d on.

Review not required by: freebsd-hackers
2000-01-24 20:39:02 +00:00
peter
6542b31f77 Add an example vpo module. I don't have a zip drive to test it, but it
behaves the normal way when loaded at runtime versus being statically
compiled.  (normal == print garbage on the printer :-).
2000-01-23 15:26:15 +00:00
n_hibma
e6184773ef Get rid of some debugging cruft. 2000-01-23 13:56:58 +00:00
brian
9c022a2fe0 Hmm, don't compile in INET6, IPX or NETATALK support for the
moment :-(  I think we need some sort of stub variable and a
``is this queue available'' flag.
2000-01-23 10:41:48 +00:00
bp
fc532071c9 Allow if_ef driver to be compiled into kernel. 2000-01-23 03:35:11 +00:00
brian
fb25843f9a Support INET6, NETATALK and IPX as well as INET. 2000-01-23 01:47:59 +00:00
yokota
3701b00fac Do not explicitly create empty option files; they are taken
care of by bsd.kmod.mk.

Pointed out by: bde
2000-01-20 13:25:18 +00:00
archie
8ece9a32c6 Work around aparent bug in the .Dv macro by eliminating some spaces.
The closing curly-brace in this line was being omitted somehow.
2000-01-17 20:10:39 +00:00
yokota
5db3ba7b9b This is the 3rd stage of syscons code reorganization.
- Split terminal emulation code from the main part of the driver so
that we can have alternative terminal emulator modules if we like in
the future.  (We are not quite there yet, though.)

- Put sysmouse related code in a separate file, thus, simplifying the
main part of the driver.

As some files are added to the source tree, you need to run config(8)
before you compile a new kernel next time.

You shouldn't see any functional change by this commit; this is only
internal code reorganization.
2000-01-15 15:25:43 +00:00
wpaul
4e7e0246b5 Grrr. Really add the module makefile for the Aironet driver. 2000-01-14 23:46:05 +00:00
wpaul
1e2a8041d0 Add driver support for the Aironet 4500/4800 series wireless 802.11
NICs. (Finally!) The PCMCIA, ISA and PCI varieties are all supported,
though only the ISA and PCI ones will work on the alpha for now.
PCCARD, ISA and PCI attachments are all provided. Also provided an
ancontrol(8) utility for configuring the NIC, man pages, and updated
pccard.conf.sample. ISA cards are supported in both ISA PnP and hard-wired
mode, although you must configure the kernel explicitly to support the
hardwired mode since you have to know the I/O address and port ahead
of time.

Special thanks to Doug Ambrisko for doing the initial newbus hackery
and getting it to work in infrastructure mode.
2000-01-14 20:41:03 +00:00
wpaul
25bfa75395 Add device driver support for USB ethernet adapters based on the CATC
USB-EL1202A chipset. Between this and the other two drivers, we should
have support for pretty much every USB ethernet adapter on the market.
The only other USB chip that I know of is the SMC USB97C196, and right
now I don't know of any adapters that use it (including the ones made
by SMC :/ ).

Note that the CATC chip supports a nifty feature: read and write combining.
This allows multiple ethernet packets to be transfered in a single USB
bulk in/out transaction. However I'm again having trouble with large
bulk in transfers like I did with the ADMtek chip, which leads me to
believe that our USB stack needs some work before we can really make
use of this feature. When/if things improve, I intend to revisit the
aue and cue drivers. For now, I've lost enough sanity points.
2000-01-14 03:14:49 +00:00
yokota
c861b7fc02 Add opt_ukbd.h. 2000-01-12 00:46:08 +00:00
wpaul
cf16a7efdb Attempt to fix a problem with receiving packets on USB ethernet interfaces.
Packets are received inside USB bulk transfer callbacks, which run at
splusb() (actually splbio()). The packet input queues are meant to be
manipulated at splimp(). However the locking apparently breaks down under
certain circumstances and the input queues can get trampled.

There's a similar problem with if_ppp, which is driven by hardware/tty
interrupts from the serial driver, but which must also manipulate the
packet input queues at splimp(). The fix there is to use a netisr, and
that's the fix I used here. (I can hear you groaning back there. Hush up.)

The usb_ethersubr module maintains a single queue of its own. When a
packet is received in the USB callback routine, it's placed on this
queue with usb_ether_input(). This routine also schedules a soft net
interrupt with schednetisr(). The ISR routine then runs later, at
splnet, outside of the USB callback/interrupt context, and passes the
packet to ether_input(), hopefully in a safe manner.

The reason this is implemented as a separate module is that there are
a limited number of NETISRs that we can use, and snarfing one up for
each driver that needs it is wasteful (there will be three once I get
the CATC driver done). It also reduces code duplication to a certain
small extent. Unfortunately, it also needs to be linked in with the
usb.ko module in order for the USB ethernet drivers to share it.

Also removed some uneeded includes from if_aue.c and if_kue.c

Fix suggested by: peter
Not rejected as a hairbrained idea by: n_hibma
2000-01-10 23:12:54 +00:00
phantom
8bf15d0ff0 . add manpage for svr4(8)
. s/freebsd/FreeBSD
2000-01-10 08:48:11 +00:00
bde
d42b1f1b39 Cleaned up options handling:
- don't generate unusable headers or #defines.
- removed duplicate opt_svr4.h in CLEANFILES.
- removed bogus dependency of svr4.h on options headers.
2000-01-09 13:11:19 +00:00
bde
661138e5c3 Compile svr4_genassym.c with ordinary ${CFLAGS}. The (small) need for
-U_KERNEL became negative when all all the genassym.c's were converted
to be cross-built.

Use "genassym ... > ${.TARGET}", not "genassym -o $@ ...", so that
genassym(1) doesn't need to support -o.

Removed duplicate -D_KERNEL from CFLAGS.

Removed triplicate -D_KERNEL from flags for compiling svr4_locore.s.
2000-01-09 10:16:12 +00:00
bde
6c0066fcac Compile linux_genassym.c with ordinary ${CFLAGS}. The (small) need for
-U_KERNEL became negative when all all the genassym.c's were converted
to be cross-built.

Use "genassym ... > ${.TARGET}", not "genassym -o $@ ...", so that
genassym(1) doesn't need to support -o.

Removed duplicate -D_KERNEL from flags for compiling linux_locore.s.
2000-01-09 10:04:53 +00:00
wpaul
a0156fbe84 Add device driver support for USB ethernet adapters based on the
Kawasaki LSI KL5KUSB101B chip, including the LinkSys USB10T, the
Entrega NET-USB-E45, the Peracom USB Ethernet Adapter, the 3Com
3c19250 and the ADS Technologies USB-10BT. This device is 10mbs
half-duplex only, so there's miibus or ifmedia support. This device
also requires firmware to be loaded into it, however KLSI allows
redistribution of the firmware images (I specifically asked about
this; they said it was ok).

Special thanks to Annelise Anderson for getting me in touch with
KLSI (eventually) and thanks to KLSI for providing the necessary
programming info.

Highlights:
- Add driver files to /sys/dev/usb
- update usbdevs and regenerate attendate files
- update usb_quirks.c
- Update HARDWARE.TXT and RELNOTES.TXT for i386 and alpha
- Update LINT, GENERIC and others for i386, alpha and pc98
- Add man page
- Add module
- Update sysinstall and userconfig.c
2000-01-05 04:27:24 +00:00
grog
6beb973de0 Remove non-functional 'all:' target.
Remove unused 'state.h' and 'maketabs' targets.
Fix white space style bugs.

Submitted-by:	bde

Sort module names in SRCS.

Suggested-by:	bde

Correct breakage committed in revision 1.16.
2000-01-04 23:46:41 +00:00
archie
309101aba3 Fix typos per PR 15649. Also did some rewording for clarity.
PR:		docs/15649
Submitted by:	Kazuo Horikawa <horikawa@jp.FreeBSD.org>
2000-01-03 18:36:42 +00:00
marcel
5ed0012e79 Remove -g compiler flag. 2000-01-03 12:01:30 +00:00
marcel
c9131e98dc o Add build-tools target for maketabs although it doesn't seem to
be used. I therefore won't add it to Makefile.inc1.
o  Remove -g compilation flags.
2000-01-03 11:57:14 +00:00
peter
d53e4c1d80 Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"
is an application space macro and the applications are supposed to be free
to use it as they please (but cannot).  This is consistant with the other
BSD's who made this change quite some time ago.  More commits to come.
1999-12-29 05:07:58 +00:00
wpaul
b39a79861d This commit adds device driver support for the ADMtek AN986 Pegasus
USB ethernet chip. Adapters that use this chip include the LinkSys
USB100TX. There are a few others, but I'm not certain of their
availability in the U.S. I used an ADMtek eval board for development.
Note that while the ADMtek chip is a 100Mbps device, you can't really
get 100Mbps speeds over USB. Regardless, this driver uses miibus to
allow speed and duplex mode selection as well as autonegotiation.
Building and kldloading the driver as a module is also supported.

Note that in order to make this driver work, I had to make what some
may consider an ugly hack to sys/dev/usb/usbdi.c. The usbd_transfer()
function will use tsleep() for synchronous transfers that don't complete
right away. This is a problem since there are times when we need to
do sync transfers from an interrupt context (i.e. when reading registers
from the MAC via the control endpoint), where tsleep() us a no-no.
My hack allows the driver to have the code poll for transfer completion
subject to the xfer->timeout timeout rather that calling tsleep().
This hack is controlled by a quirk entry and is only enabled for the
ADMtek device.

Now, I'm sure there are a few of you out there ready to jump on me
and suggest some other approach that doesn't involve a busy wait. The
only solution that might work is to handle the interrupts in a kernel
thread, where you may have something resembling a process context that
makes it okay to tsleep(). This is lovely, except we don't have any
mechanism like that now, and I'm not about to implement such a thing
myself since it's beyond the scope of driver development. (Translation:
I'll be damned if I know how to do it.) If FreeBSD ever aquires such
a mechanism, I'll be glad to revisit the driver to take advantage of
it. In the meantime, I settled for what I perceived to be the solution
that involved the least amount of code changes. In general, the hit
is pretty light.

Also note that my only USB test box has a UHCI controller: I haven't
I don't have a machine with an OHCI controller available.

Highlights:

- Updated usb_quirks.* to add UQ_NO_TSLEEP quirk for ADMtek part.
- Updated usbdevs and regenerated generated files
- Updated HARDWARE.TXT and RELNOTES.TXT files
- Updated sysinstall/device.c and userconfig.c
- Updated kernel configs -- device aue0 is commented out by default
- Updated /sys/conf/files
- Added new kld module directory
1999-12-28 02:01:18 +00:00
marcel
882af3f7d6 Use genassym(1) and <sys/assym.h> to generate assembler symbols. 1999-12-23 21:19:32 +00:00
marcel
95103d1312 Use genassym(1) and <sys/assym.h> to generate assembler symbols. 1999-12-23 19:59:47 +00:00
archie
f60ffeafee Revert previous checkin; I incorrectly thought that it was needed
due to having an old version of bsd.kmod.mk.

Caught by:	bde
1999-12-21 20:51:34 +00:00
julian
443430016e Manual page style work.
Submitted by:	Alexey Zelkin <phantom@FreeBSD.org>
thanks!
1999-12-21 01:25:21 +00:00
imp
c6fae80569 i82365_isasubr is gone, remove from building module. 1999-12-19 05:49:56 +00:00
gallatin
250790f2f9 Enable building of the OSF/1 compat module. 1999-12-15 13:14:23 +00:00
gallatin
1b39d5d377 Finally add the Alpha OSF/1 compat code. I will add it to the
sys/modules Makefile after completing a buildworld.

History:

The bulk of this code was obtained from NetBSD approximately one year
ago (I have taken care to preserve the original NetBSD copyrights and
I thank the authors for their work.) At that time, the OSF/1 code was
what was left over from their initial bootstrapping off of OSF/1 and
did not provide support for executing shared binaries.

I have independently added support for shared libraries, and support
for some of the more obscure system calls.  This code has been
available for testing and comment since January of 1999 and running on
production machines here at Duke since April.

Known working applications include:

- Netscape (all versions I've tried)
- Mathematica 3.0.2
- Splus 3.4
- ArcInfo 7.1
- Matlab (version unknown)
- SimOS
- Atom instrumented binaries (built on a real OSF/1 system)

Applications which are known not to work:

- All applications linking to libmach
- Adobe Acrobat  (uses libmach)

This has been tested with applications running against shared
libraries from OSF/1 (aka Tru64) 4.0D and 4.0F.

Reviewed by: marcel, obrien
BDE-lint by: obrien
Agreed in principal to by: msmith
1999-12-14 22:35:36 +00:00
bp
908abcafb0 Add module for if_ef driver and make it compile. 1999-12-13 16:42:17 +00:00
cracauer
2f637bd745 Add a run of Linux ldconfig. 1999-12-13 08:38:22 +00:00
peter
cc5e8eb5f0 Move mlx, ncp and nwfs to the common area, they build on the Alpha and
are marked cross-platform in conf/files..
1999-12-12 21:17:08 +00:00
peter
9345346f82 Zap unused CFLAGS += -DNCP 1999-12-12 21:15:51 +00:00