summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_ti.c
AgeCommit message (Collapse)Author
2006-11-20Re-enable HW VLAN tagging.Brad Smith
2006-05-28- remove ETHER_MAX_LEN_JUMBO and ETHERMTU_JUMBO.Brad Smith
- use if_hardmtu for MTU ioctl handlers. ok reyk@
2006-05-28unknown ioctl is ENOTTY not EINVALJason Wright
2006-05-27remove IFCAP_JUMBO_MTU interface capabilities flag and set if_hardmtu in a fewBrad Smith
more drivers. ok reyk@
2006-05-20set if_jumbo_mtu and the IFCAP_JUMBO_MTU capabilities flag whereBrad Smith
appropriate. ok reyk@
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-16if the link is down then show a media status of none.Brad Smith
2006-03-16tidy up a bit.Brad Smith
2006-02-16Only set HW VLAN assist flag when IFCAP_VLAN_HWTAGGING is set.Brad Smith
2006-02-16disable HW VLAN tagging.Brad Smith
2006-01-16Cache the TX producer index instead of reading it every time ti_start isBrad Smith
called. From FreeBSD
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