Commit Graph

7054 Commits

Author SHA1 Message Date
pk 9e16037265 Simplify the attach routine a bit. 2000-02-22 12:24:53 +00:00
pk b4e291e818 Fix some off-by-one errors; patch from Jonathan O'Brien. 2000-02-22 12:12:21 +00:00
augustss 9056664327 Prepare a little for having USB interrupt processing done outside the hard
interrupt level (in a thread or a softintr).
No real soft processing done yet.
2000-02-22 11:30:54 +00:00
augustss 6cc37002ad Fix (mostly harmless) typo. 2000-02-22 11:25:06 +00:00
augustss 2eda3cf829 Better debug info. 2000-02-22 11:24:22 +00:00
thorpej bfaa657135 Fix printf formats on the Alpha. 2000-02-22 08:23:22 +00:00
oster fb56415023 Add a few comments, and an indicator of whether or not an autoconfig set
is 'rootable'.
2000-02-22 03:39:47 +00:00
oster bd2230fd09 - implement additional component checking before autoconfiguration
- make component label setting work again(!!!!)
2000-02-22 03:38:42 +00:00
enami 32f100250f Cosmetic changes. 2000-02-22 02:38:26 +00:00
enami b785bb47a0 Establish a powerhook and make sure the card detect interrupt is enabled
after resume from suspend, as i82365.c does.
This is a workaround for newer Sony VAIO notebook.
Patch is submitted by Atsushi Onoe (onoe@sm.sony.co.jp) in PR#9463.
2000-02-22 02:35:26 +00:00
oster afccbaa6d7 Umm.. let's set 'numraid' to something useful before we try to use it. 2000-02-21 23:33:45 +00:00
dbj 8f2d14fbd1 added wmesg argument to pcic_delay debug printout 2000-02-21 20:16:22 +00:00
mjacob 7f44584598 clen up some error messages 2000-02-21 19:18:53 +00:00
mjacob 296fbeed2a Patches from msouth@scruz.net to handle QIC 3220 (HP T20). 2000-02-21 05:11:09 +00:00
enami 158df7b6f1 Don't establish an interrupt if attach is in progress. Anyway, current wdc
and its children doesn't require interrupt on attach.
2000-02-21 03:55:22 +00:00
enami 91026fe7f2 Cosmetic changes. 2000-02-21 03:26:41 +00:00
thorpej 70bbb1b84e Sync PCMCIA memory mapping with a change from rev 1.47 of i82365.c:
always map attr memory 8 bit, since its defined that way. (chopps)
2000-02-21 01:44:36 +00:00
sommerfeld 3a76270201 deal with a DELAY vs. delay issue 2000-02-20 22:19:29 +00:00
mjacob a3a129e6f5 Oops...I forgot that the GEM-2 chip is so lame that if you don't tell
it exactly the right amount of data to transfer for WRITE BUFFER/Global
it will stay stuck in command phase (causing a command phase overrun).
2000-02-20 21:30:44 +00:00
jdolecek 5f0b3b1510 usbd_devinfo_vp(): search the know devs array also if the device
doesn't return product description (e.g. Kye's Genius NetScroll
	mouse returns vendor, but not product); the strings
	returned by device are still preferred to those in the array, though
2000-02-20 14:45:05 +00:00
jdolecek 6b93b03665 regen 2000-02-20 14:39:28 +00:00
jdolecek e710e0dfa1 Add Kye's Genius NetScroll mouse
XXX Should the name be just "NetScroll mouse" ? Kye seems to be manufacturer
XXX for the mouse licenced from Genius.
2000-02-20 14:37:48 +00:00
mjacob 1c4521f1da add ses.h to list of includes 2000-02-20 07:39:41 +00:00
mjacob c5f8d33f85 minor spelling change 2000-02-20 07:38:48 +00:00
enami 6779fc2bb2 Fix thinko in previous commit. 2000-02-20 03:48:40 +00:00
enami ac75116d32 Try other config entry on i/o space alloc failure. 2000-02-20 03:18:15 +00:00
mjacob 6f13498242 correct oops on last checkin 2000-02-19 15:13:07 +00:00
mjacob a9697ee5f2 Handle > 12 byte CDBs. 2000-02-19 01:55:42 +00:00
mjacob 717d5b1cc3 Support for > 12 byte commands for parallel SCSI. 2000-02-19 01:54:42 +00:00
mjacob d88aecac57 Remove residual and now broken !ISP_NO_FASTPOST_SCSI code (which was
turning back on fast posting!). Redo fabric (re)login loop- don't try
and log out ports that haven't been logged in. Do correct target id
shuffling so we just always find the target ID we want. Add in support
for > 12 byte commands for parallel SCSI. Handle some Dual Bus reset
stuff. Finally fix ABORT COMMAND to use the right 16 bit order of the
handle to abort.
2000-02-19 01:53:56 +00:00
mjacob ff86abe827 Cleanup some printaouts. 2000-02-19 01:51:43 +00:00
mjacob b6dd4ddacf Add in ISP_SWIZZLE_CONTINUATION macro. 2000-02-19 01:51:21 +00:00
mjacob 8c2e6c73e3 Handle dual bus cases for immediate notify and enable lun commands. 2000-02-19 01:50:57 +00:00
mjacob 98f7f7b5a0 Fix ITDEBUG macro 2000-02-19 01:50:25 +00:00
mjacob 77dec43b22 Clarify cd_resid tag. 2000-02-19 01:50:03 +00:00
mjacob 8405ee3752 Add in some mbox return codes that define when we've used up target
ids for doing fabric login. Define the 'Get All Next' SNS response
structure.
2000-02-19 01:49:47 +00:00
soren d282f771e7 Remove redundant CIS definitions. 2000-02-18 18:55:31 +00:00
nisimura 3e02ded337 Improvement on SFB enabled copycol(); still yet under development,
it miserably fails on corner cases.
2000-02-18 06:51:51 +00:00
thorpej 132107ce3b Add a whole slew of registers found in the PCnet-PCI family. 2000-02-17 20:18:29 +00:00
augustss 6fa8665eeb Handle detach that happens before attach has finished. (Reported by mycroft.) 2000-02-17 18:42:21 +00:00
sommerfeld 50c84950f2 awi: rewrite to be higher performance. 2000-02-17 17:37:23 +00:00
augustss 1955c335af Regen. 2000-02-17 16:30:44 +00:00
augustss 536b31a5c8 Add Sony PCGA-UMS1 mouse. 2000-02-17 16:30:11 +00:00
sommerfeld 7adb22cfa5 Add detach support.
Light cleanup.
2000-02-17 15:58:32 +00:00
mycroft f7ad1af2b5 Use bpf_mtap() correctly. 2000-02-17 05:41:41 +00:00
soren 4331d2bcaa Regen. 2000-02-16 04:29:32 +00:00
soren 021ff75015 Add Toshiba ISA bridge. 2000-02-16 04:29:20 +00:00
oster 7deba340d7 Some of these function names are bad enough that no one else would probably
pick them, but preface them with rf_ anyway.
2000-02-16 01:10:44 +00:00
enami 4a1320b29f Put the entry of FNW-3700T after the entry of SVEC-PN650TX
so that SVEC-PN650TX errornously recognized as FNW-3700T.
Pointed out by Takahiro Kambe <taca@sky.yamashina.kyoto.jp>.
2000-02-14 23:13:49 +00:00
augustss b223c00cee Avoid linker error if no PHY is attached. 2000-02-14 20:29:54 +00:00
pk 1d373a94e2 Bump receive buffer size up to the maximum DMA burst boundary. 2000-02-14 17:14:28 +00:00
pk a1b5434cec Make promiscuous mode go again. 2000-02-14 17:06:45 +00:00
bouyer 085f44145c - Be more strict in status check before sending a command (make sure
DRQ is not asserted). Closes kern/9346.
- Change the "fake identify before the real one" by a delay(). The real cause
  of the problem is that the drive is unresponsive just after a reset.
  The real problem (and the solution) showed up after the first change.
2000-02-14 12:37:35 +00:00
augustss 9558d7b27b Regen. 2000-02-13 23:10:22 +00:00
augustss a39279da39 Add a bunch of devices. 2000-02-13 23:10:02 +00:00
ragge 520d8c032e Waked up from the dead 2000-02-13 13:01:14 +00:00
itojun 99b18eac36 on attach, check if we've got meaningful mac address or not,
to detect io mapping problem.

on detach, handle resource deallocations more carefully.
2000-02-13 06:17:58 +00:00
oster 445591e874 Get recent changes into the tree:
- make component_label variables more consistent (==> clabel)
- re-work incorrect component configuration code
- re-work disk configuration code
- cleanup initial configuration of raidPtr info
- add auto-detection of components and RAID sets (Disabled, for now)
- allow / on RAID sets (Disabled, for now)
- rename "config_disk_queue" to "rf_ConfigureDiskQueue" and properly prototype
in rf_diskqueue.h
- protect some headers with #if _KERNEL  (XXX this needs to be fixed properly)
  and cleanup header formatting.
- expand the component labels (yes, they should be backward/forward compatible)
- other bits and pieces (some function names are still bogus, and will get
changed soon)
2000-02-13 04:53:57 +00:00
augustss 0b2e81991d Avoid panic when a non-working hub is detached. 2000-02-12 23:44:16 +00:00
enami 84b6105bbe Check if device is active in wi_intr and wi_inquire. 2000-02-12 23:35:28 +00:00
ad fc8ea8f0c5 Misplaced #endif. 2000-02-12 22:06:54 +00:00
augustss d3fb7161d2 Regen. 2000-02-12 22:02:01 +00:00
augustss b4fac8c7d0 Add Microsoft Internet Keyboard Pro. 2000-02-12 22:01:31 +00:00
ad 59748e7e55 Fix the unaligned accesses discovered by dbj. 2000-02-12 21:58:58 +00:00
chopps 53e6733789 awi is an 8-bit only card, so set the 8bit flag. 2000-02-12 19:58:35 +00:00
thorpej 1268cc5d6c If we got an xfer from our backlog queue, don't allow sleeping; we're in
interrupt context.

XXX This is fixed properly in the thorpej_scsipi branch, but that won't
be ready for 1.5, I don't think.
2000-02-12 19:12:52 +00:00
thorpej fc72b13d27 Const poison. 2000-02-12 19:05:55 +00:00
itojun 02bf7fcd13 add wi_detach and friends so that we can hot-swap wi card. 2000-02-12 16:08:04 +00:00
oster edc931efea Make this compile without warnings on alphas.
(Problem noted by Aaron J. Grier)
2000-02-12 16:06:27 +00:00
augustss 523d157a05 Regen. 2000-02-12 15:02:56 +00:00
augustss a79d73d045 Add Corega FEther adapter. From PR 9394. 2000-02-12 15:02:21 +00:00
enami 01868857df Add activate routine and check device active flag also in one second
tick handler.
2000-02-12 04:05:49 +00:00
enami fbc47bda30 Cosmetic changes. 2000-02-12 03:55:49 +00:00
mjacob 1b188ee2ff A lot of cleanup and shrinkage. Some items moved to isp_tpublic.h. 2000-02-12 02:33:34 +00:00
mjacob 55a78c1ee4 Add in 12160 (Ultra3) support. Turn back on fast posting for the new
generateion parallel SCSI cards (1240/1080/1280/12160). Split up nvram
reading routines to be more readable. Fix topology reporting- 2200 has
connected topology in mailbox 6 when you're done getting your loop id
(supported: Private Loop (NL Port), N-Port, F-Port, FL-Port). The 2100
doens't report this, but we can synthesize it to be either NL-Port or
FL-Port. Add in some connection mode async events.
2000-02-12 02:32:21 +00:00
mjacob 56e16448ad add in 12160 (Ultra3) related definitions 2000-02-12 02:29:00 +00:00
mjacob 9f63fdeefb add in 12160 (Ultra3) NVRAM definitions 2000-02-12 02:28:32 +00:00
mjacob 87355d841f add some Qlogic 2200 point-to-point and extended ICBOPT definitions 2000-02-12 02:26:26 +00:00
mjacob 50f2620822 add 80 MHz case 2000-02-12 02:25:28 +00:00
mjacob 3f96822c3b some minor cleanups 2000-02-12 02:24:20 +00:00
mjacob 63c56a9de6 add a more public shared i/f to target mode 2000-02-12 02:23:13 +00:00
mjacob 6eba47aa8f add (untested in NetBSD yet) Qlogic 12160 (Ultra3) suppot 2000-02-12 02:22:37 +00:00
mjacob 29f08cd82d add 12160 (Ultra3) microcode 2000-02-12 02:07:49 +00:00
simonb 2db5581a4c Declare the mcclock_pad32_busfns variable as extern. 2000-02-11 02:36:16 +00:00
thorpej 29ae6dbe05 We're given a K1SEG address already. 2000-02-11 01:32:42 +00:00
chopps d8595b9af3 map common memory 8 bit for cis scan when following longlinks. 2000-02-10 09:01:52 +00:00
chopps 44b423d73b always map attr memory 8 bit, since its defined that way. 2000-02-10 09:00:19 +00:00
joda d40e2b51ee add detach code 2000-02-09 22:15:57 +00:00
enami e00270524e ASIX AX88190 support (Planex FNW-3700-T and Melco LPC3-TX) from FreeBSD/PAO3. 2000-02-09 15:40:23 +00:00
enami 67bc20747a Support Xircom CompactCard Ethernet CFE-10. 2000-02-09 14:54:53 +00:00
enami 99f529f0b3 - Since all resources are mandatory, no need to manage individually.
- KNF some code.
- Factor out some code into function.
- Disestablish an interrupt handler when failed to enable card power.
2000-02-09 14:42:33 +00:00
enami dc87f2899f - No need to keep track enable/disable state here. The smc91cxx.c also
manages it.
- Disestablish an interrupt when failed to enable card.
- Don't say I'm enabled if failed to enable card.
2000-02-09 13:40:42 +00:00
enami 94a6dd9169 Regen. 2000-02-09 13:33:22 +00:00
enami 947c0fee74 Add an entry for Planex FNW-3700-T. 2000-02-09 13:32:23 +00:00
enami e729d284ad Add an entry for Melco LPC3-TX. 2000-02-09 13:20:55 +00:00
enami e92b285eaf Add an entry for Xircom CompactCard Ethernet CFE-10. 2000-02-09 13:07:45 +00:00
itohy 0a1d6b1357 Make it compile with options DEBUG.
Reported by Kawamoto Yosihisa (PR #9379).
2000-02-09 07:57:52 +00:00
augustss 76c14cd322 Don't stall the control pipe on error. 2000-02-08 18:46:03 +00:00
augustss e922214fb2 Use NULL instead of 0. 2000-02-08 18:45:27 +00:00
thorpej 3bc7ce8d31 Cast bus_size_t to u_long for printing. 2000-02-08 18:40:51 +00:00