Commit Graph

12067 Commits

Author SHA1 Message Date
augustss f690fc0845 More DIAGNOSTIC. 2001-12-28 00:21:26 +00:00
augustss 3bf49b584d Add some more #defines. 2001-12-28 00:20:24 +00:00
nathanw 5dbef63175 Use PQUIRK_ONLYBIG for all Olympus cameras, not just the C-1.
Use PQUIRK_ONLYBIG for the PQI TravelFlash.
2001-12-27 18:57:46 +00:00
augustss 04ec4ba316 Add some DIAGNOSTIC stuf that I forgot. From Nate Williams. 2001-12-27 18:48:28 +00:00
augustss f8e03bd53c Change some DIAGNOSTIC #defines. 2001-12-27 18:43:46 +00:00
itohy 74f17f2922 Analyzed structure of CMI8738/PCI-6ch-* mixer
for the benefit of those who edit the driver.

This is a Fig file.  Use Xfig to edit/view, use Transfig
package to convert to other graphic formats.
2001-12-27 14:20:30 +00:00
itohy f741672ddc Fix comment. 2001-12-27 14:17:04 +00:00
augustss 0df9b7654d ANSIfy. 2001-12-27 11:28:01 +00:00
augustss d0f9a76506 Update a comment. 2001-12-27 11:27:11 +00:00
augustss 1f003f1c43 Name collection types. 2001-12-27 11:25:47 +00:00
augustss 81b818b421 Add usbd_get_protocol(). 2001-12-27 11:24:42 +00:00
augustss 12560718c5 Files I forgot to remove in last commit. 2001-12-27 11:23:56 +00:00
augustss 996d5c6c26 Be a little more paranoid. 2001-12-26 10:56:58 +00:00
cjs 80c0f36acc Re-make these after usbdevs update. 2001-12-26 07:18:36 +00:00
cjs 2d1b70cd08 Add ID for memory stick slot in Sony Clie running PalmOS 4.0. This may also
be the same for the PalmOS 3.5 versions, but I can't test that.
2001-12-26 04:32:39 +00:00
someya 09638d7a55 add 600 times dummy read from codec for YMF744 (revision < 2). 2001-12-25 16:55:50 +00:00
christos 70e238a1bc PR/15049: Katsuomi Hamajima: fix memset re-definition. 2001-12-25 14:03:15 +00:00
jmcneill ff0249d84d Fix block position calculation in esl_intr. 2001-12-25 04:05:34 +00:00
jmcneill b0df9e12af The check for AUMODE_PLAY in esl_set_params was breaking some applications.
Remove it.
2001-12-25 03:47:46 +00:00
jmcneill a89f9c462b 'nintr' from esl_softc was never used -- remove it 2001-12-25 03:46:34 +00:00
jmcneill c4669fd0d0 Fixes output at 44kHz, 16-bit, stereo. Thanks to Charles Hannum and
Lennart Augustsson for providing proper fixes.
2001-12-25 02:37:39 +00:00
augustss 0228f218d3 Add UISDATA_DEBUG. 2001-12-24 21:37:52 +00:00
augustss 213baeaad6 Use the new USB_PRODUCT_ANY match. 2001-12-24 21:36:54 +00:00
augustss bfc3660fb1 Add some more DIAGNOSTIC tests.
Make usb_match_device() match on USB_PRODUCT_ANY.
2001-12-24 21:36:15 +00:00
augustss c33e730dd9 Get rid of the transfer_speed nonsense to calculate the timeout.
We get passed a timeout from the upper layer which is what matters.
2001-12-24 19:24:33 +00:00
augustss ab7b323efa Add a preliminary version of a driver for In-System Designs non-standard
ATA-over-BulkOnly protocol.  The ISD chip can be found, e.g., in the
Archos MP3 player.
The driver still lacks real error handling.
2001-12-24 13:43:24 +00:00
augustss 45fc7e27e9 Regen. 2001-12-24 13:40:50 +00:00
augustss 0d60061a8b Add some more In-System based adapters. 2001-12-24 13:40:31 +00:00
augustss 56b5867371 Make the separation between wire protocol (umass.c) and command protocol
(umass_scsipi.c) more distinct.
It is now possible to add new command protocols with a minimum of change.
The umassbus.[ch] files have been renamed umass_scsipi.[ch] since this
reflects their purpose better.
2001-12-24 13:25:52 +00:00
jdolecek e71e5045dc Back off rev. 1.21, this is going to be handled via userland keymap file.
Discussed with Martin Husemann.
2001-12-24 12:39:55 +00:00
christos 6e8072d607 enable the card before trying to establish an interrupt because we need the
ccr mapped on multi-function cards.
2001-12-24 12:07:27 +00:00
christos d3d8a33acf change if defined foo to ifdef foo and change a c++ comment into a c comment. 2001-12-24 09:41:34 +00:00
christos d0b18148da make sure that we adjust the end of the subrange if we adjusted the beginning
of it, but the offset of the card. Fixes 'cannot map i/o space' on 3c562d
2001-12-24 09:37:53 +00:00
christos 0e9f2d7a35 when we disable, we first disestablish the interrupt and then the card.
when we enable, we first configure the card and then establish the interrupt.
This is so that the ccr is mapped on multifunction cards.
2001-12-24 09:30:40 +00:00
jdolecek a89c5fcfcb Merge in changes sent by Michael Shalayeff, from OpenBSD port of this driver:
- use better default for DAC level (previous produced distorted output)
- preserve DAC setting in between openings
2001-12-23 23:14:59 +00:00
jdolecek c4e01300ad Add the AC97_HOST_SWAPPED_CHANNELS quirk for emuxki, and do some
whitespace cleanup. Streight from Yannick Montulet.
2001-12-23 22:54:08 +00:00
jdolecek 0a96b4c675 Whitespace cleanup, streight from Yannick Montulet. 2001-12-23 22:52:49 +00:00
ichiro c4552cab7f support FUJITSU MB86960/5 based ethernet cards
FMV-J181,182,182A
2001-12-23 09:25:19 +00:00
ichiro 766857df86 add FUJITSU MBH10302 specific Registers 2001-12-23 09:21:00 +00:00
ichiro e5761e3205 regen 2001-12-23 09:11:05 +00:00
ichiro 42ff7db32c change CIS name 2001-12-23 09:10:39 +00:00
gehenna 59c47ef767 The FujiFilm USB storage drive doesn't have a flex geom page and
doesn't know REQUEST SENSE.
2001-12-22 13:29:50 +00:00
gehenna e1839209b8 Add new quirk: NO_REQUEST_SENSE
Submit by: Dave Sainty
2001-12-22 13:21:59 +00:00
elric bfa5b70752 Hmmm. These were done this year, not 3 years ago. 2001-12-22 01:38:20 +00:00
augustss 3e919c40c7 Regen. 2001-12-21 23:37:41 +00:00
augustss 72d569430d Fix typo, pointed out by Nathan Binkert. 2001-12-21 23:37:18 +00:00
matt 7ddce9880c When mapping the consumer assignment, assign db_seg[0] to cb_seg[0] so any
private fields are copied as well.  Then adjust cb_seq[0] public fields.
This make the DEFPA come up on sparc64.
2001-12-21 23:21:47 +00:00
bjh21 53fbe7ac5d Correct a few comments and constant names in the light of the actual
documentation for this card (which I seem to have).
2001-12-21 22:33:28 +00:00
augustss c6107a12f8 Add UIRDA_DEBUG. 2001-12-20 17:41:32 +00:00
augustss 4668f40616 Don't forget to call start routine in dongle manipulation. 2001-12-20 11:30:13 +00:00
augustss 28318702e6 Rearrange code that wiggles modem control lines so it actually reaches
the com port driver.
2001-12-20 09:26:35 +00:00
thorpej 16c96355a8 Fetch the MAC address from the NVRAM on the SiS 630 built-in Ethernet.
Based on PR 14665, Stephen Borrill <netbsd@precedence.co.uk>.
2001-12-20 03:32:31 +00:00
thorpej f1b4fd111e Regen; added SiS 630 PCI-Host bridge. 2001-12-20 03:24:58 +00:00
thorpej 694fcc51c0 Add the product ID for the SiS 630 PCI-Host bridge. 2001-12-20 03:24:22 +00:00
bouyer 5938b2bd62 Ops, a Ultra100>=TX2 is always in native mode ! 2001-12-18 16:40:51 +00:00
bouyer 787b934e1e The CMD0649 has 2 truly independant channel. tested by and patch from
Love <lha@stacken.kth.se>.
I suspect this is true for the 648 too; if someone with a 648 and one device
on each channel could test that all works with one_channel = 1, it would
be great !
2001-12-18 16:32:54 +00:00
soren 95c864d4f6 Previous was committed by mistake; revert. 2001-12-18 15:50:23 +00:00
augustss b2a9a2993d Move utility routine from uirda.c to usbdi_util.c. 2001-12-18 14:50:01 +00:00
ad 6b7cc2a465 Couple more tweaks, probably still not working. 2001-12-18 13:38:48 +00:00
ichiro 214499d236 change routine of device search.
mbe_pcmcia_lookup() is introduced
2001-12-18 11:32:47 +00:00
ichiro 62ddf45f47 regen 2001-12-18 11:23:49 +00:00
ichiro e59b8e538e add CIS strings of FUJITSU FMV-181,182,182A
delete ITCFJ182A, because FMV-182[A] ID is same as ITCFJ182A.
2001-12-18 11:23:24 +00:00
ichiro 57957526e0 Uoo
Make it compile.
2001-12-17 14:34:37 +00:00
ichiro 1b0449d255 support BREAK function,
keep a value of the last LCR.
2001-12-17 14:31:02 +00:00
ichiro d5f3329501 In BREAK, the value of LCR is held. 2001-12-17 14:19:39 +00:00
gehenna 7cd101a6ca Introduce the new umass quirk table.
Discussed with augustss.
2001-12-17 12:16:14 +00:00
bouyer a9f41fe33b dd support for the Promise Ultra100TX2, Promise Ultra100TX2v2 and Ultra133
IDE controllers. In part from OpenBSD via ragge, in part from FreeBSD.
2001-12-16 23:35:52 +00:00
oster 3b488c3f27 Fix an off-by-one error when autoconfig is hunting for a free RAID
device in the rare event that the one it wants is already in use.
Thanks to Wolfgang Stukenbrock for noticing the bug and filing the PR.
This fix addresses PR#14862.
2001-12-16 22:57:32 +00:00
thorpej e53aabcecc Rename weasel.c to weasel_isa.c in preparation for supporting the
PCI version of the Weasel.
2001-12-16 22:35:31 +00:00
thorpej cf64f893c8 Try again: weasel -> weasel_isa 2001-12-16 22:33:35 +00:00
thorpej 87e8f0c761 Oops, revert previous; it included some other changes there weren't
meant to be checked in.
2001-12-16 22:32:07 +00:00
thorpej b45e326520 weasel -> weasel_isa 2001-12-16 22:30:26 +00:00
thorpej cb2d65aaf9 Fix a minor typo. 2001-12-16 22:23:01 +00:00
thorpej 23dfa29697 Add the serial port on the Middle Digital, Inc. PCI Weasel. 2001-12-16 22:22:04 +00:00
thorpej fd8e4d1653 Regen:
Add Middle Digital, Inc. vendor ID.  Add product IDs for the
Middle Digital PCI-Weasel Virtual VGA, Serial Port, and Control
registers.
2001-12-16 22:00:41 +00:00
thorpej f7b4a308a9 Add Middle Digital, Inc. vendor ID. Add product IDs for the
Middle Digital PCI-Weasel Virtual VGA, Serial Port, and Control
registers.
2001-12-16 21:59:47 +00:00
soren 3faa83dcb4 To make dev/pcmcia work on platforms with 64-bit bus_addr_t and
32-bit bus_size_t (sparc), change the pcmcia_mem_map(9) offsetp
argument to bus_size_t as it is used as a bus_space offset.
2001-12-16 17:53:17 +00:00
ichiro 0a1465a39c handle vendor and product lookup with common routine 2001-12-16 15:11:19 +00:00
ichiro 10c8cdf485 missing Misc Attribute of PCMCIA functions
FUJITSU CF Ether ITCFJ182A supported "Power down"
Power down supply current are 20mA
2001-12-16 06:07:50 +00:00
ichiro ff638ce5fd support FUJITSU CF EthernetCard
ITCFJ181A

mbe0 at pcmcia1 function 0: Fujitsu J182A Compact Flash Ethernet
mbe0: Ethernet address 00:00:0e:c5:01:ea
2001-12-16 05:44:33 +00:00
ichiro a4ad95c757 regen 2001-12-16 05:43:16 +00:00
ichiro dc739ee7b9 add FUJITSU CF EthernetCard
ITCFJ181A
2001-12-16 05:42:46 +00:00
tsutsui 7d563fd40e malloc() + memset() -> malloc() with M_ZERO flag 2001-12-16 04:17:02 +00:00
bjh21 7f32875295 if_media support for the DP83905 AT/LANTIC (a souped-up DP8390). 2001-12-16 00:22:43 +00:00
bjh21 c72d5d40dd Add code to support the bugged Macronix MX98905 chip, as used in several
podulebus Ethernet cards.  This replaces the NE2000 memory-access routines
with ones that don't try to transfer more than 255 bytes at a time.

This code should perhaps be merged into ne2000.c, but presumably most NE2000
clones won't need it.
2001-12-15 17:47:34 +00:00
soren 875bff0962 To make dev/pcmcia work on platforms with 64-bit bus_addr_t and
32-bit bus_size_t (sparc), change the pcmcia_mem_map(9) offsetp
argument to bus_size_t as it is used as a bus_space offset.
2001-12-15 13:23:20 +00:00
soren 3514260fd4 Regen. 2001-12-15 13:18:10 +00:00
soren c425f6ea72 Add Cologne Chip Designs ISDN controller. 2001-12-15 13:17:49 +00:00
soren e324e87ca8 Fix typo in comment. 2001-12-15 12:01:55 +00:00
soren 3022b71f80 Correct copyright header. 2001-12-15 11:45:24 +00:00
soren df984ecc52 Use bus_size_t's for bus space read/write offsets. 2001-12-15 11:41:09 +00:00
explorer 6b9f60a2db install into /usr/include/dev/ir, since Jason made irdaattach look here. 2001-12-15 01:03:28 +00:00
augustss c6df7d4358 Regen. 2001-12-15 00:31:43 +00:00
augustss 385b05e2f9 Add another Altima PHY. From Peter Seebach. 2001-12-15 00:31:03 +00:00
augustss c70fc55cba Add a hack for ScanLogic SL11R IDE adapter. From FreeBSD. 2001-12-15 00:26:14 +00:00
augustss 3a31906841 Regen. 2001-12-15 00:25:00 +00:00
augustss 4a4ae0b6b7 YAD. 2001-12-15 00:15:01 +00:00
augustss 18c6adb0b6 YAD (Yet Another Device) 2001-12-15 00:07:45 +00:00
augustss f79701e3fa Regen. 2001-12-14 23:57:00 +00:00
augustss 154a59571d Add SS1001. 2001-12-14 23:56:42 +00:00
augustss 356c54687b Integrate fix from PR 10155.
Add ACCTON SS1001.
2001-12-14 23:56:21 +00:00
nathanw 8d1585affa The Olympus C-1 engine cameras seem to need the PQIRK_ONLYBIG quirk. 2001-12-14 22:15:52 +00:00
augustss 74a0c5db97 Remember to add header byte to length.
Use fewer magic constants.
(The driver works now.)
2001-12-14 15:44:04 +00:00
augustss 342a82f2dd Start read at open.
Don't send new header when nothing changes.
(But uirda is still not working.)
2001-12-14 13:07:33 +00:00
augustss 7f50d17c46 Sanity check speed setting. 2001-12-14 12:57:30 +00:00
augustss 142cdc8997 Rearrage softc a little. 2001-12-14 12:56:58 +00:00
augustss aa89e69702 Don't reallocate I/O buffers. 2001-12-14 12:08:14 +00:00
augustss d787f49ee6 Fix descriptor definition bug.
Clear endpoint stall on error.
2001-12-14 12:02:53 +00:00
bjh21 2ee0431a3d Register definitions for the NatSemi DP83905 AT/LANTIC, as used in many
podulebus Ethernet cards.
2001-12-14 10:16:03 +00:00
gehenna f144837e0e Stylistic changes 2001-12-14 08:58:49 +00:00
gehenna 2d27ad7c73 Define a new structure to store wire specific control methods.
The basic BBB/CBI functions are stored as members of constant structure.
When attached device, softc holds one of that constant structures.
2001-12-14 08:46:19 +00:00
ichiro 69424fd268 typo fix 2001-12-14 08:33:54 +00:00
gehenna 49bba69842 Use device handle and interface number which are stored in softc. 2001-12-14 06:21:56 +00:00
gehenna 53f34def69 Change style to store endpoint addresses and pipes. 2001-12-14 05:58:13 +00:00
mjacob 219d22404b Major restructuring for swizzling to the request queue and unswizzling from
the response queue. Instead of the ad hoc ISP_SWIZZLE_REQUEST, we now have
a complete set of inline functions in isp_inline.h. Each platform is
responsible for providing just one of a set of ISP_IOX_{GET,PUT}{8,16,32}
macros.

The reason this needs to be done is that we need to have a single set of
functions that will work correctly on multiple architectures for both little
and big endian machines. It also needs to work correctly in the case that
we have the request or response queues in memory that has to be treated
specially (e.g., have ddi_dma_sync called on it for Solaris after we update
it or before we read from it).

One thing that falls out of this is that we no longer build requests in the
request queue itself. Instead, we build the request locally (e.g., on the
stack) and then as part of the swizzling operation, copy it to the request
queue entry we've allocated. I thought long and hard about whether this was
too expensive a change to make as it in a lot of cases requires an extra
copy. On balance, the flexbility is worth it. With any luck, the entry that
we build locally stays in a processor writeback cache (after all, it's only
64 bytes) so that the cost of actually flushing it to the memory area that is
the shared queue with the PCI device is not all that expensive. We may examine
this again and try to get clever in the future to try and avoid copies.

Another change that falls out of this is that MEMORYBARRIER should be taken
a lot more seriously. The macro ISP_ADD_REQUEST does a MEMORYBARRIER on the
entry being added. But there had been many other places this had been missing.
It's now very important that it be done.

For NetBSD, it does a ddi_dmamap_sync as appropriate. This gets us out of
the explicit ddi_dmamap_sync on the whole response queue that we did for SBus
cards at each interrupt.

Set things up so that platforms that cannot have an SBus don't get a lot of
the SBus code checks (dead coded out).

Additional changes:

Fix a longstanding buglet of sorts. When we get an entry via isp_getrqentry,
the iptr value that gets returned is the value we intend to eventually plug
into the ISP registers as the entry *one past* the last one we've written-
*not* the current entry we're updating. All along we've been calling sync
functions on the wrong index value. Argh. The 'fix' here is to rename all
'iptr' variables as 'nxti' to remember that this is the 'next' pointer-
not the current pointer.

Devote a single bit to mboxbsy- and set aside bits for output mbox registers
that we need to pick up- we can have at least one command which does not
have any defined output registers (MBOX_EXECUTE_FIRMWARE).

Explicitly decode GetAllNext SNS Response back *as* a GetAllNext response.
Otherwise, we won't unswizzle it correctly.

Nuke some additional __P macros.
2001-12-14 00:13:44 +00:00
mjacob acbfdd822a Roll f/w to latest level, correcting several, ah, interesting bugs. 2001-12-14 00:07:55 +00:00
bouyer 71e063c830 pdc202xx_setup_channel: remove a duplicate line. 2001-12-13 20:57:22 +00:00
bouyer ca9f8b13da Regen: Add some promise controllers, from FreeBSD 2001-12-13 20:41:05 +00:00
bouyer b981b05472 Add some promise controllers, from FreeBSD 2001-12-13 20:40:28 +00:00
augustss 04c10fc0cf Initialize lock. 2001-12-13 17:25:37 +00:00
augustss 3df38cc501 Some debug stuff. 2001-12-13 17:15:09 +00:00
augustss f2821a312a Fix TODO comment. 2001-12-13 17:14:21 +00:00
augustss 090d1a628e Move parameter checks to a common place. 2001-12-13 15:09:07 +00:00
augustss 2485171a67 Use unsigned ints. 2001-12-13 15:08:26 +00:00
junyoung 9dbc5fd199 ANSIfication & KNF fixes. 2001-12-13 08:38:35 +00:00
junyoung f075aa60ac ANSIfication & cosmetic changes. 2001-12-13 08:35:38 +00:00
junyoung 9ff2a7a76d ANSIfy. 2001-12-13 08:34:55 +00:00
junyoung d5decae4e0 ANSIfication & cosmetic changes. 2001-12-13 08:31:39 +00:00
tacha cba701fed7 remove bogus printf. 2001-12-13 02:50:30 +00:00
augustss 0ba8bac8fe Fix some bugs. But the driver is still borken. 2001-12-13 02:16:21 +00:00
augustss d6bbabfb1b Some DIAGNOSTIC nonsense. 2001-12-13 00:33:58 +00:00
augustss a97820e536 Don't use u_int since it requires sys/types.h 2001-12-13 00:33:36 +00:00
augustss 8e98b4a185 Add some special cases for the Sitecom adapter.
Make endian safe.
Fix some minor bugs.
2001-12-12 23:59:48 +00:00
augustss 3ed67fc0c4 Add missing delay for the tekram dongle. 2001-12-12 17:52:06 +00:00
augustss 5c0685d35e Don't use timeout 0 to tsleep() when the time is short. 2001-12-12 17:21:36 +00:00
augustss 0a4d7b9de3 Add a scanner quirk for keeping the pipes open between device opening.
Idea from Enami.
2001-12-12 15:48:18 +00:00
augustss 7727919172 Use USBD_NO_COPY in for some transfers where it was missing. 2001-12-12 15:44:47 +00:00
augustss 2fdd0f5a4b Some more paranoia checks when DIAGNOSTIC. 2001-12-12 15:38:58 +00:00
augustss 29c3fe261b Add some comments. 2001-12-12 15:38:27 +00:00
augustss 95d1208c14 Regen. 2001-12-12 15:37:21 +00:00
augustss 290d3a0d9e Add some devices. 2001-12-12 15:36:59 +00:00
augustss dfbcffae07 Remove some stupid casts. 2001-12-12 15:36:08 +00:00
augustss 2fe5c52a53 Use unsigned ints for device settings. 2001-12-12 15:34:49 +00:00
augustss fae70125c0 Change default value for ebofs. 2001-12-12 15:34:15 +00:00
augustss 0680aa8809 Add some ioctl()s for consumer IR. 2001-12-12 15:33:53 +00:00
augustss bb9f9be772 Add uirda. 2001-12-12 15:31:33 +00:00
augustss 4a802f4928 Add USB-IrDA bridge.
Needs more testing.
2001-12-12 15:27:24 +00:00
augustss 22735e5d44 Move usbd_clear_endpoint_toggle() prototype to usbdi.h. 2001-12-12 15:23:58 +00:00
gehenna 968318a989 Use vendor/product variables 2001-12-12 14:24:53 +00:00
gehenna 0f983137af Don't change wire protocol state in umass generic function 2001-12-12 13:23:20 +00:00
gehenna 54e3c1962e bcopy -> memcpy 2001-12-12 13:17:03 +00:00
elric 51b292ea65 Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.
2001-12-12 07:50:05 +00:00
elric 94448f7e52 Update the ramdac interface to be allow the setting of dotclocks. This is
required to support the driver in ibm561.c.
2001-12-12 07:47:46 +00:00
elric 8ffabd82eb Initial support for the IBM RGB561 RAMDAC. This uses the same interface
as the Bt463 and Bt485 drivers.
2001-12-12 07:46:48 +00:00
tv 8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
augustss 1ad59a57f2 Recognized Danube chip as well.
Small cleanup.
2001-12-11 21:34:06 +00:00
pk f696afd8ff Name changes: {KBD,MS}_BPS => {KBD,MS}_DEFAULT_BPS 2001-12-11 17:27:25 +00:00
ad f1e83bd500 Regen. 2001-12-11 11:21:56 +00:00
ad a2b8531ff3 Add some Intel/ICP-Vortex/Compaq products. 2001-12-11 11:21:01 +00:00
kleink b327c956d1 Regen: add product ID for the Motorola MPC107. 2001-12-11 11:00:45 +00:00
kleink 4e24ace442 Add product ID for the Motorola MPC107. 2001-12-11 10:57:50 +00:00
kleink 0fc3ae7e76 Add (some) register definitions for the Motorola MPC105 PCI Bridge/Memory
Controller (PCIB/MC).
2001-12-10 12:09:33 +00:00
augustss aa816a6d89 Regen. 2001-12-10 03:36:54 +00:00
augustss 9cfe511c73 Add some devices. 2001-12-10 03:36:12 +00:00
veego 9d39bbf3a8 Support for dvd region code (RPC). 2001-12-09 22:56:10 +00:00
manu 3cdc6f6197 Changed clocktl interface to use syscallargs structures 2001-12-09 16:10:43 +00:00
fvdl 14deefd5b1 pckbd_enable is called during autoconfig. Using pckbc_enqueue_cmd at
that time will have bad results, such as queue corruption because
of multiple TAILQ_INSERTs, etc, because it's not designed to work
in an interrupt/context-free environment. Use pckbc_poll_cmd instead.
2001-12-09 13:42:01 +00:00
pk 80c46be6c1 KBD_BPS => KBD_DEFAULT_BPS (sync with ms driver nomenclature). 2001-12-09 12:03:32 +00:00
pk 5962ca0a49 Allow SUN_MS_BPS to override the mouse baud rate at all times. (see PR14774). 2001-12-09 12:02:06 +00:00
gehenna c9b557f40e Add an item 2001-12-09 03:06:46 +00:00
cyber d6671330e0 The prom doesn't setup the fb if its not set to console.
We shouldn't try to configure it in that case.
This will make serial console work.  completes fix to PR#14213
(Private email determined PR author was using serial console.)
2001-12-08 19:42:45 +00:00
soren a5812755ac Pass sbus addresses to sbus_bus_map(), not sbus_bus_addr()'d ones. 2001-12-08 05:36:31 +00:00
matt ee7afa77b2 Fix sense of if to grab address from alternation if srom is not in isv
format on Davicom chips.  Add sparc specific case in this case to call
myetheraddr if oui is all 0s (for Netra X1).
2001-12-07 21:13:58 +00:00
fredette 178a439b58 Regen. 2001-12-07 14:21:18 +00:00
yamt 272f471ee0 add detach support for st. 2001-12-07 11:26:30 +00:00
onoe e7357c0007 Regen: Add HPB and LPC functions of 82801BAM. 2001-12-07 08:00:35 +00:00
onoe c971f89005 Add HPB and LPC functions of 82801BAM. 2001-12-07 07:59:24 +00:00
cjs b445461d1e Rebuild these to fix the "generated from" line. 2001-12-07 07:43:10 +00:00
cjs 9dd4ce03d0 Add Palm m500/m505 and Sony Clie USB cradle device IDs. 2001-12-07 06:59:44 +00:00
jdolecek 27b0006d34 it doesn't make sense to wait for resources during autoconfiguration 2001-12-06 21:04:27 +00:00
augustss ba528e6dec Small change to Christos' fix: allow malloc() to return NULL, but complain
if it does.
2001-12-06 20:00:58 +00:00
christos 94074f1212 change the malloc arg from NOWAIT to WAITOK; pointed out by lennard. 2001-12-06 19:54:02 +00:00
christos dbabce6bb7 PR/14852: Martin Husemann: Allocate the slotdata the the probed slot before
we call the configuration function. Thanks lennard for pointing it out.
XXX: Someone should look this over and make sure that the current strategy
makes sense.
2001-12-06 19:52:56 +00:00
kleink bc1f5761e3 Recognize the MK48T18 as well (differs from the MK48T08 only in packaging
options and voltages).
2001-12-06 18:54:23 +00:00
augustss 22fd9bbb5f Add IrDA related defines. 2001-12-06 17:00:26 +00:00
rafal a76d350acc Fix component class/types to match reality for SGI's ARCS, which is just
different enough from stock ARC to be annoying.
2001-12-06 14:59:02 +00:00
rafal 23e1fa1306 Fix PR 13465 by Krister Walfridsson: memory initialization used uninitialized
variable to start off the write pattern (how ironic! 8-).
2001-12-06 13:18:22 +00:00
msaitoh 72f2d1c3a3 #endif ... -> #endif /* ... */ 2001-12-06 10:28:40 +00:00
augustss 604ea366d4 Restructure to get rid of size limit.
Fix return value bug.
2001-12-06 00:17:12 +00:00
augustss 5ef96ebab2 Don't crash on early calls to get the speeds. 2001-12-06 00:11:18 +00:00
augustss ec901ec7fe Regen. 2001-12-05 23:25:56 +00:00
augustss 12812553f8 Add a NEC USB 2.0 hub. (USB 2.0 hubs are very rare creatures at the moment!) 2001-12-05 23:25:31 +00:00
bouyer 3fe7074804 Compile with NWD == 0. Fixe kern/14844 by hamajima@nagoya.ydc.co.jp. 2001-12-05 20:43:00 +00:00
augustss b24bbb4d82 Constify a little. 2001-12-05 20:00:15 +00:00
augustss 47fffba901 Add dongle specific code. 2001-12-05 19:59:54 +00:00
fredette 1a3eaeafd8 Now generate oosiop.out, the compiled 53c700 script. 2001-12-05 18:34:19 +00:00
fredette ba3be8d408 Generated from oosiop.ss rev. 1.1:
Initial compiled script for 53c700.
2001-12-05 18:32:55 +00:00
fredette 60c77bb2f1 Added support for the Symbios/NCR 53c700 SCSI controller.
This chip is very similar to the 53c710, except that it's
missing a few registers, doesn't do relative jumps and
doesn't have the table-indirect addressing mode.

I have checked that this still generates the same output
on the existing scripts for the other chips.
2001-12-05 18:31:53 +00:00
fredette 8dce160cd1 New script for the Symbios/NCR 53c700 SCSI controller.
This is closely related to osiop.ss, the script for the
53c710.
2001-12-05 18:27:13 +00:00
augustss bd8b498c42 Do SIR framing on incoming frames. 2001-12-05 15:51:11 +00:00
augustss 8c2cf4c7d8 Break out SIR framing to its own file. 2001-12-05 14:50:13 +00:00
wiz 31fcd50433 Use defparam instead of defflags for some bktr(4) related options that need
a value.  Add BKTR_REVERSE_MUTE to defflags.
2001-12-05 11:41:16 +00:00
simonb 20a3ef2b53 Remove some debug printf()s. 2001-12-05 10:54:51 +00:00
augustss 9c8fe0b8c5 Put bytes on right q. 2001-12-05 04:31:02 +00:00
augustss 0913a897a5 Set error code for IRDA_RESET_PARAMS. 2001-12-05 04:30:24 +00:00
augustss af5eb6fc8c Fix some minor bug.
Add more debugging.
2001-12-05 04:07:06 +00:00
augustss b81ddff1a7 Reset parameters on open. 2001-12-05 04:06:32 +00:00
simonb a9f73b2015 s/defopt/defparam/ in previous; from lukem. 2001-12-05 03:50:09 +00:00
simonb 8a32c6fbfa Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask. 2001-12-05 03:24:57 +00:00
augustss 037eb62a0f Mention that much of the code was stolen from Tommy Bohlin. 2001-12-05 01:13:58 +00:00
augustss 3ead5262dd Add some dongle support ioctl()s. 2001-12-04 23:33:33 +00:00
augustss 527fff66c0 Change speed setting a little. 2001-12-04 21:50:50 +00:00
augustss e0b032d651 Add ir/ to SUBDIR. 2001-12-04 21:43:44 +00:00
augustss 64a9c02472 Implement speed setting. 2001-12-04 20:53:21 +00:00
jdolecek a275d0a6b9 clarify copyright - this is all freshly written, no older code used 2001-12-04 20:51:23 +00:00
jdolecek 7a12ca98ab Make this NCR 53C90 driver work, using the chip information from
Tymm Twillman's Linux mca_53c9x driver.
Tested with external ZIP100 only.
2001-12-04 20:47:58 +00:00
sommerfeld ceb358f80c Fix so these files build with options DEBUG enabled.
The change to edc_mca.c may not work as I don't have any mca hardware.
2001-12-04 20:00:15 +00:00
augustss 636b7788a1 Implement input processing (untested). 2001-12-04 19:56:43 +00:00
augustss 1db6a7d9df Simplify interface to irframe. 2001-12-04 19:56:17 +00:00
christos 4950567ffc Regen. 2001-12-04 18:46:51 +00:00
christos 9925bfcf9f PR/13711: Peter Seebach: Symbol's Spectrum24 pcmcia/prism2 card isn't probed. 2001-12-04 18:46:30 +00:00
bjh21 5aee55caae New file, describing what little I know of the layout of the Oak SCSI card. 2001-12-04 18:40:14 +00:00
wiz b4371d47f5 Replace some misuses of "then" with "than". 2001-12-04 17:56:30 +00:00
gmcgarry 6dbb6e893b Simply entries added in previous. 2001-12-04 04:30:22 +00:00
augustss 5f99a98472 Add irframetty driver for IrDA frames over serial lines.
THIS MOST DEFINITELY DOES NOT WORK.  IT'S VERY INCOMPLETE.
2001-12-03 23:32:32 +00:00
jdolecek 08733c9d51 add NCR_VARIANT_NCR53C90_86C01 "NCR53C90 (86C01)"
treat exactly like NCR_VARIANT_ESP100
2001-12-03 23:27:31 +00:00
enami 5eb74d8bbe Use correct format letter for chp->channel. 2001-12-03 11:07:34 +00:00
augustss 02aa2a59bc Handle vendor/product lookup with a common routine. 2001-12-03 01:47:12 +00:00
bouyer bfc80822c7 Update my copyrigth. 2001-12-03 00:20:22 +00:00
bouyer 4ca5497111 Allow wd to attach to something else than wdc/pciide (like USB<->ATA bridges):
- move some functions from ata.c to ata_wdc.c or wdc.c.
- add callbacks to struct ata_bustype so that wd.c doesn't call directly
  functions from the lower level driver.
2001-12-03 00:11:15 +00:00
augustss 23d4159897 Add a subroutine to search for a vendor/product pair. 2001-12-02 23:25:25 +00:00
bouyer 65768c08e2 No need to include atavar.h here. 2001-12-02 22:59:40 +00:00
bouyer 4809ad42cb Clean up attach of wd/atapibus:
kill ata_atapi_attach. Change atapibus to use a struct scsipi_channel instead
of ata_atapi_attach as attach arch. Create a ata_device, compatible with
scsipi_channel, to attach wd.
2001-12-02 22:44:32 +00:00
augustss 194762be5b Touch up a little. No functional change. 2001-12-02 20:29:55 +00:00
augustss 1187860bcf GC unused stuff. 2001-12-02 20:06:00 +00:00
jdolecek f803294ead use the new MCABUS_DMA_16BIT flag to use 16bit DMA (not implicit anymore) 2001-12-02 17:04:41 +00:00
augustss 2a22b00459 Add some IrDA names. 2001-12-02 16:32:04 +00:00
augustss 766e28edd3 Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud. 2001-12-02 16:30:30 +00:00
augustss cf8a8cbe20 Fixes from Jan Sparud's code:
Make read and write methods symmetrical, add poll method.
2001-12-02 16:29:25 +00:00
bjh21 1208c816b3 Add (#ifdef'ed out) code to support the PDMA hardware on the Oak SCSI card.
Unfortunately, this code seems not to work at present.  I don't yet know why.
2001-12-02 14:49:32 +00:00
bjh21 4e3bf132c0 Add comments naming our private-use characters (in lower case, to make them
distinct from real Unicode characters).
2001-12-02 12:46:32 +00:00
augustss b540959734 Add framework for Ir devices. The irframe device is for delivering IrDA
frame to user land and the cir device is for consumer Ir (remote controls).

This code is only partially finished, but the irframe device works (given
a low level driver for the actual IrDA device).
2001-12-02 10:44:43 +00:00
gmcgarry adb908503d Add identifiers for HP devices. 2001-12-02 01:17:51 +00:00
ross 43fe22fed0 Revert previous; the _e003U definition is used elsewhere. 2001-12-02 01:04:26 +00:00
bjh21 15d94a4c59 On a VT100, the "scanline 5" character is also used for box drawing, so
represent it as U+2500 (BOX DRAWINGS LIGHT HORIZONTAL).  This makes NetHack
DECgraphics mode work properly on a wscons console using an IBM-encoded font.
2001-12-01 16:07:58 +00:00
jdolecek c65c74ab28 regenerate (allocate identifier for NCR 53c90) 2001-12-01 10:44:35 +00:00
jdolecek 8272a293b7 allocate identifier for NCR 53C90 2001-12-01 10:43:36 +00:00
jdolecek 4b334401ca Nonworking NCR 53c90 attachment. I don't get any interrupts from
the device yet, need to find real NCR53c90 docs to figure out what's wrong.
2001-12-01 10:42:38 +00:00
enami e69c410de5 Shorten wmesg so that they can be distinguished in ps/top output. 2001-12-01 09:42:39 +00:00
enami b56cddb826 Fix null pointer dereference when EHCI_DEBUG is defined (and
debug is enabled).
2001-12-01 09:39:32 +00:00