Commit graph

350 commits

Author SHA1 Message Date
Matthew Dillon b130e2d2dc Put tty back in, problem was due to cvsup mess on freefall. 1999-10-24 03:01:41 +00:00
Matthew Dillon 576801718f Temporarily remove 'tty' netgraph sub module until it can be made
to compile.
1999-10-23 18:53:46 +00:00
Julian Elischer b58a8a3b1d Now that Netgraph is in the system there are some cleanups we can do.
Also save a slightly closer to completion version of the PPPOE code.

Submitted by: Archie Cobbs <archie@freebsd.org>
1999-10-23 04:28:11 +00:00
Julian Elischer 4cf49a4355 Whistle's Netgraph link-layer (sometimes more) networking infrastructure.
Been in production for 3 years now. Gives Instant Frame relay to if_sr
and if_ar drivers, and PPPOE support soon. See:
ftp://ftp.whistle.com/pub/archie/netgraph/index.html
for on-line manual pages.

Reviewed by: Doug Rabson (dfr@freebsd.org)
Obtained from:  Whistle CVS tree
1999-10-21 09:06:11 +00:00
Julian Elischer 6ca8cb1e72 Test commit of first Netgraph file 1999-10-21 07:27:47 +00:00
Bill Paul ed8c6514c4 Convert the mx driver to miibus.
In order to make this work, I created a pseudo-PHY driver to deal with
Macronix chips that use the built-in NWAY support and symbol mode port.
This is actually all of them, with the exception of the original MX98713
which presents its NWAY support via the MII serial interface.

The mxphy driver actually manipulates the controller registers directly
rather than using the miibus_readreg()/miibus_writereg() bus interface
since there are no MII registers to read. The mx driver itself pretends
that the NWAY interface is a PHY locayed at MII address 31 for the sole
purpose of allowing the mxphy_probe() routine to know when it needs to
attach to a host controller.
1999-10-16 05:24:13 +00:00
Greg Lehey 79ed692973 Format documentations in the form that gdb appears to want.
Change the name of rrqi to rqinfo (the equivalent of vinum(8)'s info
-V command).

rqinfo: Cosmetic changes.
	Add printout of the new loginfo types.
1999-10-13 03:15:30 +00:00
Greg Lehey 07ffdb5e1d Add macro 'msgbuf' for printing out msgbuf. 1999-10-13 03:14:54 +00:00
Nick Hibma 5173788d7e perl5 -> perl
(This was breaking world.)

Submitted by:	Marcel Molenaar, green
1999-10-08 14:29:12 +00:00
Brian Feldman 1d18c131fc perl5 -> perl
(This was breaking world.)
1999-10-08 14:09:17 +00:00
Nick Hibma 1164a930d8 Change the SOURCE line to include ${CURDIR}
Submitted by:	Guy Helmer <ghelmer@scl.ameslab.gov>
1999-10-08 07:41:17 +00:00
Nick Hibma 9c16942951 Fix typo 1999-10-07 21:25:04 +00:00
Nick Hibma 2592a72537 The Makefiles for the modules for the USB device drivers.
Finally.
1999-10-07 21:23:08 +00:00
Mike Smith 6ac4727a3b Connect the 'amr' and 'mlx' drivers. They can be built as modules or
integrated into a static kernel as the user wishes.
1999-10-07 02:24:22 +00:00
Mike Smith d5a51e03e7 This is a driver for the AMI MegaRAID family of controllers. It all of
the AMI PCI controllers using the 8LD firmware interface (40LD firmware
will be supported as soon as I have hardware to test with).

These controllers are rebadged by Dell as the PERC, as well as by HP
and possibly other vendors.
1999-10-07 02:23:12 +00:00
Mike Smith 1ac4b82b11 This is a driver for the Mylex DAC960 family of integrated RAID
controllers.  It currently supports the P, PL, PD and PU variants,
with more to be supported shortly.
1999-10-07 02:20:32 +00:00
Boris Popov ff8444f278 ncplib modules: bring up new ncp.ko and nwfs.ko 1999-10-02 06:32:36 +00:00
Nick Sayer 472a4993b0 Add the apm_saver syscons screen saver module.
apm_saver uses the apm_display() routine from the apm system to
"suspend" the "display" part of the machine.

This is beneficial for some laptops (or other machines with
non-traditional displays) that choke on the 'green' saver's
effect.

Another way of looking at this is that it's the same as a screen
saver that does an 'apm -d 0' to blank the display and an 'apm -d 1'
to bring it back. One probably ought to use these commands to make
sure the effect will be correct before using it unattended.
1999-10-02 03:56:42 +00:00
Peter Wemm 810b4d751f Reconnect 'bktr' now that world won't (I hope) break again from it.
'make depend' was falling over in it before.
1999-09-28 07:28:59 +00:00
Peter Wemm 5e6016775c Make the bktr module build. The Makefile was badly mangled, including
leaving the ".c" out of most of the SRCS= source files.
1999-09-28 07:23:59 +00:00
Warner Losh 7cbb6373b9 /tmp/cvswGS523 1999-09-28 02:45:34 +00:00
Peter Wemm f274c85d8b Zap some unused echo "#define NFOO 1" > foo.h style defunct stuff. 1999-09-27 01:04:44 +00:00
Peter Wemm 972c1f6945 Don't set an unused make(1) variable (NBPF) 1999-09-27 01:00:20 +00:00
Peter Wemm 8182b2bfce bktr (as a module) doesn't build. 1999-09-27 00:56:32 +00:00
Peter Wemm 26fe698c67 Don't generate 'bpf.h' since it's not used. 1999-09-27 00:39:29 +00:00
Peter Wemm 18b039eb04 Don't generate 'bpf.h' since it's not used. 1999-09-27 00:34:02 +00:00
Roger Hardiman 450880b4e0 Update to use new Bt848 driver 1999-09-26 22:13:06 +00:00
Peter Wemm 18e2e348fb Minor tidy up of PPP_FILTER and NBPF stuff. Don't generate bpf.h in the
module and don't #include "bpf.h".
1999-09-26 18:44:29 +00:00
Brian Feldman 9811e1f1a1 Add phk's m(4) Memory Disk driver as a KLD. I don't believe it
works properly after unloading, however.
1999-09-22 21:28:19 +00:00
Roger Hardiman fdc2eae112 Use new location of Bt848 driver.
Remove NPCI generation as the driver no longer checks for NPIC > 0
1999-09-22 08:31:05 +00:00
Bill Paul 1088f6c7c1 Spruce up the ADMtek driver: conver to newbus, miibus and add support
for the AN985 "Centaur" chip, which is apparently the next genetation
of the "Comet." The AN985 is also a tulip clone and is similar to the
AL981 except that it uses a 99C66 EEPROM and a serial MII interface
(instead of direct access to the PHY registers).

Also updated various documentation to mention the AN985 and created
a loadable module.

I don't think there are any cards that use this chip on the market yet:
the datasheet I got from ADMtek has boxes with big X's in them where the
diagrams should be, and the sample boards I got have chips without any
artwork on them.
1999-09-22 05:07:51 +00:00
David E. O'Brien 40ec3caac8 Change the name of the installed KLM to contain a leading "if_".
Except for miibus which is now installed as miibus.ko.

Discussed by:	msmith, peter, and wpaul
1999-09-20 06:11:48 +00:00
Bill Paul 977f4ed148 RealTek driver module wasn't being built; add it to the Makefile. 1999-09-19 23:19:59 +00:00
Bill Paul ae3b8c19b1 Convert the VIA Rhine driver to miibus. 1999-09-19 22:03:31 +00:00
Dag-Erling Smørgrav 58e21863da Clean up and reorder. 1999-09-08 19:17:15 +00:00
Nick Hibma fe3cac87c1 1) s/mod(un)?load/kld$1load/
2) s/MODLOAD/KMODLOAD/ to be consistent with the rest of the variables
(KMOD, KMODOWN, KMODGRP, etc) and definition of MODLOAD/UNLOAD in the
Makefile of the ATAPI module

3) textual fixups
1999-09-06 20:11:59 +00:00
Bill Paul e5a9fd5435 This commit adds driver support for PCI fast ethernet NICs based on
the Davicom DM9100 and DM9102 chipsets, including the Jaton Corporation
XPressNet. Datasheet is available from www.davicom8.com.

The DM910x chips are still more tulip clones. The API is reproduced
pretty faithfully, unfortunately the performance is pretty bad. The
transmitter seems to have a lot of problems DMAing multi-fragment
packets. The only way to make it work reliably is to coalesce transmitted
packets into a single contiguous buffer. The Linux driver (written by
Davicom) actually does something similar to this. I can't recomment this
NIC as anything more than a "connectivity solution."

This driver uses newbus and miibus and is supported on both i386
and alpha platforms.
1999-09-06 06:14:30 +00:00
Bill Paul bbf7ca2249 Add a driver for the AMD AM79c873 10/100 PHY. By some strange coincidence,
this PHY and the Davicom DM9101 have exactly the same register definitions.
One of them is probably a clone of the other. I'm not sure which.

This is needed for the Davicom DM9102 10/100 PCI ethernet driver which
will be committed shortly.
1999-09-06 05:27:55 +00:00
Bill Paul 9555e59a1e This commit adds driver support for the Silicon Integrated Systems
SiS 900 and SiS 7016 PCI fast ethernet chipsets. Full manuals for the
SiS chips can be found at www.sis.com.tw.

This is a fairly simple chipset. The receiver uses a 128-bit multicast
hash table and single perfect entry for the station address. Transmit and
receive DMA and FIFO thresholds are easily tuneable. Documentation is
pretty decent and performance is not bad, even on my crufty 486. This
driver uses newbus and miibus and is supported on both the i386 and
alpha architectures.
1999-09-05 21:01:03 +00:00
David E. O'Brien 22167446c5 Install {ibcs2,svr4}.sh in /usr/sbin and not in /usr/bin.
related to PR:		13545
1999-09-05 05:19:08 +00:00
Bruce Evans dd6898f64e Don't generate opt_debug_nullfs.h. It is no longer necessary.
Removed bogus definition of NULLFS
1999-09-04 12:40:07 +00:00
Bruce Evans a5f3f7510a Backed out the quick fix in the previous commit. Depending on opt_ddb.h
was a mistake.  umapfs no longer depends on any options headers.
1999-09-04 12:01:32 +00:00
Marcel Moolenaar 48adcae922 Install linux.sh in /usr/sbin and not in /usr/bin.
PR: 13545
Submitted by: Jose M. Alcaide <jose@we.lc.ehu.es>
1999-09-03 07:15:38 +00:00
Mark Newton c2de70091b Add MAINTAINER line 1999-09-01 00:32:18 +00:00
Bill Paul 59519ca74f Convert the RealTek 8139 driver to newbus and miibus in one swell foop.
Also set it up to be compiled as a module.
1999-08-31 14:45:51 +00:00
Bill Paul a4f02d20ed Add a driver for the internal PHY in the RealTek 8139. 1999-08-31 14:43:30 +00:00
Roger Hardiman ec4d750134 add vnode_if.h 1999-08-31 11:13:47 +00:00
Bill Paul 4ae17070a2 Convert the Adaptec and Winbond drivers to miibus. 1999-08-30 23:08:32 +00:00
Bruce Evans de5104ae7c "Fixed" my recent world breakage (umap_subr.c now includes opt_ddb.h).
Fixed some style bugs, especially the bogus definition of UMAPFS.
1999-08-30 03:26:45 +00:00
Bill Paul 1ef8fbeabf Convert the 3Com XL driver to miibus. This one is a little tricky
due to the fact that there are non-MII cards supported by the same
driver and I don't have all of the cards available for testing. There's
also the 3c905B-COMBO which has MII, AUI and BNC media ports all in one
package. Supporting the COMBO is difficult because we have to add the
10base5 and 10base2 media types to the same ifmedia struct as the
MII-attached types, however there is no way to force the miibus and
child PHYs into existence before xl_attach() completes, so there is
no ifmedia struct available in xl_attach(). What we do inistead is
use the mediainit method as a callback: when a child PHY is attached,
it calls the miibus mediainit routine which selects a default media.
This routing also calls the NIC driver's mediainit method (if it
implements one) at which point we can safely add the other media
types.
1999-08-29 15:52:19 +00:00