summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
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
2004-12-09add Broadcom BCM5721Brad Smith
Noticed in dmesg from <nick dot nauwelaerts at thomson dot com>
2004-12-09code to let us cause a detach and reattach of a device from softwareDavid Gwynne
ok deraadt@
2004-12-08Defer reinitialisation of the RU until after the interrupt handler has hadChristopher Pascoe
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@
2004-12-08remove the variables that used to make up the signal cache. nothing in atuDavid Gwynne
is using this now. from daan vreeken
2004-12-08remove some defines for timeouts that are no longer used thanks to net80211David Gwynne
from daan vreeken
2004-12-08syncMartin Reindl
2004-12-08add Mitsubishi Electronics Powerstorm 4D30T graphicsMartin Reindl
ok deraadt@
2004-12-08powerhook: em_init on resumeMarkus Friedl
2004-12-08powerhook: call wi_init on resumeMarkus Friedl
2004-12-08add pci powerhooks: save/restore cfg space; with claudio@, ok deraadt@Markus Friedl
2004-12-08use ETHER_MAX_LENJonathan Gray
ok brad@
2004-12-08Check if_type in carp_carpdev_state() to make sure we're notRyan Thomas McBride
dealing with a carp interface.
2004-12-08use ETHER_MAX_LENBrad Smith
2004-12-08use ETHER_MAX_LENBrad Smith
2004-12-08Falcom Twist-USB GSM/GPRS modem.Jonathan Gray
From David Coppa <caff at openbeer dot it> with tweaks from me.
2004-12-08regenJonathan Gray
2004-12-08Falcom Twist-USB GSM/GPRS modem.Jonathan Gray
From David Coppa <caff at openbeer dot it> with tweaks from me.