summaryrefslogtreecommitdiffstats
path: root/sys/dev/pdq
Commit message (Collapse)AuthorAgeFilesLines
* Remove NBPF conditionality of bpf calls in most of our network drivers.phk1999-09-251-9/+0
| | | | | | | | | | | | This means that we will not have to have a bpf and a non-bpf version of our driver modules. This does not open any security hole, because the bpf core isn't loadable The drivers left unchanged are the "cross platform" drivers where the respective maintainers are urged to DTRT, whatever that may be. Add a couple of missing FreeBSD tags.
* $Id$ -> $FreeBSD$peter1999-08-286-6/+6
|
* Clean up after removing sys/eventhandler.h from sys/systm.h at the lastmsmith1999-08-211-1/+2
| | | | | minute. This should cover all of the missed cases (and should let LINT build again).
* Implement a new generic mechanism for attaching handler functions tomsmith1999-08-211-5/+6
| | | | | | | | | | | | | events, in order to pave the way for removing a number of the ad-hoc implementations currently in use. Retire the at_shutdown family of functions and replace them with new event handler lists. Rework kern_shutdown.c to take greater advantage of the use of event handlers. Reviewed by: green
* Move the specification of EDGE/LEVEL triggered interrupts tomdodd1999-08-011-3/+3
| | | | | | | | | | | | | | | | | eisa_add_intr() which now takes an additional arguement (one of EISA_TRIGGER_LEVEL or EISA_TRIGGER_EDGE). The flag RR_SHAREABLE has no effect when passed to bus_alloc_resource(dev, SYS_RES_IRQ, ...) in an EISA device context as the eisa_alloc_resource() call (bus_alloc_resource method) now deals with this flag directly, depending on the device ivars. This change does nothing more than move all the 'shared = inb(foo + iobsse)' nonesense to the device probe methods rather than the device attach. Also, print out 'edge' or 'level' in the IRQ announcement message. Reviewed by: dfr
* Don't use at_shutdown() now that we have new_bus which lets usmdodd1999-07-311-8/+11
| | | | | | specify a DEVICE_SHUTDOWN method instead. Reviewed by: me, since nobody else seems to run this hardware in -CURRENT
* Convert the if_fea (DEC FDDI) driver to newbus since it has been brokenpeter1999-07-101-400/+170
| | | | | | | for ages. This is the EISA wrapper for sys/dev/pdq/*. The pci bus driver is in sys/pci/if_fpa.c. Submitted by: "Matthew N. Dodd" <winter@jurai.net>
* Rename bpfilter to bpf.des1999-07-061-6/+6
|
* Simplify the COMPAT_PCI_DRIVER/DATA_SET hack. We can add:peter1999-05-091-5/+1
| | | | | | | | #define COMPAT_PCI_DRIVER(name,data) DATA_SET(pcidevice_set,data) .. to 2.2.x and 3.x if people think it's worth it. Driver writers can do this if it's not defined. (The reason for this is that I'm trying to progressively eliminate use of linker_sets where it hurts modularity and runtime load capability, and these DATA_SET's keep getting in the way.)
* Add sufficient braces to keep egcs happy about potentially ambiguouspeter1999-05-061-2/+3
| | | | if/else nesting.
* These two drivers have not been converted for newbus eisa yet.peter1999-05-021-1/+4
|
* Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn'tpeter1999-04-241-3/+6
| | | | hurt the driver portability to 3.x too much for where drivers are shared.
* Fix '|' that was supposed to be '||'dillon1999-01-271-2/+2
|
* Silence warnings.eivind1999-01-121-2/+2
|
* The previous commit was bogus. malloc(..., M_WAITOK) should not bebde1999-01-011-2/+6
| | | | | | | used in device attach routines. At least for attaches at boot time, actually waiting, or actually failing for malloc(..., M_NOWAIT), are almost equally unlikely and harmless, but using M_WAITOK interferes with automatic detection of bogus M_WAITOK's.
* probe function changed from returning char * to const char *.dillon1998-12-141-2/+2
|
* malloc(xxx, yyy, M_WAITOK) does not fail. This probably explains whyeivind1998-12-091-6/+2
| | | | the bug in the check had never been discovered.
* Fixed printf format errors. Only one left in LINT on i386's.bde1998-08-241-4/+4
|
* This commit fixes various 64bit portability problems required fordfr1998-06-071-2/+2
| | | | | | | | | | FreeBSD/alpha. The most significant item is to change the command argument to ioctl functions from int to u_long. This change brings us inline with various other BSD versions. Driver writers may like to use (__FreeBSD_version == 300003) to detect this change. The prototype FreeBSD/alpha machdep will follow in a couple of days time.
* Removed unused #includes.bde1998-02-203-19/+3
|
* Staticize.eivind1998-02-091-2/+2
|
* Make INET a proper option.eivind1998-01-083-5/+14
| | | | | | | | | | | | This will not make any of object files that LINT create change; there might be differences with INET disabled, but hardly anything compiled before without INET anyway. Now the 'obvious' things will give a proper error if compiled without inet - ipx_ip, ipfw, tcp_debug. The only thing that _should_ work (but can't be made to compile reasonably easily) is sppp :-( This commit move struct arpcom from <netinet/if_ether.h> to <net/if_arp.h>.
* Add shared EISA interrupt support.gibbs1997-09-211-2/+7
| | | | Clean up the match routines so that they return const char *
* Bruce wants the warning.peter1997-09-141-2/+2
|
* Fix a warning.peter1997-09-131-2/+2
|
* Removed unused #includes.bde1997-08-021-27/+1
|
* Removed unused #includes.bde1997-07-201-28/+1
|
* Removed unused #includes.bde1997-06-141-16/+1
|
* Don't include <sys/ioctl.h> in the kernel. Stage 2: includebde1997-03-241-2/+2
| | | | <sys/sockio.h> instead of <sys/ioctl.h> in network files.
* Don't include <sys/ioctl.h> in the kernel. Stage 1: don't includebde1997-03-242-4/+2
| | | | | it when it is not used. In most cases, the reasons for including it went away when the special ioctl headers became self-sufficient.
* Catch up with the moving target: merge the change from rev 1.19 of thejoerg1997-01-181-26/+22
| | | | | | | | | | now dead sys/pci/if_pdq.c which has been committed about by the same time i made my tests with Matt's code. LINT should compile now again. Well, that's a clear case where ``CVS writer locks'' would certainly (not) have helped. :-]
* This mega-merge brings Matt Thomas' 960801 FDDI driver (almost) upjoerg1997-01-174-42/+34
| | | | | | | | | | | | | to -current. Thanks goes to Ulrike Nitzsche <ulrike@ifw-dresden.de> for giving me a chance to test this. Only the PCI driver is tested though. One final patch will follow in a separate commit. This is so that everything up to here can be dragged into 2.2, if we decide so. Reviewed by: joerg Submitted by: Matt Thomas <matt@3am-software.com>
* This commit was generated by cvs2svn to compensate for changes in r21826,joerg1997-01-174-0/+3404
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Finally import the 960801 of Matt Thomas' DEC FDDI driver. I'mjoerg1997-01-174-0/+3404
| | | | | | | | | | importing it onto a vendor branch first, in the hope that this will make future maintenance easier. The conflicts are (hopefully) unimportant. More commits that actually bring this into the source tree will follow. Submitted by: Matt Thomas (thomas@lkg.dec.com)
* Finally import the 960801 of Matt Thomas' DEC FDDI driver. I'mjoerg1997-01-172-0/+1009
importing it onto a vendor branch first, in the hope that this will make future maintenance easier. The conflicts are (hopefully) unimportant. More commits that actually bring this into the source tree will follow. Submitted by: Matt Thomas (thomas@lkg.dec.com)
OpenPOWER on IntegriCloud