summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_ti.c
AgeCommit message (Collapse)Author
2004-12-08use ETHER_MAX_LENJonathan Gray
ok brad@
2004-11-22build a tigon firmware file. Saves 150KB or so in GENERIC kernelsTheo de Raadt
2004-09-23don't need to set ifp->if_mtu or ifp->if_output in each driver,Brad Smith
{ether,atm,fddi}_ifattach already does this. ok mcbride@ markus@ henning@
2004-09-19typo, or -> ofBrad Smith
2004-09-16If we can't allocate new jumbo storage, try to copy the packet into aRyan Thomas McBride
new mbuf chain with m_devget() before recycling the jumbo storage. Frome if_sk.c ok deraadt@
2004-08-19#ifdef TI_VERBOSE around "no free jumbo buffers" printf.Ryan Thomas McBride
2004-08-05remove some separate per driver constants and useBrad Smith
ETHER_MAX_LEN_JUMBO/ETHERMTU_JUMBO where appropriate. ok mcbride@ henning@ mickey@
2004-06-18Fix jumbo frames.Ryan Thomas McBride
- Implement SIOCSIFMTU ioctl. - Remove from the free list instead of the inuse list when allocating jumbo buffers. - Use TI_JUMBO_FRAMELEN as the size argument to bus_dmamap_create();
2004-05-31Enable all multicast if we encounter a range.Ryan Thomas McBride
2004-04-09do not whine if we cannot get mbufs. the countless printfd makes the machineHenning Brauer
crawl under mbuf starvation, making the situationmuch worse, and don't make sense in the first place. ok tdeval@ millert@ beck@ deraadt@
2003-12-16BecuaseTheo de Raadt
2003-10-26typos from Jared Yanovich;Jason McIntyre
2003-03-06add support for vlan tagging correctly; from Chris PascoeJason Wright
2003-03-05no \n in panic(); rimshot@pandora.beTheo de Raadt
2003-02-26split encap and txeof functions into ones for tigon1 and tigon2Nathan Binkert
2003-02-26don't do arithmetic on bus space handles. Instead, use bus_space functionsNathan Binkert
2003-02-20no trailing newline in panic(); PR 3103Henning Brauer
2002-12-04Make ti(4) use busdma and add all of the necessary stuff to support bothNathan Binkert
endian modes. This makes ti now work on macppc and sparc64. While we're at ti, clean up a bit of the code: Use SLIST instead of LIST Remove register Use bus_space instead of bcopy/bzero Don't use bitfields since it makes dealing with endianness annoying. ok jason@, deraadt@
2002-11-261000baseTX -> 1000baseTNathan Binkert
- More technically correct - Matches FreeBSD and NetBSD - Preserved #define for 1000baseTX for backwards compatibility ok jason@
2002-11-19Add a simplistic table driven lookup routine and use it where appropriate.Jason Wright
2002-10-03Use our defn of pci command registers, not freebsd'sJason Wright
2002-07-05Typo; stobe -> strobeAaron Campbell
2002-05-01make fw images const and fix ti for unneeded type casts; jason@ testing ans okMichael Shalayeff
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-15Don't cast nonexistent return value from splx to (void). ok art@Thomas Nordin
2002-01-11Check result from malloc(9) when using M_NOWAIT. fgsch@ okThomas Nordin
2001-12-13If initialization fails, panic right away, instead ofNiklas Hallqvist
crashing randomly a little later.
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-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-12remove redundant vm includesMichael Shalayeff
2001-07-03enable rx ip checksum offloadJason Wright
2001-07-03From FreeBSD:Jason Wright
mask off high order part of vlan tag (the non-tag parts)
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-06-24- vlan_input_tag() takes 2 args now.Federico G. Schwindt
- use ether_input_mbuf().
2001-06-24more ether_input_mbuf() conversion.Federico G. Schwindt
2001-06-18move microcodeTheo de Raadt
2001-05-17convert mbuf and cluster allocation to pool, mostly from NetBSDNiels Provos
okay art@ miod@
2001-05-07Now that if_vlan switches types to match it's parent, checking if_typeJason Wright
to see if it's IFT_8021Q_VLAN is no longer valid ; change test to M_PROTO1 being set and rcvif not being null.
2001-03-28uncomment and use code to determine whether we interrupted or notJason Wright
correct comment typo
2001-03-22Longstanding multicast bug causing eternal looping, unveiled by a recent commitNiklas Hallqvist
2001-03-14Follow openbsd model for multicast ioctl handlingJason Wright
2001-02-20for ethernet ifaces attach bpf from ether_ifattach; jason@, aaron@, itojun@ okMichael Shalayeff
2000-11-21From FreeBSD:Jason Wright
add support for the acenic copper and netgear ga620t (untested). This also updates the firmware to 12.4.13 for tigon 1, and 12.4.11+wpaul hacks for tigon 2
2000-09-19trailing spacesNiklas Hallqvist
2000-04-26Fix for if_vlan (FreeBSD)Chris Cappuccio
2000-02-15undo previous, temporarilyJason Wright
2000-02-15make sure to call ether_{add,del}multi() as appropriate in xxx_ioctl()Jason Wright
2000-01-18sync with FreeBSD: add Farallon PN9000SX as a matchJason Wright