summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2005-02-15Driver for Ralink Technology RT2500 wireless adapters.Damien Bergamini
2005-02-15add the manual tx power option. this is supported by some prism2/2.5/3Reyk Floeter
cards in hostap mode but it depends on the firmware version. support for other wireless chipsets will be added in the future using the net80211-framework. ok robert@ bob@ danh@, tested by some others
2005-02-14add missing breakBrad Smith
From: Mike Pechkin <mpech at mail dot ru>
2005-02-14From NetBSD:Jonathan Gray
From part of rtw.c rev 1.42: log message: Add RTW_TPPOLL_ALL, RTW_TPPOLL_SALL to start and stop, respectively, all of the transmit rings. Revamp the transmit section to make better use of all the transmit rings: beacon queue, high-, low-, and medium-priority rings. Put beacon frames on the beacon ring. All other management frames, and data frames, go on the medium-priority ring. Power-save data frames go on the high-priority ring. (Note that powersaving is not implemented!) This is a work in progress. Send all 802.11 Management frames at 1Mbps. After we put a packet on a transmit ring, tickle the right bit in the TPPOLL to tell RTL8180. Stop all rings on error and in rtw_stop. And rtw.c rev 1.33: log message: Consolidate variables related to the rx ring in sc_rxdesc_blk, which is a struct rtw_rxdesc_blk. Put a copy of the DMA tag and the DMA map into the rx- and tx-ring blocks so that I don't have to pass them to subroutines all of the time. ok dlg@
2005-02-12Fix crashes during probe by ensuring that SCSI_IS_SCSIBUS_B() returnsKenneth R Westerback
false until scsi bus b is initialized. Set TWIN_CHNLB bit that is used elsewhere. Missed chunk from last code sync. Problem found and fixes tested on HP Proliant ML310 by Valov Oleg.
2005-02-08From NetBSD:Jonathan Gray
sys/dev/ic/rtw.c rev 1.38: Use clue from rtk(4) and re(4) to fix the rtw(4) packet filter. Previously, I was using the wrong CRC32 function to hash multicast addresses; to compensate, I set the multicast filter to all 1s. Now that I hash the addresses correctly, I do not any longer set the filter to all 1s. In rtw_ioctl, avoid gratuitous re-initialization when the interface flags change. If a !IFF_UP -> IFF_UP transition, call rtw_init(); otherwise, only reload the packet filter. sys/dev/ic/rtwreg.h rev 1.10: Put useful combinations of Receiver Control Register flags in RTW_RCR_PKTFILT_MASK, RTW_RCR_MONITOR, and RTW_RCR_PKTFILT_DEFAULT. (XXX RTW_RCR_MONITOR should be called RTW_RCR_PKTFILT_MONITOR.)
2005-02-06Wait 10ms for the completion of the EEPROM recall process, allowing aPedro Martelletto
couple of specific adapters (such as mine) to be correctly initiated. Discussed with and okay jsg@.
2005-02-06Remove some uneeded code to reduce delta to NetBSD.Jonathan Gray
2005-02-06Fix a merge error that was causing a panic after associating.Jonathan Gray
Thanks to mcbride@ for pointing me in the right direction.
2005-02-04add hme(4) RX TCP/UDP checksum offloadBrad Smith
From a diff posted to sparc@ by Pyun YongHyeon ok dlg@, tested by mickey@ "i get some badass improvement here." and a few other users.
2005-02-04fix setting 128bit WEP keys on BIG_ENDIAN arches.Kurt Miller
2005-02-03add 5sec to the xs->timeout to overcompensate for possible delays in ↵Michael Shalayeff
quartz_done(); marco@ ok
2005-02-03unbreak by killing volatile from fxp_mdi_read(). No binary change.Hans-Joerg Hoexer
ok mickey
2005-02-03make prototype match function for ar5k_ar5110_chan2athchanKevin Lo
2005-02-03make prototype match function for fxp_mdi_read.Kevin Lo
ok millert@ CVS ----------------------------------------------------------------------
2005-01-31add a bunch of more codecs from var srcs. this makes almost everything from ↵Michael Shalayeff
the dmesglog to be resolved proper. most unresolvants are bit-errors on the ac link anyway
2005-01-31Be sure to always return an error for unrecognized ioctls. Found by matthieu@Miod Vallat
2005-01-30Fix two Cirrus Logic codec IDs.Mark Kettenis
ok millert@
2005-01-24sti colormap fixes:Miod Vallat
- correct bounds checking in colormap ioctls. - force the scment() pointer to NULL on < 8.04 revisions; 8.02 provide a non-NULL pointer, but it does not point to any meaningful piece of code.
2005-01-23bus_space_map() sti regions with BUS_SPACE_MAP_CACHEABLE if they have theMiod Vallat
cache bit set in the region descriptor. Halves sti processing time on hp300. ok mickey@
2005-01-23Two sti(4) changes necessary for hp300:Miod Vallat
- specify which microcode bank (pa or m68k) to use at attachment time. - compensate for broken 8.02 m68k code which reports wrong frame buffer offset. ok mickey@
2005-01-22Reduce diff to NetBSD.Jonathan Gray
From part of rtw.c rev 1.42: Move the register access mode into struct rtw_regs. Change rtw_set_access, rtw_set_access1 to match.
2005-01-22Reduce diff to NetBSD.Jonathan Gray
From rtw.c rev 1.34: I like the tlp/atw-style names for software descriptors, txsoft, better than txctl. Change from rtw_txctl/rtw_rxctl to rtw_txsoft/rtw_rxsoft. Change the descriptor blocks' names to match: rtw_txctl_blk becomes rtw_txsoft_blk. Change the member-name prefixes for both software and hardware descriptors.
2005-01-19Remove the last of the rampant inline usage.Jonathan Gray
2005-01-19destatic functions.Jonathan Gray
2005-01-19Use the RF chipset type rather than the hardware version when determiningJonathan Gray
whether to use host or MAC controlled RF I/O. From part of NetBSD rev 1.42
2005-01-17update dead URL, from Steve Shockley <steve.shockley@shockley.net>Jared Yanovich
2005-01-15rev 1.85Brad Smith
Newer chips do not need the receiver lock-up workaround; detect when it is required. From NetBSD
2005-01-15make sure interface is in RUNNING state before touching the multicast filtersBrad Smith
From NetBSD NetBSD PR 27678 for details ok mcbride@
2005-01-14use PCI Memory Write and Invalidate; from bogdan@eastonline.ru, ok pascoeTheo de Raadt
2005-01-14rev 1.63Brad Smith
Avoid an unnecessary copy of a packet if it is already in a single mbuf. Introduce an additional device flag for those NICs which require the transmit buffers to be aligned to 32-bit boundaries. From FreeBSD
2005-01-14clean PCI leftoversPeter Valchev
2005-01-14split re(4) into bus-independent code (ic/re.c) and PCI front-endPeter Valchev
(pci/if_re_pci.c) for soon-to-come cardbus support; ok deraadt
2005-01-12Don't call ahc_setup_data() after calling ahc_execute_scb() since theKenneth R Westerback
scb may have been freed or made active. Only affects XS_RESET case. More correctly mirrors FreeBSD code. Already done to aic79xx_openbsd.c in r1.16.
2005-01-12Fix an off by one in the critical section clearing code. The code wasKenneth R Westerback
adjusting twice for the instruction pointer indicating the *next* instruction to execute. From FreeBSD r1.101.
2005-01-10Make the time spent scanning per channel consistent with other driversJonathan Gray
and much more reasonable.
2005-01-09From dyoung@NetBSD rev 1.41:Jonathan Gray
Set initial conditions to guarantee that when read_seeprom toggles Chip Select, it turns *on* rather than *off*.
2005-01-09Use the macwrite instead of the hostwrite radio programming methodJonathan Gray
for rev F devices which lets us get responses from access points. Driver is still not fully working as yet. From a discussion with David Young.
2005-01-09fix regulation domain handlingReyk Floeter
2005-01-08spacesMichael Shalayeff
2005-01-08rev 1.125Brad Smith
Don't read the MAC address from a copy of the EEPROM in the softc that has been recorded earlier and overwrite it again later by reading it directly from the EEPROM again. Read the MAC address from the PAR0/PAR1 registers instead, which are autoloaded on reboot. From FreeBSD Thanks to David Snyder <dasnyderx at yahoo dot com> for testing on a AN983 based card which used to come up with a MAC address of ff:ff:ff:ff:ff:ff.
2005-01-08fix conflicting types for ahc_send_async().Kevin Lo
ok krw@
2005-01-05Let wsdisplay drivers return zero for WSDISPLAYIO_[GS]VIDEO ioctls - mostMiod Vallat
of the work is done in the upper layer, but they get to see the ioctl, so don't always return an error.
2005-01-04If we get a vendor private tlv when we are expecting a challenge,Todd C. Miller
just ignore the vendor private one and continue. Fixes a problem with hostap and some 802.11g cards. Adapted from a diff by drahn@
2005-01-04shrink dmesg outputJonathan Gray
2005-01-03Make ath at cardbus not depend on ath at pci. ok reyk@Jonathan Gray
2005-01-02Split out register definitions.Mark Kettenis
2005-01-02more constantsBrad Smith
2005-01-02rev 1.21Brad Smith
Defs for three (unused so far) bits in PCI command/status register were off by one bit. From FreeBSD
2005-01-01allow reception of VLAN sized frames.Brad Smith
tested and ok niklas@ From NetBSD