summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_ti.c
AgeCommit message (Collapse)Author
2005-10-10- remove a unused piece of code from ti_chipinit().Brad Smith
- add comment from the FreeBSD driver to ti_gibinit() explaining where the general information blocking is being placed by the driver.
2005-10-09some code cleaning..Brad Smith
- function return value on separate line - ANSI protos - remove return at end of void function - splimp -> splnet
2005-07-30sync nge/ti_alloc_jumbo_mem() to look like bge's bge_alloc_jumbo_mem()Brad Smith
2005-07-25don't bother with printf in *_jalloc()Brad Smith
2005-07-25- mbuf external storage is of (caddr_t), not (caddr_t *).Brad Smith
- simplify code a bit and use MEXTADD macro.
2005-07-18disable hardware vlan tag strippingCamiel Dobbelaar
tested by Janjaap Velthoven ok brad
2005-07-08- use ETHER_MAX_LEN_JUMBO in one more spotBrad Smith
- don't bother setting bad checksum flag, fallback on software
2005-07-08add a return here.Brad Smith
2005-07-07- the PCI layer enables bus mastering so don't bother again here.Brad Smith
- use pci_mapreg_map()
2005-07-03ETHERMTU_JUMBO -> ETHER_MAX_LEN_JUMBOBrad Smith
2005-07-03adjust tuneable for Jumbo caseBrad Smith
2005-07-03- when printing the "unsupported chip revision" message also print theBrad Smith
chip revision. - allow VLAN-sized frames even when not using hardware VLAN support. From FreeBSD - disestablish PCI interrupt on failure to attach. - allow reception of Jumbo frames by default. Based on a diff sent to me a long time ago by mcbride@
2005-07-02clear IFF_RUNNING & IFF_OACTIVE in foo_stop() before de-allocating resources.Brad Smith
2005-04-25csum -> csum_flagsBrad Smith
ok krw@ canacar@
2005-04-18- check for ETHERMIN with SIOCSIFMTU ioctl caseBrad Smith
- don't need to trim off anything but the VLID bits in the driver anymore
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