summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2004-06-27stop passing an empty enaddr around since we figure out theBrad Smith
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@
2004-06-24This moves access to wall and uptime variables in MI code,Thorsten Lockert
encapsulating all such access into wall-defined functions that makes sure locking is done as needed. It also cleans up some uses of wall time vs. uptime some places, but there is sure to be more of these needed as well, particularily in MD code. Also, many current calls to microtime() should probably be changed to getmicrotime(), or to the {,get}microuptime() versions. ok art@ deraadt@ aaron@ matthieu@ beck@ sturm@ millert@ others "Oh, that is not your problem!" from miod@
2004-06-24ultra minor KNFJun-ichiro itojun Hagino
2004-06-23Make AHD_DEBUG compile. ok krw@Marco Peereboom
2004-06-23Missed this in the atw(4) commit.Todd C. Miller
2004-06-22atw(4) driver from NetBSD (dyoung). Based in part on a port byTodd C. Miller
Matthew Gream. Unfortunately, the adm8211 card I have with me does not work correctly with the driver yet so real testing will have to wait until I get my hands on an adm8211-based DWL-650 or something similar.
2004-06-22Enable ahd interrupts and reset the channel before scanning the busKenneth R Westerback
for devices. This is how ahc is done too. Fixes probe hang on Theo's box with the 7902B chip. ok marco@
2004-06-22Use SIOCSIFGENERIC and SIOCGIFGENERIC for SIOCSWAVELAN and SIOCGWAVELANTodd C. Miller
instead of SIOCSIFASYNCMAP and SIOCGIFASYNCMAP. Needed for upcoming 802.11 framework. OK deraadt@
2004-06-22The Prism device driver's manual makes a distinction in naming ofTodd C. Miller
config comands and other types but we don't so remove the CNF_ from WI_RID_CNF_ENH_SECURITY and WI_RID_CNF_DBM_ADJUST for consistency and compat with Net and Free.
2004-06-22Remove all static functions. ok krw@Marco Peereboom
2004-06-21First step towards more sane time handling in the kernel -- this changesThorsten Lockert
things such that code that only need a second-resolution uptime or wall time, and used to get that from time.tv_secs or mono_time.tv_secs now get this from separate time_t globals time_second and time_uptime. ok art@ niklas@ nordin@
2004-06-21Fix ahd_[get|set]_transaction_status vs ahd_[get|set]_scsi_status confusion.Kenneth R Westerback
Allocate max number of SCB's at initialization. Display negotiated transfer parameters. ok marco@
2004-06-20take 2 times less room in dmesg, prettier tooPeter Valchev
allocate interrupts early on (before PHY attachment, etc) just like all other drivers do to allow the above; ok mcbride
2004-06-14Remove unused descriptive name strings. We use the names the devices return.Kenneth R Westerback
2004-06-12Add check for bp->b_bcount in siop_minphys() as other drivers have.Kenneth R Westerback
ok mickey@
2004-06-06Multicast cleanupsRyan Thomas McBride
- make multicast ranges work - replace handrolled crc code with ether_crc32_{be,le}() - add missing calls to ether_{add,del}multi() ok deraadt@
2004-06-05Make multicast ranges work.Ryan Thomas McBride
ok deraadt@
2004-06-05add multicast supportPeter Valchev
2004-06-05Add defines for RealTek 8139C+/8169/8169S/8110S; from FreeBSDPeter Valchev
2004-06-05another try to re-add itTheo de Raadt
2004-06-05Remove unused file. We use aic7xxxvar.h.Kenneth R Westerback
ok marco@ millert@
2004-06-05Remove unused file. We use aic7xxxvar.h.Kenneth R Westerback
ok marco@ millert@
2004-06-04fix conversion to ether_crc32_be(). problem noticed by naddy@Brad Smith
ok mcbride@
2004-06-02Add quirks field to the wdc softc and implement the first one:Alexander Yurchenko
WDC_QUIRK_NOSHORTDMA which disables DMA for the one-sector transfers. Use this quirk for the Geode SC1100 IDE to fix hanging during fdisk reported in PR 3729. Thanks to Alexandre Belloni <abelloni@nerim.net> for testing. ok costa@
2004-06-01dv_xname is not the same as dv_unit (for hell knows what reason)Michael Shalayeff
2004-06-01Replace hand-rolled crc32 with ether_crc32_le().Ryan Thomas McBride
2004-05-31When loading multicast filters, accept all multicast when we encounterRyan Thomas McBride
a range instead of ignoring it.
2004-05-31multicast cleanups:Ryan Thomas McBride
- get rid of hand rolled crc32 logic, use ether_crc32_{le,be} - accept all multicast if a range is encountered
2004-05-31Don't reinvent the wheel, use ether_crc32_le() instead.Ryan Thomas McBride
2004-05-30a bit of syncing with the FreeBSD driver, namely...Brad Smith
- disable TX hardware checksumming since its buggy and slow - re-enable the hardware multicast filter setup on 3c905B/C's - enable reception of VLAN sized frames on 3c90x's (pre B/C) - remove all DELAY(1) calls around MII operations in the xl driver. according to the MII specification, the delay produced by our reads alone are sufficient for correct operation. this reduces the time mii_tick takes from 10ms to ~1ms here. that's still a lot, but much better than before - report media status for bitrate PHYs - change the method used to detect older boomerang chips - fix an issue with reading PHY regs over the i2c bus - fix mbuf leaks in an error (rare) code path - reuse the TX descriptor if xl_encap() failed instead of just picking the next one - fix bug with 3c90xB cards and newer. We weren't trying to copy the mbuf chain into an mbuf cluster when there is more than 63 mbufs in the chain. we were trying with older cards though - add some magic bits necessary to turn the transmitter on for some (newer) 556B chips local change... - use ether_crc32_be() instead of hand-rolled xl_calchash() tested on i386/3c900 by beck@, sparc64/3c905C by me, i386/3c905C by sturm@, naddy@ and a few others ok deraadt@
2004-05-30serial console hack from tom. who, after having been told a few timesTheo de Raadt
to commit it, has not. what is going on guys?
2004-05-26use ETHER_ALIGNBrad Smith
2004-05-25Attach scsi bus, find devices without crashing, successfully do simpleKenneth R Westerback
i/o's on i386. De-static many functions. ok marco@
2004-05-23Hack to prevent uvm_fault when timeout_del deletes a non-existing timer ↵Marco Peereboom
during boot. ok krw@
2004-05-21Add support for Dell CERC SATA. ok krw@, henning@ & deraadt@Marco Peereboom
2004-05-20Remove bogus $Id.Marco Peereboom
2004-05-20Add ahd. ok krw@Marco Peereboom
2004-05-19another ETHER_ALIGNBrad Smith
2004-05-19remove duplication, use ETHER_ALIGN from if_ether.hBrad Smith
2004-05-18fix from netbsd to twiddle the fxp eeprom to disable dynamic standby modeBob Beck
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@
2004-05-18Check for and handle interface CRC errors.Bob Beck
testing by me, pval, nick, others... ok jason@, marco@
2004-05-12network drivers don't need to include bpfdesc.hTed Unangst
ok krw@ canacar@
2004-05-07LM7x models improvements:Alexander Yurchenko
- correct divisor for fan3 (2 means 2^1, so the divisor is actually 1, not 2) - fan1 and fan2 have adjastable divisors, use this feature to dynamically correct divisors for slow fans - fix SENSOR_FINVALID usage Based on the diff from Alexander Bluhm <alexander.bluhm@gmx.net> in PR 3719.
2004-05-07proper casts for vtophys. looked at by grange@Ted Unangst
2004-05-04Remove useless ``elm'' argument from the SIMPLEQ_REMOVE_HEAD macro.Alexander Yurchenko
This matches our SLIST behaviour and NetBSD's SIMPLEQ as well. ok millert krw deraadt
2004-05-03Remove OpenBSD/pegaos, this has been announced before but delayed untilDale Rahn
the tree was stable. No point in code supporting a company which screws its employees being in the OpenBSD tree.
2004-05-01Fix nasty bug where driver would not correctly catch and handle an rnrBob Beck
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@
2004-04-28Add FLUSH CACHE EXT command from ATA/ATAPI-6 spec.Alexander Yurchenko
2004-04-28Removing some erroneous \n junk and a little KNF. ok & tested krw@Marco Peereboom
2004-04-26Allocate rx buffer mbuf clusters at ifconfig time, release them when theRyan Thomas McBride
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@