summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/if_lmc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Send lmc(4) and san(4) to the HDLC framed bit bucket in the sky.deraadt2015-04-091-1377/+0
|
* Remove some includes include-what-you-use claims don'tjsg2015-03-141-3/+1
| | | | | | | have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@
* remove ^L characters. no binary change.dlg2015-02-271-9/+9
|
* Explicitly include <net/if_var.h> instead of pulling it in <net/if.h>.mpi2014-12-051-1/+2
| | | | ok mikeb@, krw@, bluhm@, tedu@
* remove uneeded proc.h includesjsg2014-09-141-2/+1
| | | | ok mpi@ kspillner@
* use IF_LEN/IFQ_LEN to access and ifqueue's length field. ryan okhenning2011-07-071-3/+3
| | | | | with this nothing in the tree fiddles if ifqueue internals any more, of course except if.c and if.h (and some altq)
* remove dead assignment and newly created unused variable.chl2010-01-041-4/+1
| | | | | | Found by LLVM/Clang Static Analyzer. ok krw@ dlg@
* add IFQ_SET_MAXLENbrad2006-05-131-1/+2
|
* allow bpf(4) to ignore packets based on their direction (inbound ordjm2006-03-251-4/+5
| | | | | outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@
* Move lmc_system_errors[] so that there is only one instance of it in themiod2006-03-161-1/+12
| | | | code instead of four; shaves more than 1KB off GENERIC.
* first round of lmc(4) cleaning. removes a good portion of the ifdefbrad2005-11-071-239/+7
| | | | | | crud making this readable. ok dlg@
* add bus_dma and big endian support.brad2005-11-051-125/+232
| | | | | | | | | From NetBSD Thanks to Jason Ackley for testing on i386/amd64/sparc64 with both T1 and T3 cards. "looks ok" dlg@
* In kernel pppoe client, a simple IPv4 only implementation.canacar2004-11-281-1/+2
| | | | | | Initial porting from NetBSD by David Berghoff. Modified/simplified to match our sppp implementation. ok deraadt@
* network drivers don't need to include bpfdesc.htedu2004-05-121-2/+1
| | | | ok krw@ canacar@
* change arguments to suser. suser now takes the process, and a flagstedu2003-08-151-2/+2
| | | | | | | | | argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@
* allocate sockaddr_dl for ifnet in if_alloc_sadl(), as we don't always knowitojun2002-06-301-1/+2
| | | | | the size of sockaddr_dl on if_attach() - for instance, see ether_ifattach(). from netbsd. fgs ok
* withough -> withoutderaadt2002-06-021-2/+2
|
* Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.miod2001-11-061-2/+2
| | | | (Look ma, I might have broken the tree)
* Don't include <vm/vm_kern.h> if you don't need foo_map.miod2001-09-111-2/+1
|
* absolutely no need to include vm_parm.h after vm.hmickey2001-08-121-2/+1
|
* Remove dubious #include MACRO "string" construct (non-ANSI)espie2001-07-091-2/+6
| | | | | | and use the more correct #include <file.h> style. From discussion with millert@.
* ALTQ'ify network drivers.kjc2001-06-271-11/+21
| | | | | | | | | | | - use the new queue macros. - use IFQ_POLL() to peek at the next packet. - use IFQ_IS_EMPTY() for empty check. - drivers should always check if (m == NULL) after IFQ_DEQUEUE(), since it could return NULL even when IFQ_IS_EMPTY() is FALSE under rate-limiting. - drivers are supposed to call if_start from tx complete interrupts (in order to trigger the next dequeue under rate-limiting).
* recieve -> receivenate2001-06-271-2/+2
|
* Get rid of CLSIZE and all related stuff.art2001-05-051-3/+3
| | | | | | | | | CLSIZE -> 1 CLBYTES -> PAGE_SIZE OLOFSET -> PAGE_MASK etc. At the same time some archs needed some cleaning in vmparam.h so that goes in at the same time.
* Cleanup SIOCSIFMTUchris2000-04-271-4/+4
|
* Maintain tx clock state and set RED LED appropriately for SSI cardchris2000-02-061-5/+26
|
* Make LEDs (mostly) accurate for all models instead of just LMC1000chris2000-02-061-8/+73
| | | | | Actually call media-specific watchdog section that was added in last commit Play with tulip bits in lmc_watchdog
* general cleanup (remove LMC_IOMAPPED crud entirely)chris2000-02-011-1/+4
| | | | | | | | add correct rcs tags sync w/lmc's lmc_media.c regarding watchdog support (So, the LEDs on the T1/T3 cards [the ones with built-in CSU/DSUs], and also the DS1 "SSI" card should now change according to various line conditions, as ths manual says they do)
* Require privileges in LMCSIOINFO.angelos1999-12-151-3/+2
|
* lmc driver; ported by chris@dqc.orgderaadt1999-07-011-0/+1393