summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2004-12-18Use SIU_TASKMGMT_* defines from scsi_all.h rather than local duplicates.Kenneth R Westerback
2004-12-18use tick instead of ticks. thanks to hannes at mehnert dot org.Reyk Floeter
2004-12-17Fix printf in loadfirmware error path.Alexander Yurchenko
2004-12-17Support for the eap MIDI UART from NetBSD.Jonathan Gray
Tested by serveral people. ok millert@, mickey@
2004-12-17rev 1.62Brad Smith
Possibloe fix for some bge chip revisions taking a long time to reset (e.g., polling for a half-second or more at splnet(), blocking most interrupts, durin an ifconfig down/ifconfig up). Appears to help for a 5704C rev A3, which is the only chip I've ever seen that had even a mild version of the reported problem. rev 1.61 Check for BGE_PCI_PCISTATE register failing to revert on reset. if it occurs, print a message indicating why the reset took so long. From NetBSD
2004-12-17add missing braces.Brad Smith
From FreeBSD
2004-12-16rev 1.71Brad Smith
* Set buffer management high water marks for MTU > 1514. * Set BGE_MAX_RX_FRAME_LOWAT (from Linux driver). rev 1.25 * Update onchip buffer tunables to recommended values from Linux drivers. * Increase Tx interrupt-coalescing thresholds, to reduce Tx-done interrupts. From NetBSD ok krw@
2004-12-16Make sure ifp->if_baudrate is valid when the parent's statchgBrad Smith
callback is made. From NetBSD
2004-12-16Delete VL/EISA cruft left over from ahc.Kenneth R Westerback
2004-12-14Fix off-by-one. From FreeBSD r1.87. Also in NetBSD. Field being filledKenneth R Westerback
(sk_vpd_readonly) is not currently used, but the memory being tromped on might be. ok millert@.
2004-12-14typhoon microcode file buildTheo de Raadt
2004-12-14txp(4) late firmware loading, written somewhere over the pacific, testedTheo de Raadt
by mcbride, reduces size of the kernel
2004-12-13endian fixes, ie, atu will now work on big endian architectures.David Gwynne
2004-12-13set the buffer up before we try to use it. fixes a panic on sparc64 whichDavid Gwynne
didn't manifest on i386 for some reason.
2004-12-13regenKevin Lo
2004-12-13add ATI Radeon Mobility 9200. ok deraadt@Kevin Lo
2004-12-13Oops. Missed one chunk when sync'ing with FreeBSD r1.30.Kenneth R Westerback
2004-12-13Use millisends rather than microseconds in parameters to timerKenneth R Westerback
functions, and ultra-conservative calculations, to avoid possible overflow issues. Also consistant with values passed in scsi requests. Whitespace and comment tweaks. Update FreeBSD tags now that we are sync'd to the latest version. From FreeBSD aic79xx.c r1.33, aic79xx.h r1.23, aic_osm_lib.h r1.4.
2004-12-12unbreak after last commit to bge(4)Brad Smith
2004-12-12use quirk flags where appropriate.Brad Smith
Based on NetBSD driver ok krw@
2004-12-12wait till we have root mounted before trying to upload firmwaresDavid Gwynne
2004-12-12syncTheo de Raadt
2004-12-12support 3 buffalo pcmcia ns2k devices found in japan (one of which is CF)Theo de Raadt
2004-12-12remove old microcode includeTheo de Raadt
2004-12-12fix protoTheo de Raadt
2004-12-12a hack to read MAC address correctly on big endian; ok drahnPeter Valchev
however a correct clean way to do this should be found
2004-12-12backout the original method of reattaching a usb device now that we haveDavid Gwynne
something better and more flexible to use.
2004-12-12do a better reattachement of this deviceDavid Gwynne
2004-12-12get rid of uhub_reset_deviceDavid Gwynne
2004-12-12better way to do the reattachement of a deviceDavid Gwynne
2004-12-12add quirk lookup table, isn't used for anything at the momentBrad Smith
except printing the ASIC model and rev in dmesg. will be used instead of checking ASIC revs all over the place. From NetBSD
2004-12-11nForce3-250, From: Brent Graveland <brent@graveland.net>, grange okHenning Brauer
2004-12-11syncHenning Brauer
2004-12-11nForce3-250 shitzHenning Brauer
2004-12-11- cosmeticsPeter Valchev
- don't call re_rxeof unneededly twice in some cases, from FreeBSD prodded by brad
2004-12-11rev 1.11Brad Smith
When stopping the various functional blocks of the chip, clear the bit and then read it back in a loop (with appropriate delays) waiting for it to read back clear. This fixes a problem where the bus would hang when bringing down the interface or changing interface flags on a system with a sufficiently fast CPU (e.g. 2GHz P4 Xeon). From NetBSD ok krw@
2004-12-11rev 1.51Brad Smith
When reading PHY regs over the i2c bus, the turnaround ACK bit is read one clock edge too late. This bit is driven low by slave (as any other input data bits from slave) when the clock is LOW. The current code did read the bit after the clock was driven high again. From FreeBSD
2004-12-11Invert the polarity of two tests in the recovery code that could causeKenneth R Westerback
the driver to issue a bus reset more quickly than intended. We want to wait if we find another SCB that could be the cause of this timeout, not proceed to a bus reset. This code is currently inside an #ifdef 0/#endif pair. From FreeBSD aic79xx.c r1.32.
2004-12-11Correct a very rare case where command ordering could be compromisedKenneth R Westerback
by a transaction performing a driver handled message sequence (an scb with the MK_MESSAGE flag set). Full details on changes in FreeBSD commit message. From FreeBSD aic79xx.c r1.30, using microcode generated from just committed new source. Tested in August by marco@.
2004-12-11Update microcode source prepatory to updating microcode and aic79xx.c.Kenneth R Westerback
From FreeBSD aic79xx.reg r1.18 and aic79xx.seq r1.17.
2004-12-10fix mbuf defragmentationDamien Bergamini
2004-12-10Turn on the BUSFREEREV bug for the Rev. B controller. This is requiredKenneth R Westerback
to close the 'busfree during non-packetized phase' hole. From FreeBSD aic79xx_pci.c r1.20.
2004-12-10Factor out repeated code into ahd_done_with_status().Kenneth R Westerback
From FreeBSD aic79xx.h r1.20 and aic79xx.c r1.30.
2004-12-10rev 1.5Brad Smith
Put some delay in the loops that poll for MII transaction completion. Without this, reading the PHY can hang the bus on a sufficiently fast CPU. From NetBSD
2004-12-10Include scsi id in debug message for queued SCB's.Kenneth R Westerback
From FreeBSD aic79xx_inline.h r1.16.
2004-12-101) Don't manually fiddle with dma address of jumbo buffer after m_adj().Kenneth R Westerback
2) Create tx_map's large enough to map jumbo buffers. 3) Set length of jumbo frame to BGE_JLEN rather than ETHER_MAX_DIX_LEN. 4) Activate jumbo rx ring when MTU changed. (From FreeBSD). Makes jumbo frames work on bge. ok brad@.
2004-12-10more Broadcom ids taken from the Linux driver.Brad Smith
2004-12-10regenBrad Smith
2004-12-10more Broadcom ids taken from the Linux driver.Brad Smith
2004-12-09regenBrad Smith