summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/fxp.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* eliminate unnecessary interface resets in fxp_ioctl()martin2006-12-131-10/+4
|
* ANSIbrad2006-11-051-71/+30
|
* fix fxp(4) so that it will reset the link when you change the speed... Thisbrad2006-10-261-1/+7
| | | | | | | | | | | | will fix a problem where you boot w/ the default of autoselect, but then set the speed to 100/full, the switch will keep the autoselect/100/full negotiation... This will continue to work till someone resets the switch or unplugs the cable resulting in the switch failing to autoneg and falling back to 100/half, causing a hard to track down duplex mismatch.. From nCircle Network Security, Inc. via FreeBSD Tested by ckuethe@, pedro@, brad@, craig at creative dot com dot au
* (fxp/re)_attach_common -> (fxp/re)_attachbrad2006-07-011-2/+2
|
* Attach routines can fail before calling *hook_establish(), and theykrw2006-05-221-3/+5
| | | | | | | | often rely on the detach routine for cleanup. So be consistant and careful by checking for a NULL hook before calling *hook_disestablish in detach routines. ok mickey@ brad@ dlg@
* allow bpf(4) to ignore packets based on their direction (inbound ordjm2006-03-251-3/+4
| | | | | outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@
* remove vlan header.brad2006-03-041-2/+1
|
* Disable the minimum size frame bundling when using the CPUSaver microcode.brad2006-01-051-10/+29
| | | | | | This could cause 2 interrupts per frame if the frame size is below 128 bytes. From Dmitry Bogdan <dsb at imcs dot dvgu dot ru>
* load the CPUSaver 102E microcode for the 82551 Rev 10 chip.brad2006-01-051-1/+4
| | | | From the Intel e100 driver.
* splimp -> splnetbrad2005-11-071-7/+7
|
* remove netns crud.henning2005-06-081-22/+1
| | | | | some drivers actually had hooks for SIOCSIFADDR, most just useless includes "looks good" deraadt miod brad
* - fix reception of VLAN sized frames on 82558 and upbrad2005-05-271-14/+26
| | | | - add support for reception of VLAN sized frames on 82557
* move IFQ_SET_MAXLEN to just above IFQ_SET_READYbrad2005-05-131-6/+2
|
* add microcode to support interrupt mitigation on thebrad2005-04-241-1/+4
| | | | | | 82551 F stepping chipset. From FreeBSD via Dmitry Bogdan <dsb at imcs dot dvgu dot ru>
* unbreak by killing volatile from fxp_mdi_read(). No binary change.hshoexer2005-02-031-3/+3
| | | | ok mickey
* make prototype match function for fxp_mdi_read.kevlo2005-02-031-2/+2
| | | | | ok millert@ CVS ----------------------------------------------------------------------
* rev 1.85brad2005-01-151-2/+9
| | | | | | | Newer chips do not need the receiver lock-up workaround; detect when it is required. From NetBSD
* make sure interface is in RUNNING state before touching the multicast filtersbrad2005-01-151-2/+3
| | | | | | | | From NetBSD NetBSD PR 27678 for details ok mcbride@
* use PCI Memory Write and Invalidate; from bogdan@eastonline.ru, ok pascoederaadt2005-01-141-2/+5
|
* change FXPF_UCODE to mean "firmware load attempted". if the firstderaadt2004-12-231-1/+2
| | | | | | loadfirmware() fails because the file is missing, we do not want to try again when the first softclock -> fxp_stats_update -> fxp_init happens later. calling namei in that context is really bad; tested by mcbride
* Use vfs firmware loader for fxp(4) interrupt coalescing microcode.grange2004-12-221-37/+29
| | | | | | | Initial work by Dmitry Bogdan <bogdan@eastonline.ru> with a help from me and Theo. ok deraadt@
* Defer reinitialisation of the RU until after the interrupt handler has hadpascoe2004-12-081-10/+17
| | | | | | | | | | a chance to process all pending packets, otherwise the chip may overwrite their mbuf clusters after we have freed them. Eliminates a race that can cause random pool corruption when reconfiguring an interface under heavy network load. ok brad@ mcbride@ beck@ deraadt@ dlg@
* struct ucode.length should be in number of elements (u_int32_t), notdhartmei2004-11-071-2/+2
| | | | | number of bytes. reported by Pyun YongHyeon, patch from mickey@, ok deraadt@
* remove if NVLAN around IFCAP_VLAN_MTUbrad2004-09-281-4/+2
|
* remove software-based workaround for the resume issue.brad2004-09-201-18/+2
| | | | ok beck@
* whitespace cleanupmarkus2004-09-161-9/+1
|
* interrupt coalescing on post 82557 chips; from freebsd via Dmitry Bogdan <dsb@poi.dvo.ru>mickey2004-08-041-11/+139
|
* rearrange config-time printfsderaadt2004-07-121-16/+17
|
* stop passing an empty enaddr around since we figure out thebrad2004-06-271-3/+3
| | | | | | | | MAC address in the common attach code and not the PCI/CardBus specific portions, this was a side effect of the code being split to support CardBus. ok beck@
* fix from netbsd to twiddle the fxp eeprom to disable dynamic standby modebeck2004-05-181-3/+114
| | | | | | on cards that have issues with this creating pci errors in 10 mbps mode tested by many, including me, nick, and pval. ok jason@, markus@
* Check for and handle interface CRC errors.beck2004-05-181-1/+9
| | | | | testing by me, pval, nick, others... ok jason@, marco@
* network drivers don't need to include bpfdesc.htedu2004-05-121-2/+1
| | | | ok krw@ canacar@
* Fix nasty bug where driver would not correctly catch and handle an rnrbeck2004-05-011-13/+14
| | | | | | | | | condition when it was due to the the recieve buffers being exhausted with no packet transmits during that time. Symptom was that the fxp would simply stop interrupting for the next 15 seconds until the watchdog kicked in and reset the chip due to 15 seconds of inactivity, making the fxp very poorly behaved when hammered on hard. ok deraadt@
* Allocate rx buffer mbuf clusters at ifconfig time, release them when themcbride2004-04-261-6/+36
| | | | | | | interface is configured down. FXP_NRFABUFS_MIN clusters are allocated at all times as they are used by the driver to send commands to the card. ok deraadt@
* Fix incorrect error message (rx dma map, not tx).mcbride2004-04-151-2/+2
|
* when reading eeprom for the address, DELAY(4) during the operations.deraadt2004-01-201-13/+13
| | | | | added by netbsd to support cats machines, but i ran into it on the alpha cs20's fxp0 when additional bits got set or reset randomly
* typo from Pedro Martelletto;jmc2004-01-081-2/+2
|
* no vtophys(), don't need uvm_extern.h anymore.brad2003-12-291-3/+1
| | | | | | tested on alpha, i386, macppc and sparc64. ok millert@ mickey@
* htole vs letoh (no functional changemickey2003-12-231-2/+2
|
* typos from Tom Cosgrove;jmc2003-10-211-3/+3
| | | | | | | | Tom: I did not commit a couple of your changes. i did not include some punctuation fixes (full stops, etc.) mnemorable -> mnemonic: i decided memorable was probably better instrunctions -> instruction: i kept the plural
* The statistics are wrong endian. "netstat -i" now gives sane results.henric2003-05-281-9/+9
| | | | ok pb@
* use a nop with I bit set at the end of the tx chain. This avoids a racejason2003-02-191-7/+11
| | | | | | between status update and clearing the suspend bit on machines which can't write data smaller than 32bits at a time. Diff is the work of pefo, he just has been slacking too much to commit =)
* Bigendian support for fxp, work from pefo with cleanups, ok art@ and others.drahn2002-10-171-61/+107
|
* spelling; from Brian Poole <raj@cerias.purdue.edu>todd2002-06-141-2/+2
|
* a step towards consistancy; in general:todd2002-06-091-18/+18
| | | | | 'struct arpcom foo' -> 'struct arpcom sc_arpcom' ok itojun@
* When collecting the completed tx descriptors, dmasync all of themart2002-05-131-1/+3
| | | | | before reading, not just the first one. jason@ ok.
* Don't leak memory when bus_dmamap_load_mbuf fails.art2002-05-131-2/+4
|
* Zap an unsued define.art2002-05-101-10/+1
|
* What we store on all archs just before the rfa is a pointerart2002-05-101-2/+2
| | | | | to a bus_dmamap_t, not a bus_dmamap_t (just a cosmetic change, bus_dmamap_t is a pointer on all archs, but this was confusing)
* Missing splxart2002-03-151-1/+2
|