summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2003-03-15specifed -> specifiedTheo de Raadt
2003-03-13Initialize the timeout for the non-console case of PS2 keyboard. FixesDale Rahn
a panic on alpha with serial console. ok miod@
2003-03-10Fix AP scan on prism and add a /* FALLTHROUGH */ comment to makeTodd C. Miller
things obvious.
2003-03-06this is a fix for kernel panics and craches along w/ other stabilityMichael Shalayeff
improvements worked out over past few months w/ different people. the main bug was fixes w/ help of harding@motd.ca . 10x to all and enjoy the better driver (;
2003-03-06Remove double include of scsi_all.hmjacob
2003-03-05update media handling based on NetBSD: mainly fix setting up of the outputJason Wright
drivers also, force a preference of the external phy a little earlier: both ports on the netra T1/105 now work.
2003-03-03nuke extra semicolonmjacob
2003-03-03Argh. Put back mickey's change here and also follow Ted's suggestionmjacob
wrt bogus identity assignments.
2003-03-03Add some A64 defines.mjacob
Fix egregious botch where ICBXOPT_ZIO is suppose to be bit #5, not the value '5'.
2003-03-03Get rid of ISP_DMA_ADDR_T and uses ISP_DAC_SUPPORTED to define themjacob
width of a dma address type- this also allows us to define macros that set upper words of a dma address. Remove STRNCAT. Add (untested) 10160 support.
2003-03-03spelling fixesmjacob
2003-03-03In isp_putback_atio, propagate iid && rxid for FC ATIOs.mjacob
LINT fixes for printing out the lun for recevied messages. Spelling fix.
2003-03-03Remove STRNCAT define.mjacob
2003-03-03For type 3 requests, the count is ISP_RQDSEG_T3, not ISP_RQDSEG_T2, that we needmjacob
to set up.
2003-03-03Add (untested, no h/w) 10160 support. Propagate some spelling fixes.mjacob
Add back in merged 'mhz' change. Use A64 variants to initialize ULTRA2 or better && 1240 cards. If PAE is ever implemented for *BSD, we'll be closer to being ready to go. Add in a commented out example for how to adjust idelaytimer on 2300s. If we have ISP_FW_CRASH_DUMP defined, then don't reinit the isp in ISP_CONN_FATAL case- that's up to the platform outer layer to do after it finishes saving a f/w crashdump. Replaces STRNCAT with SNPRINTF.
2003-03-02The gem driver will sometimes unmap bus_dma mappings that are stillHenric Jungheim
in use by the hardware. Since the sparc64 has IOMMUs, an access by the hardware after the unmap operation will cause a fault. This replaces "disable" calls by "reset" calls. This increases the time between the command to disable DMA and when the maps are actually unloaded.
2003-02-28Revert previous change. This driver is shared with 4 other platforms.mjacob
Baloney gratuitous changes to comments w/o even a headsup to the author will be reverted.
2003-02-25remove redundant check.Ted Unangst
ok henning@
2003-02-25correct bounds check. yichen xie's bounds checker catch.Ted Unangst
ok niklas@
2003-02-25fix two off by onesTed Unangst
credit to Yichen Xie's bounds checker ok mickey@
2003-02-24Various typos.Miod Vallat
2003-02-21Fix Manuel Bouyer's copyright, from NetBSDAlexander Yurchenko
ok deraadt@
2003-02-19use a nop with I bit set at the end of the tx chain. This avoids a raceJason Wright
between status update and clearing the suspend bit on machines which can't write data smaller than 32bits at a time. Diff is the work of pefo, he just has been slacking too much to commit =)
2003-02-18Whenever possible, store the prom font data in off-screen frame bufferMiod Vallat
memory, and use block move operations in putchar, rather than keeping a copy of the prom font in memory and using memory to frame buffer transfers. Recommended by the sti docs. No visible performance improvement though. Tested on both kind of sti devices by mickey@ and myself.
2003-02-17can use the same bus_space_read_region_4() to copy both type1 and type4 ↵Michael Shalayeff
prom; tested on type4 by me and miod on type1
2003-02-17oopsMichael Shalayeff
2003-02-15Increase xfer rates buffer from 8 to 12 bytes. This allows 802.11gTodd C. Miller
stations such as the airport extreme to associate. Tested by Ben Lovett.
2003-02-13Don't force all ATAPI devices to PIO mode 3, there areAlexander Yurchenko
devices which only support PIO mode 2 or less. Use atap_oldpiotiming to obtain supported mode for such devices. Also use SET FEATURES only for PIO mode > 2. Work by Alec Skelly <alec@dtkco.com> with my little help. ok costa@
2003-02-13Plug mbuf leak when there is an IV mismatch during software decrypt.Todd C. Miller
Found by dhartmei@; I thought he committed the fix but appearently not. Also make the debugging printf for IV mismatch more useful.
2003-02-12replace crc32 code with BSD licensed code from opensshMarkus Friedl
2003-02-11As hil devices can only attach after interrupts are enabled, delayMiod Vallat
the attachment of wsdisplay to sti as well. This allows us to have a working console for boot -a, and still attach a full-blown wscons console as soon as possible. ok mickey@
2003-02-11be consistant on Hz vs hzMichael Shalayeff
2003-02-11Byte-prom font loading support.Miod Vallat
ok mickey@
2003-02-08avoid more spurious printfs (account for other uninteresting events).Jason Wright
2003-02-05implement a few wsdisplay ioctls. comment on the putchar implementationMichael Shalayeff
2003-02-02Real (although generic) negotiation results message during boot.Kenneth R Westerback
2003-02-01Look, noone cares if you run of out rx descriptors and whining about it just ↵Jason Wright
makes the situation worse.
2003-01-31Working wscons attachment and block move operations; joint debug by mickeyMiod Vallat
and myself. wsdisplay at sti will be enabled as soon as byte-size rom font loading is done.
2003-01-31more quietTheo de Raadt
2003-01-31fetch the font and use it, some cleanup and knfMichael Shalayeff
2003-01-27pad tx buffer on < minimum length frames; based on NetBSD; tested on hppa.Jason Wright
2003-01-23- Either memset() or loop and set to zero, not bothJason Wright
- reading RX_COMPLETION is a waste of time (and a -slow- PCI read vs. an, albeit uncached, memory access to determine the same thing). - on RX_OVERFLOW, reset the board; the RX unit has probably wedged
2003-01-23be consistant on the spl everywhere and use splimp(), this seems to prevent ↵Michael Shalayeff
wi_mgmt_xmit: xmit failed messages; millert@ testing and ok
2003-01-21Use a 2-level timeout for hostap. Instead of of sending a stationTodd C. Miller
a deauth/disassoc packet when the inactivity timer fires, just set a flag, re-queue it and set the master wihap timer if needed. What this does is to effectively bundle (and serialize) deauth/disassoc packets so if a large number need to be sent at once we don't stomp all over the card. We also only do at most 10 stations at a time. The sta_list has been changed from a doubly linked list to a tailq. Inactive stations are kept at the head of the queue, new ones are added to the tail. Idea and OK by mickey@, prompted by an issue found by merith AT vantronix DOT net
2003-01-21Stub out hostap bits #ifdef SMALL_KERNEL to free up space on theTodd C. Miller
floppies; OK mickey@ deraadt@
2003-01-21bzero() siop_target structure after malloc().Kenneth R Westerback
In combination with previous openings fix makes Niklas happy. Probably fixes some negotiation bugs too. Another good candidate for -stable.
2003-01-14In wihap_shutdown() use a broadcast for disassoc and deauth packetsTodd C. Miller
instead of sending a separate packet to each station. Based on a patch from merith AT vantronix DOT net
2003-01-10Add support for Symbol LA4123 and Nortel E-mobility 211818-A PCITodd C. Miller
cards. These use an ACEX EP1K30 programmable logic device (PLD) as the PCMCIA->PCI bridge. There's no documentation available on how Symbol has this configured; the magic bits are based on modifications to the Linux orinoco driver by Tobias Hoffmann. He, in turn, figured out the magic from the Windows driver. This does mean we have undocuemnted hex constants; sigh. I also moved commented bridge chip info to right before the appropriate bridge attachment. The massive comment at the top of the file was becoming illegible.
2003-01-10Don't call wi_cor_reset() in wi_attach(); since sc_firmware_type isTodd C. Miller
not set yet this is a NOOP (noticed some time ago by fgs@). Call wi_cor_reset() from wi_watchdog() so we do a soft reset of the card. Currently, we only reset Symbol cards but should probably reset all but Lucent cards with very old firmware revisions.
2003-01-08Merry Christmas Mickey!Kenneth R Westerback
First cut at osiop driver (LSI Logic/Symbios/NCR 53C710). For hppa only at the moment. Functional for the most part, but there are known problems: 1) SCSI_CHECK/REQUEST_SENSE not handled at all - simply returns a zero'ed scsi_sense_data buffer. As a result all osiop sc_link's are created with the ADEV_NODOORLOCK quirk to suppress PREVENT_ALLOW commands from being issued (and failing) during probe. 2) Sync negotiation (wide is not supported on this chip) needs to be validated due to some ominous comments in the source about being valid only for the 33Mhz Zeus board. 3) Probe message needs fixing/completion to issue useful info. See 2). 4) Timeout/hangs occur under heavy load, e.g. make builds. From NetBSD. ok mickey@