Commit Graph

2030 Commits

Author SHA1 Message Date
christos
1cb1045a68 Fix uninitialized variable warnings. 2003-10-25 18:28:31 +00:00
augustss
f42962a2c2 Add Dvorak keyboard map. From PR kern/23230, jacereda@tractor.act.uji.es. 2003-10-22 17:24:43 +00:00
augustss
6d60d8ab89 Re-add the quirks that force certain In-System Design adapters to appear
as (non-standard) ATA over BBB adapters.  Without these quirks they are
not regocnized by the umass driver.
2003-10-22 05:38:16 +00:00
wiz
810d184699 Fix typo in comment. 2003-10-18 07:41:26 +00:00
simonb
78c2103e34 Remove assigned-to but otherwise unused variables.
Remove unreachable break after return statements.
2003-10-18 04:50:35 +00:00
mycroft
e879d3a728 PQUIRK_NOSENSE is dead here. Remove the code supporting it. 2003-10-17 00:20:28 +00:00
mycroft
3fd37812f4 The Yano quirk was intended to do FORCE_SHORT_INQUIRY. Not that that's gone,
we shouldn't need this any more, so nuke it.
2003-10-17 00:12:58 +00:00
mycroft
ecb8d5d482 Set the REQUEST SENSE command length to 12 for ATAPI, too. (UFI and ATAPI are
really the same...)

Fixes problems with Sony Vaio memory stick slots, which advertise themselves as
"ATAPI over CBI".

Remove the quirk for Fuji cameras, since this is almost certainly the same bug.
2003-10-16 23:39:40 +00:00
mycroft
19ef8301a7 Switch back to UMATCH_DEVCLASS_DEVSUBCLASS_DEVPROTO in a few cases. Not that
it really matters, but UMATCH_VENDOR_PRODUCT effectively overrides the class
code, and that is not supposed to be part of the "quirk".
2003-10-16 20:01:06 +00:00
mycroft
f8c8ef3b63 Document the Olympus, ScanLogic and Sony "quirks" better. Also, the ScanLogic
correctly reports itself as SCSI -- it is *not* UFI.
2003-10-16 19:54:01 +00:00
wiz
68f5a56945 regen 2003-10-16 08:05:54 +00:00
wiz
7127923ca9 According to Linux USB Ids list, 0b7a belongs to zeevo, inc. 2003-10-16 08:05:42 +00:00
mycroft
d7b6d72e8c Deal with the damn DiskOnKey devices. See the comment for an explanation. 2003-10-16 00:36:46 +00:00
rjs
9f105a9400 Regen. 2003-10-15 11:11:55 +00:00
rjs
41929af1e0 Add more IDs. 2003-10-15 11:10:45 +00:00
tron
d8c9e38848 Fix build error caused by last change. 2003-10-15 08:28:29 +00:00
simonb
9606d846fa Don't check an uninitialsed error variable before printing an error
message.
2003-10-15 06:43:36 +00:00
wiz
09d05922dc Fix mixer wraparound. Closes PR 16652.
Patch from Sergey Svishchev. mycroft says "looks ok".
2003-10-14 13:12:19 +00:00
augustss
359109cff2 Regen. 2003-10-13 22:34:32 +00:00
augustss
6c07c4466a Another Logitech camera. 2003-10-13 22:34:10 +00:00
augustss
32ee02b1f9 Regen. 2003-10-13 17:16:55 +00:00
augustss
c88ef72c1d Add some IOMEGA products. 2003-10-13 17:15:03 +00:00
dyoung
f9d6bac599 dev/scsipi/atapi_disk.h is no more, and umass_scsipi.c compiles
fine w/o it.
2003-10-13 01:47:55 +00:00
enami
3dbf40b29d KNF the previous commit. 2003-10-13 00:05:36 +00:00
enami
b3931d341e Rest of PR23128, so that ehci.c compiles again. 2003-10-13 00:05:10 +00:00
mycroft
ba41e2e19b Fix problems with ehci on controllers that support 64-bit addressing. From
Cliff Wright, PR 23128.  Thanks!
2003-10-12 18:04:28 +00:00
wiz
d231b1cffc regen (Acer BT-500 Bluetooth USB Adapter). 2003-10-11 12:13:00 +00:00
wiz
5da5ca0dde Add IDs for Acer BT-500 Bluetooth USB Adapter. 2003-10-11 12:11:13 +00:00
toshii
6bd45c6229 Fix a done list handling bug which exhibits under high shared interrupt
rate and bus traffic.  As the interrupt register is read after checking
hcca_done_head, there was a small chance of dropping a done list.
Ignore OHCI_WDH interrupt bit if hcca_done_head is zero so that OHCI_WDH
is processed later.
2003-10-11 03:04:26 +00:00
bouyer
7719e83c8b Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.
2003-10-08 20:57:59 +00:00
bouyer
99d6009c2a Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.
2003-10-08 10:58:12 +00:00
augustss
1c24ba42ab Several changes:
* Implement read for ulpt.
 * If the device is not opened for reading, occasionally drain any
   data the printer might have (but don't hammer the printer with reads).
 * Lower the buffer size to one page.
The driver seems to work with more printers now.
2003-10-04 21:19:50 +00:00
augustss
99ebb5ba5a Add more printers that report bidir mode, but can't handle it. From Linux. 2003-10-02 19:10:37 +00:00
augustss
301ab7ace1 Regen. 2003-10-02 19:09:53 +00:00
augustss
e45171e5c1 Add more printers (from Linux). 2003-10-02 19:09:28 +00:00
augustss
7838ca0944 Regen. 2003-10-02 18:34:35 +00:00
augustss
3d6bbf42ca Add HP Deskjet 6127. 2003-10-02 18:34:12 +00:00
augustss
1aa1d2f8e2 The umass attach can fail in many ways. Print a message about why it
failed instead of just being silent about it.
2003-09-29 20:04:25 +00:00
augustss
95b435b7b3 Update URLs. From PR 23004. 2003-09-29 11:54:26 +00:00
jdolecek
330360f6a6 regen: ROLAND MIDI devices and Piengineering Xkeys entry 2003-09-28 07:15:47 +00:00
jdolecek
eb3ff4c555 add usbdevs entries and umidi quirks for Roland USB MIDI devices
contributed in PR kern/18096 by Clemens Ladisch
2003-09-28 07:14:56 +00:00
jdolecek
b2122d6d98 add Piengineering Xkeys 58 entry, from kern/20838 2003-09-28 06:55:57 +00:00
mycroft
ab223e99bc Allow a device to reject CLEAR_FEATURE ENDPOINT_STALL (with a STALL) -- the
assumption being that the device will never use a STALL of a non-control pipe,
I guess.
2003-09-23 21:44:42 +00:00
jdolecek
7cea8a1389 cleanup & uniform descriptor owner handling:
* introduce fsetown(), fgetown(), fownsignal() - this sets/retrieves/signals
  the owner of descriptor, according to appropriate sematics
  of TIOCSPGRP/FIOSETOWN/SIOCSPGRP/TIOCGPGRP/FIOGETOWN/SIOCGPGRP ioctl; use
  these routines instead of custom code where appropriate
* make every place handling TIOCSPGRP/TIOCGPGRP handle also FIOSETOWN/FIOGETOWN
  properly, and remove the translation of FIO[SG]OWN to TIOC[SG]PGRP
  in sys_ioctl() & sys_fcntl()
* also remove the socket-specific hack in sys_ioctl()/sys_fcntl() and
  pass the ioctls down to soo_ioctl() as any other ioctl

change discussed on tech-kern@
2003-09-21 19:16:48 +00:00
jdolecek
ea7271519d regen - addition of KYE G-07 joystick entry
contributed in kern/22837 by Sergey Svishchev
2003-09-20 09:17:36 +00:00
jdolecek
63eb0e1ad8 add entry for KYE G-07 joystick
contributed in PR kern/22837 by Sergey Svishchev
2003-09-20 09:16:44 +00:00
mycroft
4b716264f7 Shuttle products do not need PQUIRK_NOTUR any more. Also removing them for the
other two items, since they are presumed unnecessary.
2003-09-17 07:49:11 +00:00
mycroft
09e452d82a Do the quirk initialization earlier. 2003-09-13 03:18:13 +00:00
mycroft
96b1a8d146 Arrange for the SCSI device to be target 0, and us to be the highest target
number.  This will make my life easier later...
2003-09-13 03:16:49 +00:00
mycroft
509e3d9fce Set SCSIPI_CHAN_NOSETTLE. 2003-09-12 19:02:30 +00:00