summaryrefslogtreecommitdiffstats
path: root/sys/modules
Commit message (Collapse)AuthorAgeFilesLines
* Use config's conditional compilation rather than using #ifdefs that makepeter2000-01-291-12/+1
| | | | | modular compilation harder. I'm doing this because people seem to like cut/pasting examples of bad practices in existing code.
* Restore to version 1.14. Only opt_inet.h is required again.brian2000-01-291-21/+1
|
* Add ${DEBUG_FLAGS} to CFLAGS in bsd.kmod.mk, not in scattered modulebde2000-01-2823-26/+0
| | | | | makefiles. Bad examples in fxp/Makefile keep getting copied to new makefiles.
* Move if_tun back to the common section now that it works on the Alpha.peter2000-01-271-2/+2
| | | | Tested by: make world
* Re-add vpo. I've just re-tested this in a 'make world' on a Decemberpeter2000-01-261-1/+1
| | | | | | | | | 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
* Remove `vpo' with a vengeance -- "EXAMPLE" modules have *NO* businessobrien2000-01-261-1/+1
| | | | | | being hooked up to the build system, *COMPILABLE WORKING* modules do. Not `make' tested by: Peter
* Don't use ATM on the alpha - it #errors out.brian2000-01-261-1/+5
| | | | Pointed out by: jdp
* if_tun is out of here -- it can come back with it stops breaking theobrien2000-01-261-2/+2
| | | | Alpha build.
* Move the *intrq variables into net/intrq.c and unconditionallybrian2000-01-241-7/+13
| | | | | | | | | | | 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
* Add an example vpo module. I don't have a zip drive to test it, but itpeter2000-01-232-1/+12
| | | | | behaves the normal way when loaded at runtime versus being statically compiled. (normal == print garbage on the printer :-).
* Get rid of some debugging cruft.n_hibma2000-01-231-9/+1
|
* Hmm, don't compile in INET6, IPX or NETATALK support for thebrian2000-01-231-3/+3
| | | | | moment :-( I think we need some sort of stub variable and a ``is this queue available'' flag.
* Allow if_ef driver to be compiled into kernel.bp2000-01-231-18/+9
|
* Support INET6, NETATALK and IPX as well as INET.brian2000-01-231-1/+11
|
* Do not explicitly create empty option files; they are takenyokota2000-01-201-8/+1
| | | | | | care of by bsd.kmod.mk. Pointed out by: bde
* Work around aparent bug in the .Dv macro by eliminating some spaces.archie2000-01-172-2/+2
| | | | The closing curly-brace in this line was being omitted somehow.
* This is the 3rd stage of syscons code reorganization.yokota2000-01-153-3/+3
| | | | | | | | | | | | | | | - 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.
* Grrr. Really add the module makefile for the Aironet driver.wpaul2000-01-141-0/+12
|
* Add driver support for the Aironet 4500/4800 series wireless 802.11wpaul2000-01-141-1/+1
| | | | | | | | | | | | | | 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.
* Add device driver support for USB ethernet adapters based on the CATCwpaul2000-01-142-1/+11
| | | | | | | | | | | | | | | | 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.
* Add opt_ukbd.h.yokota2000-01-121-2/+5
|
* Attempt to fix a problem with receiving packets on USB ethernet interfaces.wpaul2000-01-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* . add manpage for svr4(8)phantom2000-01-102-2/+53
| | | | . s/freebsd/FreeBSD
* Cleaned up options handling:bde2000-01-091-9/+4
| | | | | | - don't generate unusable headers or #defines. - removed duplicate opt_svr4.h in CLEANFILES. - removed bogus dependency of svr4.h on options headers.
* Compile svr4_genassym.c with ordinary ${CFLAGS}. The (small) need forbde2000-01-091-4/+3
| | | | | | | | | | | | -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.
* Compile linux_genassym.c with ordinary ${CFLAGS}. The (small) need forbde2000-01-091-3/+3
| | | | | | | | | | -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.
* Add device driver support for USB ethernet adapters based on thewpaul2000-01-052-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Remove non-functional 'all:' target.grog2000-01-041-19/+10
| | | | | | | | | | | | | 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.
* Fix typos per PR 15649. Also did some rewording for clarity.archie2000-01-032-34/+38
| | | | | PR: docs/15649 Submitted by: Kazuo Horikawa <horikawa@jp.FreeBSD.org>
* Remove -g compiler flag.marcel2000-01-031-1/+0
|
* o Add build-tools target for maketabs although it doesn't seem tomarcel2000-01-031-3/+5
| | | | | be used. I therefore won't add it to Makefile.inc1. o Remove -g compilation flags.
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"peter1999-12-292-5/+5
| | | | | | 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.
* This commit adds device driver support for the ADMtek AN986 Pegasuswpaul1999-12-282-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Use genassym(1) and <sys/assym.h> to generate assembler symbols.marcel1999-12-231-8/+3
|
* Use genassym(1) and <sys/assym.h> to generate assembler symbols.marcel1999-12-231-8/+3
|
* Revert previous checkin; I incorrectly thought that it was neededarchie1999-12-211-2/+0
| | | | | | due to having an old version of bsd.kmod.mk. Caught by: bde
* Manual page style work.julian1999-12-2137-281/+611
| | | | | Submitted by: Alexey Zelkin <phantom@FreeBSD.org> thanks!
* i82365_isasubr is gone, remove from building module.imp1999-12-191-1/+1
|
* Enable building of the OSF/1 compat module.gallatin1999-12-151-0/+4
|
* Finally add the Alpha OSF/1 compat code. I will add it to thegallatin1999-12-143-0/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Add module for if_ef driver and make it compile.bp1999-12-133-2/+157
|
* Add a run of Linux ldconfig.cracauer1999-12-131-1/+10
|
* Move mlx, ncp and nwfs to the common area, they build on the Alpha andpeter1999-12-121-3/+4
| | | | are marked cross-platform in conf/files..
* Zap unused CFLAGS += -DNCPpeter1999-12-121-1/+0
|
* Move mlx from x86-only to generic. It builds on the Alpha and is in thepeter1999-12-121-4/+0
| | | | common conf/files for the main kernel..
* Move amr from x86-specific to generic. (it's in the generic conf/filespeter1999-12-121-2/+2
| | | | in the main kernel and builds fine on the alpha here...)
* Don't waste time creating amr.h since it (and NAMR) aren't used.peter1999-12-121-4/+0
|
* Fix joy and put it back in the MI section. (yes, it works on Alpha)peter1999-12-122-6/+4
|
* Change "atapi" (the old one) from "present but broken" to "not present".peter1999-12-121-33/+0
|
* Remove a whole bunch of "CFLAGS+= -DFSNAME" cruft. It hasn't beenpeter1999-12-1215-24/+3
| | | | | | needed for ages, but keeps getting cut/pasted into new Makefiles. (Once apon a time it was used to activate mount arguments in <sys/mount.h>, but that was killed with extreme prejudice long ago)
OpenPOWER on IntegriCloud