summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/fxpvar.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add a DVACT_WAKEUP op to the *_activate() API. This is called after thederaadt2013-12-061-3/+2
| | | | | | | | kernel resumes normal (non-cold, able to run processes, etc) operation. Previously we were relying on specific DVACT_RESUME op's in drivers creating callback/threads themselves, but that has become too common, indicating the need for a built-in mechanism. ok dlg kettenis, tested by a sufficient amount of people
* replace workqs with tasks for handling resumedlg2013-11-141-2/+2
| | | | from kimberley manning
* After suspend/resume, reload the firmware. Skip firmware onderaadt2012-04-031-3/+7
| | | | FXP_REV_82550_C with server extensions.
* remove the powerhook code. All architectures now use the ca_activate treederaadt2010-09-071-2/+1
| | | | | traversal code to suspend/resume ok oga kettenis blambert
* Since the pci-specific activate function does nothing, move it to fxp.c.deraadt2010-08-271-1/+4
| | | | Then it is possible for fxp_powerhook to use it.
* ca_activate for suspend/resume; tested by andrew@afresh1.comderaadt2010-08-061-1/+3
|
* Add detach support to a few more drivers, and in others do the neccessaryderaadt2009-10-151-2/+2
| | | | | | operations in the detach function in the right order. Also ensure that the interrupt handlers not trust registers that go away. read over very carefully by dms, tested by me
* More cases of shutdown hooks not needed after card is already stopped. Inderaadt2009-08-101-2/+1
| | | | | | these cases the xxstop function is a bit more complicated and has a flag of some sort, but the use of that flag does not matter; DMA is already ceased ok dlg
* Make fxp at pci detachable; untested.jsg2009-06-021-1/+2
|
* Some fxp(4) chips do not like having their status/command registers accessedbrad2008-02-211-5/+1
| | | | | | | | | | | as 8-bit reads/writes even though they are 16-bit. This can cause the respective interfaces to lock up until the system is hard rebooted. Having the driver read/write to these registers as 16-bit entities resolves the instability. From mickey@ ok krw@ sthen@ dlg@
* Gently nudge up the interrupt coalescing timeout to 128 microseconds. Thisckuethe2007-05-281-2/+2
| | | | | | gives the firmware time to do its job. Makes my fxps go from 12000int/sec while moving 100Mbps to 3000int/sec ok beck claudio
* put more foo_detach() routines where they are usedderaadt2007-05-081-2/+1
|
* (fxp/re)_attach_common -> (fxp/re)_attachbrad2006-07-011-2/+2
|
* Disable the minimum size frame bundling when using the CPUSaver microcode.brad2006-01-051-1/+14
| | | | | | 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>
* - fix reception of VLAN sized frames on 82558 and upbrad2005-05-271-2/+1
| | | | - add support for reception of VLAN sized frames on 82557
* rev 1.85brad2005-01-151-1/+2
| | | | | | | Newer chips do not need the receiver lock-up workaround; detect when it is required. From NetBSD
* use PCI Memory Write and Invalidate; from bogdan@eastonline.ru, ok pascoederaadt2005-01-141-1/+2
|
* change FXPF_UCODE to mean "firmware load attempted". if the firstderaadt2004-12-231-2/+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
* meant to commit this too, remove old resume workaround flagsbrad2004-09-201-4/+1
|
* interrupt coalescing on post 82557 chips; from freebsd via Dmitry Bogdan <dsb@poi.dvo.ru>mickey2004-08-041-2/+30
|
* stop passing an empty enaddr around since we figure out thebrad2004-06-271-2/+2
| | | | | | | | 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-1/+2
| | | | | | 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@
* Howe eye wysh eye cud spel.mcbride2004-04-261-5/+6
|
* Typos: defintion -> definition, proccess -> processmiod2003-09-261-2/+2
| | | | | There are more occurences hiding in binutils, lynx and afs but I am too lazy to report them upstream at the moment.
* Bigendian support for fxp, work from pefo with cleanups, ok art@ and others.drahn2002-10-171-1/+5
|
* a step towards consistancy; in general:todd2002-06-091-2/+2
| | | | | 'struct arpcom foo' -> 'struct arpcom sc_arpcom' ok itojun@
* First round of __P removal in sysmillert2002-03-141-4/+4
|
* Switch everything to the new bus_dmamap_sync API.art2001-11-051-14/+6
| | | | | Most work by Wilbern Cobb <vedge@csoft.org> with some fixes from me, mickey@ and drahn@.
* Remove all of the last vestiges of vtophys (namely RFA's):jason2001-09-171-1/+12
| | | | | | | o stash bus_dmamap_t in the mbuf cluster (alignment fudge is now 2+sizeof(bus_dmamap_t) o borrow FXP_RXMAP_{GET|PUT} macros from NetBSD o move a few definitions around to make it all work
* deal with 5 arg form of bus_dmamap_sync() if available.jason2001-08-251-1/+29
|
* - make transmit use linked lists not indexed arrays (more like it was when I started)jason2001-08-101-2/+4
| | | | - also, only bus_dmamap_unload() loaded maps in fxp_stop()
* - scb_wait() is now time based (not cpu speed based)jason2001-08-091-8/+32
| | | | | - rearrange multicast setup to be part of init - convert cu operations to bus_dma(9) (still have to do RFA ops).
* From NetBSD, 82562 requires a nop before a resume (tested by mickey)jason2001-06-131-1/+5
|
* Support detach of fxp devices to allow ejection of Intel CardBus adapters.aaron2000-09-171-1/+4
|
* Convert to new timeouts. (art@ ok)ho2000-07-201-1/+2
|
* Turn on a bit (for 82558/82559 only) which disables the chip'schris2000-04-261-1/+2
| | | | | | | builin feature to discard frames >1500 bytes (useful for jumbo frames, also 802.1Q VLANs) ok aaron@
* split fxp into bus independent and dependent (pci) parts (cardbus to come)jason2000-04-181-0/+83