summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_de.c
AgeCommit message (Collapse)Author
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-21Correct some pryntf() usage: get the correct number of arguments in theMiod Vallat
correct order.
2001-09-11Don't include <vm/vm_kern.h> if you don't need foo_map.Miod Vallat
2001-08-25Change pci_intr_map to take pci_attach_args as an argument.Artur Grabowski
All callers actually took all arguments to pci_intr_map from pci_attach_args structs, so this simplifies code. This also allows more complicated interrupt assignment schemes like the one on sparc64. This makes sparc64 pci interrupts work. Inspired by the same change in NetBSD.
2001-08-12absolutely no need to include vm_parm.h after vm.hMichael Shalayeff
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-12Make pci_mapreg_map take an extra argument where we canNiklas Hallqvist
put a size limitation of the PCI region to map. That makes the PERC 3/Di raid controller usable, as it publishes too much PCI memory for us to map in the kernel virtual memory. As we only access the first 256 byte it is of no use to map 128MB of kvm.
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.
2001-02-03new timeout, space controlMichael Shalayeff
2000-04-27Previous commit contained things that I want to keep local for nowChris Cappuccio
2000-04-27Remove MTU cruftChris Cappuccio
1999-07-18Added pci_mapreg* interface from NetBSD.Constantine Sapuntzakis
Added PCI 2.2 stuff from NetBSD Modified if_de to use mapreg interface
1999-02-26compensate for the fact that the check for ownership of a unicast packetJason Wright
has moved to ether_input()
1999-02-04correct attach printing for 4-port cardsTheo de Raadt
1999-01-11remove pnic stuffJason Wright
1998-12-02cogent-compatible adapters appearing in an adaptec ethernet block rangeTheo de Raadt
1998-10-28Partial merge from netBSD 102498. Seems to fix autonegotation difficultiesConstantine Sapuntzakis
on Bay Networks FA310TX card.
1998-10-08Support for the Lite-On PNIC found on Netgear FA310TX rev D1 andJason Wright
several other boards.
1998-09-09Dont swab the data twice, only when assiging to the structure.Dale S. Rahn
This only affect big endian machines (powerpc).
1998-08-28Changes to make if_de driver work on big endian machines with a 21040 basedDale S. Rahn
card. Tested on i386 and alpha. Could use some cleanup to swab constants instead of variables, so that the compiler can do the work, not the processor.
1998-08-07com.c needs to know about mem mapped ports in ppc systems.Per Fogelstrom
ncr.c and if_de.c needs some hooks for systems with ncr and dec ether chips on the motherboard that runs on odd clocks and doesn't support a srom. srom is emulated in machine dependent code. big endian support for ncr and dec ether finished. the 21040 have some more coding requirements if it is to run BE since it does not have the descriptor endian swap configuration bit.
1998-05-28do not panicTheo de Raadt
1998-05-22EM100FXTheo de Raadt
1998-02-22GCC 2.8 -WallNiklas Hallqvist
1998-01-07now this is really prettyTheo de Raadt
1998-01-05new style pci attach printingTheo de Raadt
1997-11-16compile on alpha, needs testingTodd C. Miller
1997-11-13merge netbsd 1.56.2.1 for de500B (and other 21143) supportJim Rees
1997-10-20Few minor changes to make if_de work big endian on 21140Per Fogelstrom
1997-07-29Support BSD/OS 2.1, add OpenBSD tags.Jason Downs
1997-07-28prettyTheo de Raadt
1997-06-24Force driver into store-forward mode on cards that support it. This increasesConstantine Sapuntzakis
reliability (less underflows) at the expense of speed.
1997-06-20Comment out some superfluous const declarations that cause cast warningsgrr
with gcc/alpha. We have bcopy(const void *...) so casting a const foo *bar as in bcopy((caddr_t) bar,...) for bcopy seems to be fairly pointless in the first place, but there are too many of these to hack out at the moment.
1997-06-18csapuntz@lcs.mit.edu: Port of NetBSD tulip driver. Works with new ↵dm
(21140-AC-based) SMC Etherpower cards.
1997-04-10These two was not ready for commit yet. Backed out.Per Fogelstrom
1997-04-10Add Matrox MystiquePer Fogelstrom
1996-12-19do SIOCGIFADDR in ether_ioctlMichael Shalayeff
1996-11-28Adaption to new bus.h from NetBSD. Various driver has been updated toNiklas Hallqvist
NetBSD 961107 state. Other has not, partly because sometimes the bus.h changes was coupled with other changes.
1996-11-12s/bus.h/bus.old.h/ to make the transit to the bus_space bus.h an easy roadNiklas Hallqvist
possibly taken in small steps
1996-08-23__OpenBSD__ messup fixedNiklas Hallqvist
1996-08-21check for __OpenBSD__, prep for tossing __NetBSD__?Theo de Raadt
1996-06-10sync to 0607Theo de Raadt
1996-05-26sync 0521Theo de Raadt
1996-05-10if_name/if_unit -> if_xname/if_softcTheo de Raadt
1996-05-07sync with 0504 -- prototypes and bus.hTheo de Raadt
1996-05-05add general ether_ioctl call in net/if_ethersubr.c,Michael Shalayeff
NS,IPX,X.25 special processing is now handled in there. reflect this amazing addition in all the ether ifaces. ppl, pls check the stuff.
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-04-18NetBSD 960317 mergeNiklas Hallqvist
1996-03-05sc_dev -> tulip_devdm
1996-02-20Pass device name to interrupt establish routines so it can be recorded inThorsten Lockert
the device interrupt chain structures (isa, pci) Move interrupt chain structure definition to <machine/psl.h> so vmstat can get at it (i386) Remove hack to count interrupts the old way (i386)