summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_lmc.c
AgeCommit message (Collapse)Author
2011-07-07use IF_LEN/IFQ_LEN to access and ifqueue's length field. ryan okHenning Brauer
with this nothing in the tree fiddles if ifqueue internals any more, of course except if.c and if.h (and some altq)
2010-01-04remove dead assignment and newly created unused variable.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok krw@ dlg@
2006-05-13add IFQ_SET_MAXLENBrad Smith
2006-03-25allow bpf(4) to ignore packets based on their direction (inbound orDamien Miller
outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@
2006-03-16Move lmc_system_errors[] so that there is only one instance of it in theMiod Vallat
code instead of four; shaves more than 1KB off GENERIC.
2005-11-07first round of lmc(4) cleaning. removes a good portion of the ifdefBrad Smith
crud making this readable. ok dlg@
2005-11-05add bus_dma and big endian support.Brad Smith
From NetBSD Thanks to Jason Ackley for testing on i386/amd64/sparc64 with both T1 and T3 cards. "looks ok" dlg@
2004-11-28In kernel pppoe client, a simple IPv4 only implementation.Can Erkin Acar
Initial porting from NetBSD by David Berghoff. Modified/simplified to match our sppp implementation. ok deraadt@
2004-05-12network drivers don't need to include bpfdesc.hTed Unangst
ok krw@ canacar@
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
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@
2002-06-30allocate sockaddr_dl for ifnet in if_alloc_sadl(), as we don't always knowJun-ichiro itojun Hagino
the size of sockaddr_dl on if_attach() - for instance, see ether_ifattach(). from netbsd. fgs ok
2002-06-02withough -> withoutTheo de Raadt
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
(Look ma, I might have broken the tree)
2001-09-11Don't include <vm/vm_kern.h> if you don't need foo_map.Miod Vallat
2001-08-12absolutely no need to include vm_parm.h after vm.hMichael Shalayeff
2001-07-09Remove dubious #include MACRO "string" construct (non-ANSI)Marc Espie
and use the more correct #include <file.h> style. From discussion with millert@.
2001-06-27ALTQ'ify network drivers.Kenjiro Cho
- 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).
2001-06-27recieve -> receiveNathan Binkert
2001-05-05Get rid of CLSIZE and all related stuff.Artur Grabowski
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.
2000-04-27Cleanup SIOCSIFMTUChris Cappuccio
2000-02-06Maintain tx clock state and set RED LED appropriately for SSI cardChris Cappuccio
2000-02-06Make LEDs (mostly) accurate for all models instead of just LMC1000Chris Cappuccio
Actually call media-specific watchdog section that was added in last commit Play with tulip bits in lmc_watchdog
2000-02-01general cleanup (remove LMC_IOMAPPED crud entirely)Chris Cappuccio
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)
1999-12-15Require privileges in LMCSIOINFO.Angelos D. Keromytis
1999-07-01lmc driver; ported by chris@dqc.orgTheo de Raadt