summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
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@
2003-01-07do the busy wait loops my favourite style and merry xmasMichael Shalayeff
2003-01-06syncronous -> synchronousMiod Vallat
2003-01-05spellingTheo de Raadt
2003-01-05spellingTheo de Raadt
2002-12-30proper HOSTAP_FLAGS_BITS; from merith@vantronix.netMichael Shalayeff
2002-12-23Fix complete botch in handling of 'openings'.Kenneth R Westerback
Assign a fixed value (SIOP_NTAGS) to the openings field in the adapter's template sc_link, rather than incrementing the value as cbd's are allocated. The template value is the one copied into each device's sc_link structure as it is created. Incrementing the value meant that each new device got a larger value for openings. The total number of openings claimed by devices on a bus soon exceeded the number of cbd's available. e.g. after 5 devices there would be 132 allocated cbd's, but the total number of openings claimed by devices would be 300. A heavy i/o load on an adapter with multiple devices could have caused the upper scsi layer to try to queue more i/o's than the driver had cbd's to store them in. Such i/o's would fail with EIO if they were started with SCSI_NOSLEEP (e.g. sdstart()) or were not queued within the specified retry limit. I/o's for devices 'later' on the bus would be more likely to trigger this behaviour, due to their inflated openings values. This is good candidate for -stable.
2002-12-22Define atagettrace_t type and use it instead of struct atagettrace.Alexander Yurchenko
ok costa@
2002-12-22No more magic wdc events types, give them names.Alexander Yurchenko
ok costa@
2002-12-19Protect WDCDEBUG_PRINT macro with do {} while (0)Alexander Yurchenko
ok costa@
2002-12-19fix a debugging printf on cmd wait timeoutMichael Shalayeff
2002-12-19proper barrier call in ie_ackMichael Shalayeff
2002-12-19comparam() does not need an spltty() for it, already called there.Michael Shalayeff
time-bound loops in com_common_cnputc() and lower to spltty(), which i guess is left from times when timeouts were processed at splhigh(). jason@ tested and ok, art@ ok
2002-12-15more typos fixed by torhHenning Brauer
2002-12-12Always use queue(3) macros.Alexander Yurchenko
ok chris@ gluk@
2002-12-11smaller delays, unneeded splsMichael Shalayeff
2002-12-11sendbug(1), not send-pr; Peter WernerHenning Brauer
2002-12-09From Andrushock, s/sucess/success/gTodd C. Miller
2002-12-02- Remove a few magic constantsJason Wright
- set baudrate for the non-mii modes
2002-12-02set if_baudrateHenning Brauer
ok jason@
2002-11-29Foward; torh@bogus.netTheo de Raadt
2002-11-28generic isa mpu, from Sergey A. Smitienko w/ fixes from meMichael Shalayeff
2002-11-261000baseTX -> 1000baseTNathan Binkert
- More technically correct - Matches FreeBSD and NetBSD - Preserved #define for 1000baseTX for backwards compatibility ok jason@
2002-11-26re-enable if_timer; jason@ ok.Federico G. Schwindt
2002-11-25remove printf's in xl_setmode().Brad Smith
-- deraadt@ ok
2002-11-20Store which tcvr to preferJason Wright
2002-11-20If both phys are available, prefer the external one.Jason Wright
2002-11-17Make sure never to put a loaded dmamap in the spare. 3c90x should workJason Wright
on big endian now...
2002-11-17this driver has never been in sys/pci (in OpenBSD at least) and supportsJason Wright
cardbus and pci interfaces; pointed out by brad.
2002-11-17Fix another case (tx this time) where buffers were not unloaded (nor ↵Jason Wright
sync'd). (bad bad aaron): 90xB works on sparc64, 90x is probably still broken.