summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2003-12-16Compute openings value, out of boot-time count of devices.Niklas Hallqvist
Add reentrancy check of gdt_exec_ccb. The latter change changes timing enough to not trigger a timing bug on really fast machines too often. A real fix is being worked on.
2003-12-16Compute openings value, out of boot-time count of devices.Niklas Hallqvist
Add reentrancy check of gdt_exec_ccb. The latter change changes timing enough to not trigger a timing bug on really fast machines too often. A real fix is being worked on.
2003-12-16only map the rom and do not touch the hpa space getting rid of memsize ↵Michael Shalayeff
define that was not really true; plus tested by otto@ and miod@
2003-12-16Pass gcc -Wsign-compare; ok grange@Todd C. Miller
2003-12-09missing arg; from Erick Borsboom <erick@bonzai.space-ei.nl>Michael Shalayeff
2003-12-05consistently treat wi_keylen as le16, fixes wicontrol crash for if_wiDale Rahn
and if_wi_usb ok millert@
2003-12-04TyposMiod Vallat
2003-11-20Make these pass -Wsign-compareTodd C. Miller
2003-11-19Sync with NetBSD probe code: deal with non-pullups ide bus whenAlexander Yurchenko
testing status register and a better comments on probe logic. Tested on i386, sparc64 and macppc by me, jmc@, matthieu@, sturm@ and drahn@. ok costa@
2003-11-17Various cleanups, knf, better debug messages.Alexander Yurchenko
2003-11-17Don't wait for DRQ after issuing IDENTIFY command; instead check for DRQAlexander Yurchenko
asserted after BSY is cleared in data read codepath. Solves delays in probe. The first version of this diff was done by costa@ a long time ago but had some issues. This one is a partial sync with NetBSD. ok costa@
2003-11-17Defined behavior.Marc Espie
ok grange@ miod@
2003-11-16convert __attribute__((__packed__)) to __packed so that parsers unawareAnil Madhavapeddy
of gcc extensions have more of a chance. ok mcbride@, no objections from millert@, deraadt@
2003-11-13One byte can't hold a value > 255.Alexander Yurchenko
Spotted by Mr. GCC3.
2003-11-08typos from Jonathon Gray;Jason McIntyre
2003-11-05Back wdc reset change, now in more careful variant.Alexander Yurchenko
Tested on matthieu's U5.
2003-11-05another ad codecMichael Shalayeff
2003-10-31Back all the changes except the wdc reset part, this will come later.Alexander Yurchenko
Tested on matthieu's U5.
2003-10-31Use isa iot for pegasos com console attachment, perhaps this couldDale Rahn
be adopted MI?
2003-10-30array for multicast filter intialization mismatches. millert okJun-ichiro itojun Hagino
2003-10-29Revert to 1.70 for now which is the last working version on my u5.Matthieu Herrb
ok deraadt@
2003-10-27Skip ATA modes detection for SATA drives, it's useless and someAlexander Yurchenko
SATA drives really don't like it. Add a delay between drive reset and issuing IDENTIFY command, some drives need it (from NetBSD). This fixes problems with SATA drives reported by Jonathon Fletcher <jonathon.fletcher@pobox.com>. He also provided access to the test machine.
2003-10-27disable tagging on hppa and thus effectively restrict to one command at a ↵Michael Shalayeff
time processing; krw@ ok
2003-10-26Driver for PRISM 2.5/3 based (wifi) USB adapters. This is a work in progress,Dale Rahn
it does not yet handle bulk data copies or hostap mode. Only one model currently supported, however driver may support other PRISM based adapters. ok millert@ fgsch@
2003-10-26Print error registers values in debug message after reset too.Alexander Yurchenko
2003-10-26Device reset improvements:Alexander Yurchenko
- put the reset protocol itself in the separate function __wdcdo_reset() so we don't need anymore to keep in sync two reset code paths; - change the reset protocol to something like FreeBSD and NetBSD do, this fixes slave ATA drive detect with weird ATAPI master (reported by fgsch@); Discussed with costa@. Tested by me, fgsch@, millert@, canacar@.
2003-10-21typos from Tom Cosgrove;Jason McIntyre
Tom: I did not commit a couple of your changes. i did not include some punctuation fixes (full stops, etc.) mnemorable -> mnemonic: i decided memorable was probably better instrunctions -> instruction: i kept the plural
2003-10-20typo; netbsdAlexander Yurchenko
2003-10-19KNFAlexander Yurchenko
2003-10-17Merge an old fix from NetBSD:Alexander Yurchenko
- do not stop/unload current DMA operation if an IRQ was not detected by DMA engine unless the force flag was given, fixes DMA problems in shared IRQ setups; - ack interrupt before entering DMA codepath Tested by many. Work by niklas@ but he doesn't want to commit it for some reason.
2003-10-16New flag to mark SATA controllersAlexander Yurchenko
2003-10-16spaces/tabs cleanupAlexander Yurchenko
2003-10-16Cleanup a bit, more pretty debug messages.Alexander Yurchenko
2003-10-16Allow setting of wdcdebug*_mask variables via preprocessor defines.Alexander Yurchenko
This makes creating debug kernels be much more easy.
2003-10-16Kill two static function declarations.Alexander Yurchenko
2003-10-14Align siop_xfer on 128 byte boundary for all architectures now that 3.4 is out.Kenneth R Westerback
ok (and from) mickey@.
2003-10-09Typo, iquiry->inquiryMiod Vallat
2003-10-09go back to non-raw busdma load as some archs still do not have load_rawMichael Shalayeff
2003-10-07use crypto/arc4; test, debug, ok millert@; ok fgsch@Markus Friedl
2003-10-05from freebsd: read one word less (for type) and take care of odd sized recordsMichael Shalayeff
2003-10-04bpf support for atm cards; from jason@ackley.netTheo de Raadt
none of us can test this, but that does not mean it has to sit in the pr database
2003-10-03Merge tty_attach() in ttymalloc() and tty_detach() in ttyfree(). The need forMiod Vallat
separate tty registering is gone now that sparc has switched to wscons, and this makes the code less error-prone. Also, remove tests for ttymalloc() failure, since it uses M_WAITOK. ok millert@ deraadt@, tested by various people as well besides me...
2003-10-01it turned that only adding the cardbus part was not enough to haveFederico G. Schwindt
D-Link DFE690 working. add the missing bits here. from Joshua Johnson <joshua.johnson at charter dot net>.
2003-09-29more dmamp_sync()s; krw@ okMichael Shalayeff
2003-09-29add more dmamap_sync()s where appropriate modify loops to insure proper ↵Michael Shalayeff
syncing; jason@ testing
2003-09-29better dmesg output including onboard memory size when present, free ↵Michael Shalayeff
resources on failures; krw@ ok
2003-09-29e own SIOP_DEBUG define instea of the system-wide one;Michael Shalayeff
bzero() the sgl before fillig it up; avoid reading registers extra times where we have a copy in the vars; on scsi_cmd timeout call siop_handle_reset() directly instead of relying on the RST interrupt which does not happen always it semms; use bus_dmamap_load_raw(). krw@ ok
2003-09-29avaliable -> availableMiod Vallat
2003-09-28kill trailing spaces, no functional changesAlexander Yurchenko
2003-09-26Typos: defintion -> definition, proccess -> processMiod Vallat
There are more occurences hiding in binutils, lynx and afs but I am too lazy to report them upstream at the moment.