Commit Graph

5845 Commits

Author SHA1 Message Date
augustss 90daa4736b Comment out the GET_DEVICE_ID code, because for some unknown reason it
causes printing to fail sometimes.
1999-09-10 19:28:26 +00:00
itojun f5e553eb57 IPv6 support.
ETHERTYPE_IPV6 packets are encapsulated by RFC1042 encap.
Tested with Japanese card, with WaveLan bridge (wiconfig -p 1).
NOTE: I dunno if encapsulating IPv6 packets by RFC1042 is the correct way,
  as RFC1042 only defines behavior for ETHERTYPE_{IP,ARP,REVARP} packets.
  Since WaveLan bridge encapsulates IPv6 packets with RFC1042, we have no
  choice.

Gather joined multicast addresses via SIOCADDMULTI, and configure multicast
filter properly.  This is also required for IPv6 support
(which heavily depends on multicast).

Fix IFF_RUNNING management
- to prevent IFF_RUNNING from raised on "wiconfig", before "ifconfig up"
- to prevent the driver from occupying extra interrupts on "ifconfig up",
  then "down", then "up".
1999-09-10 00:30:59 +00:00
itojun ebcd1b7a41 Make sure to behave as IFF_SIMPLEX in all cases.
Drop multicast/broadcast packet looped back from myself.

This is to cope with SMC91C92 (Megahertz XJ10BT), which
loops back multicast packet to itself on promiscuous mode.
(should be ensured by chipset configuration)

Reviewed by: thorpej
1999-09-10 00:23:34 +00:00
thorpej d622281820 Rework the changer driver a bit:
- Take note of magazine changes, and enqueue "Element Status Changed" events
  that user processes can read or select on.
- Normalize some structure names.
- Report back more status about changer elements:
  * Volume tags (e.g. barcode labels on the backs of your tapes)
  * External device names (for drive units in a changer)
  * Last element a unit of media was moved from
  * Sense information for SCSI changer elements in EXCEPT condition
  * Vendor-specific data if the user requests it.
- Add support for setting volume tags.
1999-09-09 23:24:11 +00:00
tron b9627d002f Add support for Cyclade boards with new Risc II serial controller.
Patches supplies by C Kane in PR kern/7175.
1999-09-09 21:52:11 +00:00
thorpej 057798e505 Snapshot of work-in-progress to support the internal NWay block on
the Lite-On PNIC chips.  Not finished yet; some other infrastructure
work left to do.
1999-09-09 21:48:18 +00:00
hwr 31292f422e Add a quirk for Wangtec SCSI-36 (QIC-120) tape drive.
From Izumi Tsutsiu in PR 8357.
1999-09-09 20:06:52 +00:00
is 125de40b64 Ambicom support by Vincent Aymeric 1999-09-09 18:12:05 +00:00
is a0cbbf08fe Ambicom support by Vincent Aymeric 1999-09-09 18:09:10 +00:00
augustss 6b9aae738e Update doc URLs and fix a typo in umass_bulk_get_max_lun(). 1999-09-09 17:12:03 +00:00
augustss 9bebdb616f Remove some and add some. 1999-09-09 13:05:05 +00:00
augustss 8c655e84f2 An EXPERIMENTAL audio driver. It still needs work, e.g., in the mixer
part to give reasonable names to the mixer controls.
1999-09-09 12:28:25 +00:00
augustss 2aadcb5f47 Change the internal API to allow DMA buffers to be pre-allocated by
the device driver instead of happening automagically in the HC driver.
This affects both the HC-USBD interface as well as the USBD-device
interface.
This change will allow DMA buffers to be reused e.g. in isochronous
traffic.

Add isochronous support to the UHCI driver (not for OHCI yet).
1999-09-09 12:26:43 +00:00
augustss a85a08c2fb Add support for detaching audio devices. 1999-09-09 10:24:39 +00:00
is 4efecd1291 The nca.c probe routine falsely claims i82595tx chips to itself.
Move it to after the iy driver.
1999-09-09 09:54:08 +00:00
nisimura 633408472b Use bus_dmamap_load() to obtain 128KB chunk for LANCE merging codes from
NetBSD/alpha.  Tested ok with DEC3000 and DECstation.
1999-09-09 06:33:38 +00:00
thorpej a10045109d Add chip types for several more Tulip clones (ASIX, ADMtex, PNIC II, Davicom),
and match the Compex RL100-ATX; it uses the Winbond 89C840F (RL100-TX is
a Macronix 98713).
1999-09-08 22:29:46 +00:00
thorpej e0c4f8ff92 Regen. 1999-09-08 22:25:56 +00:00
thorpej dfdd1affb4 Add some more Tulip clones. 1999-09-08 22:25:19 +00:00
thorpej ab08b6b863 Update for Lite-On product ID change. 1999-09-08 21:42:44 +00:00
thorpej ab7310ed6e Regen. 1999-09-08 21:39:54 +00:00
thorpej 9bb30be866 Add Davicom Semiconductor vendor ID, and Davicom DM9102 10/100 Etherent
product ID (Yet Another Tulip Clone).
1999-09-08 21:39:24 +00:00
thorpej 187510560e Regen. 1999-09-08 21:34:33 +00:00
thorpej 46e11c9fd8 LITEON_PNIC -> LITEON_82C168 1999-09-08 21:33:59 +00:00
oster fe5b29ca42 Nuke unused prototype. 1999-09-08 02:01:55 +00:00
mjacob 6913f83874 A useful discussion with Jason convinced me that I had selected the
wrong tag as the default tag to use- we should use ORDERED, no SIMPLE.
1999-09-07 22:54:45 +00:00
soren 60feba0646 Spacing. 1999-09-07 21:52:06 +00:00
soren cc8ca41376 Install *reg.h 1999-09-07 21:51:49 +00:00
soren 211476aea7 Match 1460 names with Adaptec. 1999-09-07 19:30:10 +00:00
soren 5c44dfbe6a Note 78Q2121. 1999-09-07 19:29:52 +00:00
augustss 977c927d44 Do a brain dump of items to do. 1999-09-07 14:58:12 +00:00
soren a4b7a96e0e Do not complain in sbfind() if another driver has mapped the registers. 1999-09-07 00:49:41 +00:00
rh 12bad24883 Add opl at wss for isapnp devices w/o MAD chip. 1999-09-06 18:31:45 +00:00
augustss 6e6d511cf0 Add USUBCLASS_MIDISTREAM definition, per request from MAEKAWA Masahide
<bishop@rr.iij4u.or.jp>.
1999-09-06 17:16:47 +00:00
rh ff962e992b Add mode 3 support for newer CS423X chips. Modify probe to correctly
distinguish between CS4236, CS4236B, and CS4237B.
1999-09-06 17:07:04 +00:00
augustss 2425433ff6 Change some printf to DPRINTF for consistency. From Nick Hibma, FreeBSD. 1999-09-05 21:22:38 +00:00
augustss 24251055bc Change the way the `struct device' base part of all driver softc are
declared and accessed to make it more portable.  Idea from Nick Hibma, FreeBSD.
No functional changes.
1999-09-05 19:32:18 +00:00
oster 83abb87d9a Garbage collect more unused stuff. 1999-09-05 03:05:55 +00:00
oster 9c01870db1 Remove more unused stuff. 1999-09-05 02:54:09 +00:00
oster cfbdda8843 Garbage collect some more stuff. 1999-09-05 02:24:58 +00:00
oster 6158faa69d Cleanup a bit more. 1999-09-05 01:58:11 +00:00
oster e57673d0d4 Remove one of the two bzero calls in RF_Calloc -- the 2nd one doesn't
buy us anything at all.
1999-09-05 01:46:35 +00:00
soren 57f7d3320b Add driver for the TDK Semiconductor 78Q2120 PHY. 1999-09-05 01:26:02 +00:00
soren e0bcd7a71a TDK Semiconductor 78Q2120 PHY, commonly used in low-power Cardbus cards. 1999-09-05 00:48:01 +00:00
soren b8e941e9b0 Add PHY driver the the Intel 82553 found on some fxp's.
Some variants of this chip need a little extra MII fix before
being usable, so this is not yet put into GENERIC's.
1999-09-05 00:40:27 +00:00
soren 0151ffe3d6 Regenerate. 1999-09-04 23:59:32 +00:00
soren 6624cc41e9 Add Intel 82553 and TSC 78Q2120. 1999-09-04 23:58:55 +00:00
augustss f3421bec94 Change the way the direction is extracted from the endpoint descriptor.
No functional changes to the drivers.  From Nick Hibma, FreeBSD.
1999-09-04 22:26:11 +00:00
augustss e1766aacfa Make sure not to use the io handle before it's been initialized. 1999-09-04 22:00:32 +00:00
oster d8144e5848 More cleanup of unused stuff. This time we nuke a bunch of memory
allocation stuff.
1999-09-04 21:11:21 +00:00
oster cfd861fcd8 Minor cleanup of (now) unneeded RF_UTILITY checks. 1999-09-04 16:26:30 +00:00
simonb 56a01be374 Fix tyop in a comment. 1999-09-04 09:41:15 +00:00
thorpej 6a2319b969 Byte swap the EEPROM words on the PNIC. From Stephen Ma. 1999-09-03 00:24:56 +00:00
thorpej 8386184524 Deal with some more Winbond differences, after a more-thorough-than-before
reading of its manual.
1999-09-02 23:25:28 +00:00
ross 533b6088cd Make it compile. 1999-09-02 23:23:03 +00:00
augustss d7a4829d27 Regen. 1999-09-02 22:07:43 +00:00
augustss 1fed6ca851 Add Logitech QuickCam. 1999-09-02 22:07:29 +00:00
augustss ba551e0c6a Regen. 1999-09-02 19:17:57 +00:00
augustss f6ae3ac6a9 Add some Entrega and Belkin serial adapters. 1999-09-02 19:13:43 +00:00
augustss 60179e2a13 Avoid null reference, from Nick Hibma, FreeBSD. 1999-09-02 18:13:50 +00:00
augustss 46fd81350a Rewrite interrupt routine from clarity. From Nick Hibma, FreeBSD. 1999-09-02 18:11:41 +00:00
kleink 9c10799ac4 Use the approximated sampling rate to compute the filter rate. 1999-09-02 17:26:15 +00:00
fvdl 5c875f66d0 Select the right transceiver type when configuring the driver. Change the
timing for the mii code a bit. From Robert Elz / the FreeBSD xl driver.
1999-09-01 21:03:02 +00:00
thorpej cfbc8a82fb Make Tulip-style filter setup interrupt-driven. 1999-09-01 20:56:15 +00:00
fvdl a6aa19699f Don't assume that an -FX card has MII (because it doesn't). 1999-09-01 20:26:43 +00:00
thorpej e75ce8c0df Don't attempt to do transmit threshold tuning on the Lite-On PNCI; just
put it in Store-and-Forward mode right from the get-go.  This eliminates
the DMA underrun errors that prevented the receive filter setup from working
and caused smashed packets to go out onto the wire.

My NetGear FA310-TX board now works.

There are still "filter setup failed to complete" messages, however they
don't appear to indicate that the filter setup actually failed, since
unicast and multicast packet reception work fine.  I will address this
problem shortly.

Reading the log for the FreeBSD `pn' driver suggests that these chips are,
in fact, pretty crappy, riddled with hardware bugs (for which more workarounds
are coming).
1999-09-01 20:11:19 +00:00
kleink 480e8a1a1c No longer requires mpuvar.h. 1999-09-01 18:03:10 +00:00
bouyer ce80d27933 Don't try to unmap unmapped space in case of failure in
pciide_mapregs_compat(). From OpenBSD.
1999-09-01 15:17:07 +00:00
drochner 7c34574b94 add "ti" - Alteon Gigabit Ethernet 1999-09-01 11:54:32 +00:00
drochner 45e5d743af quick 'n dirty port of FreeBSD's Alteon Gigabit Ethernet driver.
todo:
-IPv6
-clean up jumbo buffer allocation - NetBSD provides an opaque argument
 to the free function, thus doesn't need the hack done here
-deal correctly with the mapping of the shared memory
1999-09-01 11:47:46 +00:00
drochner 7eaa4e57fd regen 1999-09-01 11:42:32 +00:00
drochner 7c2d8bc001 -add some incarnations of the Alteon gigabit Ethernet adapter
-sort some entries which were put in by legasthenics
1999-09-01 11:40:42 +00:00
kleink e5d76dce61 Don't make a human-readable device description being printed at attach time
depend on PCIVERBOSE.
1999-09-01 07:32:31 +00:00
thorpej 5d7f25011b Some of the Tulip clone chips (like the Winbond and ASIX) want the
IC bit set in the *first* descriptor of the outgoing packet.  Appease
them.
1999-09-01 05:07:03 +00:00
thorpej e293024ffa This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.
1999-09-01 00:32:41 +00:00
ad 78d4510ba0 Pass color value through ri->ri_devcmap before writing. 1999-08-31 10:11:52 +00:00
bouyer 7c1c212662 If we are using UDMA mode > 2 and get a DMA error, downgrade to UDMA mode 2
first: maybe we incorrectly guessed the cable type.
1999-08-30 12:58:58 +00:00
bouyer 8e49b58de0 Add support for Intel 810 chipset (ICH/ICH0).
While I'm there merge back piix_channel_map into piix_chip_map.
1999-08-30 12:49:21 +00:00
thorpej dea48ccdf9 Oops, back out stuff I didn't mean to commit. 1999-08-30 01:05:08 +00:00
thorpej a138de1eb5 Add detach goo; still needs work in the `scsibus' and further layers. 1999-08-30 01:04:31 +00:00
augustss 7a3bd0ab27 Add some missing request codes. 1999-08-29 22:45:41 +00:00
thorpej dd611fa302 Set openings to 1; only one command may be queued with the device at
a time.
1999-08-29 20:41:12 +00:00
thorpej 54f6a91c01 Issue a Get Max Lun request to determine the max lun. 1999-08-29 19:58:55 +00:00
thorpej 04cd1cc8ee Make usbd_errstr() always return a useful error message; it's not like
the strings are that big.
1999-08-29 19:41:27 +00:00
thorpej d1088a5081 One more TODO item; sub-classes other than SCSI. 1999-08-29 18:58:03 +00:00
thorpej 59e86c6637 Correct typo in URL. From Bill Sommerfeld. 1999-08-29 18:57:15 +00:00
thorpej f88e157ddb Update the match routine to reflect that the driver actually matches
"Mass Storage/SCSI/Bulk".
1999-08-29 18:56:24 +00:00
thorpej e01cef341e Update documentation references. 1999-08-29 18:13:26 +00:00
thorpej f91881f24a Since we poll around the `done' member of a usbd_request, make it volatile. 1999-08-29 17:57:25 +00:00
thorpej cbd1c08a2c Note a few TODO items. 1999-08-29 17:34:11 +00:00
bouyer 52068f73ce Add support for the Promise Ultra/33 and /66 pci IDE controller. In addition to
chip-dependant code this required the following changes:
- Instead of attaching the device in a generic way with some chip-dependant
  routines, use a chip-dependant attach routine with some common code
  factored out. The code is marginally bigger, but this allows the CMD64x
  flag hack to go away.
- For chips that report per-channel 'irq triggered', test this before calling
  wdcintr() for the native-pci irq case (compat intr can't be shared),
  as wdcintr() has no good way to know if a irq was for it or not, and
  ends up with irq loss. XXX for chips that don't have this feature irq sharing
  will not work properly !
- add my copyrigth notice (could have been done some time ago I think :)

There are still some issues to be solved with the Promise controller and
ATAPI devices.
Many thanks to Paul Newhouse for shipping me 2 Ultra/33 boards for doing this
work.
1999-08-29 17:20:10 +00:00
bouyer 4819ee1cf1 Add definitions of the DMA mode control registers. They should be used
by pciide, but I have yet to find how to map them.
1999-08-29 17:06:43 +00:00
thorpej 246ab7936d One item off this list done! 1999-08-29 16:53:04 +00:00
thorpej cbb4401dfd Port the FreeBSD `umass' driver to NetBSD. This is still a work-in-progress
since a few things don't yet work properly:
- Sense data isn't reported properly (err, at all).
- It doesn't work with anything other than the Iomega USB Zip drive.
- Hot-unplug doesn't work yet.

...but this is enough to make my shiny new USB Zip drive go.
1999-08-29 00:30:08 +00:00
thorpej 61f3c9356e If scsipi_make_xs() fails, make sure to flag the buffer as error'd,
if provided, and biodone() it.  Callers of scsipi_command() expect
this to be done.
1999-08-28 22:28:35 +00:00
augustss 036a9c6974 Change some 'struct device' to 'bdevice'. From FreeBSD. 1999-08-28 21:42:35 +00:00
augustss 1aa63c9fab Add some comments. 1999-08-28 10:04:01 +00:00
augustss 103e304a84 Add to the growing list. 1999-08-28 10:03:38 +00:00
augustss 2126f7df24 Change a type name. 1999-08-28 10:01:59 +00:00
augustss 598999e482 Fix from FreeBSD. 1999-08-28 10:01:42 +00:00
augustss e470b13e28 Regen. 1999-08-28 10:01:19 +00:00
augustss 4b398d8f1b Fixes/updates from FreeBSD. 1999-08-28 10:00:56 +00:00
augustss 64c7328230 Regen. 1999-08-28 09:22:58 +00:00
augustss d0fbee34df Add a bunch of i810 devices. From Paul Shupak <paul@plectere.com>. 1999-08-28 09:18:08 +00:00
thorpej 299c0b1d83 Regen. 1999-08-27 23:27:39 +00:00
thorpej e1b0108ce6 Add Samsung Semiconductor KS8920 10/100 Ethernet. 1999-08-27 23:25:36 +00:00
is d8c7407afe Factor out arc_storelladdr(), and use that instead of arc_ifattach() in
the bah_reset() function.
This makes the last change work without deconnecting all the other interfaces
from the interface list.
1999-08-27 19:23:19 +00:00
thorpej 456af6d558 Reduce the number of transmit fragments to 16. 1999-08-27 19:21:32 +00:00
thorpej 513feda9ab - Include the RXE (receive error) interrupt in the interrupt enable mask,
and consider it to be like an RCC (receive copy complete).  The RCC
  code path has always checked for bad received packets.
- Trim the CRC length off the recived packet length; the EPIC/100 always
  includes the CRC in the packet.
- Improve fatal error reporting.
1999-08-27 19:13:00 +00:00
thorpej 43c0128089 Small consistency nit. 1999-08-26 22:44:29 +00:00
thorpej f2a165de01 Make monochrome attribte allocation a bit more obvious. 1999-08-26 21:48:11 +00:00
thorpej f0629e4b90 Change the way the default foreground and background colors are chosen:
require the front-end to initialize rc_deffgcolor and rc_defbgcolor (both
new members), and override these only if RASTERCONSOLE_{FG,BG}COL are
set in the kernel configuration file.
1999-08-26 20:48:09 +00:00
is 8679b79192 Only use ifp->if_addrlen after initializing it.\
Problem detected by Andreas Johansson.
1999-08-26 20:44:50 +00:00
hannken f04bd56be1 Make `sc_ops->sdo_flush' synchronous. The flags `SDF_FLUSHING' and
`SDF_DIRTY' were never reset because `sddone' doesn't get called from
synchronous scsi commands.
1999-08-26 09:28:17 +00:00
mrg 387650fb8b do not install these headers. they are large (~1.8M) and useless to userland. 1999-08-26 07:58:58 +00:00
nisimura 94073f1fd9 One more ioctl() fix. Most of WSDISPLAYIO_xxx were never been called when
no wsmux device is installed.
1999-08-26 06:37:42 +00:00
oster b1615831d2 Nuke some unused code which, were it enabled, might be useful for
performance measurement, but which would cause data corruption.
1999-08-26 02:40:27 +00:00
augustss 65845c9e2a Regen. 1999-08-25 23:23:33 +00:00
augustss 7529455612 Add a PS2 to Mac USB Adapter from P.I. Eng. 1999-08-25 23:23:17 +00:00
thorpej 90b9deda72 When padding short packets on transmit, don't include the CRC length
in the computation.  kern/8194.
1999-08-25 22:41:42 +00:00
augustss 6516d0b239 Fix an ioctl() problem. From nisimura@itc.aist-nara.ac.jp (Toru Nishimura). 1999-08-25 21:05:21 +00:00
augustss e0e1fbbe36 Regen. 1999-08-25 20:34:56 +00:00
bouyer d6c3ef56b4 Guard pool_get()/pool_put() with splbio()/splx(). Fix kern/8245. 1999-08-25 17:08:20 +00:00
augustss 02a79dc13e Add Multitech MT5634ZBA. From FreeBSD. 1999-08-25 16:28:12 +00:00
ad 9a61ce5bff When clearing the entire display, point to the start of the framebuffer,
not start of console output. Also, do not advance by ri_delta every row.
1999-08-25 08:45:25 +00:00
nisimura de9efb01d3 - Fix an error in cursor image manipulation. I learned a pair of Bt431
were populated in reverse order from PMAG-A MX ...
1999-08-25 07:56:22 +00:00
nisimura 0bdb76e5cf - 24bit per pixel TX framebuffer occupies 0x600000. 1999-08-25 02:02:22 +00:00
ross 3844ce8324 Spelling. 1999-08-25 00:59:08 +00:00
soren aa550d38fb Regenerate. 1999-08-24 21:32:25 +00:00
soren fa181849a2 Add Intel i740. 1999-08-24 21:32:04 +00:00
soren 205c3f5a73 Regenerate. 1999-08-24 21:25:52 +00:00
soren 82cb092b79 Fix typo in comment. 1999-08-24 21:25:22 +00:00
tron 766b5fef17 Regen. 1999-08-24 17:48:31 +00:00
tron 7a80808434 Add Allied Telesis LA-PCM (NE2000 compatible) and Contec C-NET(PC)C
(MB8696x based) pcmcia ethernet cards. Patches supplied by
Kawamoto Yosihisa in PR kern/8260 and kern/8261.
1999-08-24 17:47:44 +00:00
rh 5cfe8783f9 Regen. 1999-08-24 12:47:20 +00:00
rh 416c42cc34 Add AdLib MSC 32 Wave PnP board (wss audio device). 1999-08-24 12:46:55 +00:00
ad 7f2b1ba8f2 - Change the semantics of rasops_init slightly
- Re-name rasops_setfont to rasops_reconfig
- Add some new run-time 'features'
- Bring all run-time 'features' under control of rasops_info::ri_flg
- Some cosmetic changes
1999-08-24 11:07:31 +00:00
augustss 1f2661798f Make sure to mark the device as dying already in the (de)activate routine.
This avoids access to it before the detach routine has blown it away.
1999-08-23 22:55:14 +00:00
augustss 007da22e55 At attach time, get and print (parts of) the IEEE 1284 device id. 1999-08-23 22:35:19 +00:00
augustss 70020635c3 Regen. 1999-08-23 16:54:13 +00:00
augustss c206e4ab37 Add a Kawatsu mouse. 1999-08-23 16:53:32 +00:00
pk 65cfdf2877 Disable inclusion of debugging code by default.
Turn compile-time flag I82586_DEBUG into a boolean switch.
1999-08-23 12:12:42 +00:00
pk 9fceb1947d Do not report "spurious interrupts"; this is a relic of the PC-only
days of this driver.
1999-08-23 12:00:11 +00:00
augustss 592de98a19 Remove some unneeded needs-flag. 1999-08-23 07:07:47 +00:00
augustss 4c217fdaf8 Merge the soft_{td,ed} with the real {td,ed}. This saves time and space.
(And fix typo in corresponding uhci change.)
1999-08-22 23:41:00 +00:00
augustss cc8b61583c Merge the soft_{td,qh} with the real {td,qh}. This saves time and space. 1999-08-22 23:19:56 +00:00
augustss be7e2fac07 More things to do... 1999-08-22 22:24:25 +00:00
augustss 1de0531d8b Simplify ulptwrite() by calling usbd_bulk_transfer(). This also makes
it interruptible.
1999-08-22 22:22:43 +00:00
augustss f747201099 Move more of the transfer completion processing to HC independent code.
Fix some problems with transfer abort & timeout.
1999-08-22 20:12:39 +00:00
augustss 5d8adfb5a2 Disable interrupts early. 1999-08-21 21:35:36 +00:00
augustss a293a6cc73 Make sure not to call tsleep() from suspend/resume routine. 1999-08-20 16:42:38 +00:00
mouse 1705bbe96b Get rid of ugly vertical bars which occurred when
character-cell boundaries != byte boundaries.
("width" (despite the poor name) should be computed based on the
*old* value of bg, not the *new* one.)
Fixes PR 8221.
1999-08-20 06:46:44 +00:00
sommerfeld be5fe633b8 clean up attach messages slightly. 1999-08-20 03:36:59 +00:00
mjacob f28eb7f5cc make alpha compiler happy 1999-08-19 21:29:04 +00:00
augustss 0f99933822 Use the right type for the size argument when calling usbd_bulk_transfer(). 1999-08-19 19:57:21 +00:00
augustss a9563e089b A first stab at making the UHCI driver endian independent.
(It doesn't seem to be quite working yet.)
1999-08-19 19:52:38 +00:00
augustss c0f0486836 Add a utility function, usbd_errstr(), to print error strings. From FreeBSD. 1999-08-19 19:51:36 +00:00
augustss 462e2614ff Add some mass storage definitions. 1999-08-19 19:50:42 +00:00
ad afb0c7b853 Make this compile. Patch from Simon Burge. 1999-08-19 11:20:34 +00:00
tron f625e72668 Regen. 1999-08-19 08:06:50 +00:00
tron 93f86e5ed5 Recognize a 3Com 3c509 Combo configured in EISA mode. Fixes PR kern/8234
by Thomas Pfaff.
1999-08-19 08:06:31 +00:00
matt fd59bba7cb after bus_dmamem creating some memory, zero it out. This has stopped
my alpha from getting COMMAND FAILED on random boots.
1999-08-19 00:43:45 +00:00
augustss bf35d2940c Add some more items. 1999-08-19 00:31:40 +00:00
augustss 1107c3f6ea Back out last change. The ugliness of the Audio Class should not have
to pollute the general USB definitions.
1999-08-18 07:55:19 +00:00
augustss 7fb139742d Update the endpoint descriptor struct with the two oddball entries
that only the Audio Class has.
1999-08-18 07:45:56 +00:00
augustss 54adf47f36 Redo the UHCI data toggle handling.
Make sure data toggles get synchronized on open and
when clearing an endpoint stall.
1999-08-17 20:59:04 +00:00
drochner a47874ac23 correct a comment 1999-08-17 16:15:05 +00:00
augustss 3016e1ebe0 Make some small changes to make it compile on OpenBSD. 1999-08-17 16:06:20 +00:00
drochner f61d8fd937 regen 1999-08-17 09:42:14 +00:00
drochner c8aabedc83 -mention a location where the old PCI database can still be found
-add Alteon Gigabit Ethernet
1999-08-17 09:40:25 +00:00
thorpej e71ad5a0ac The CCB already contains its DMA address, so no need to recompute it
over and over.
1999-08-17 02:09:47 +00:00
augustss 24f66ce158 Get rid of FreeBSD code; there was so little to share in this driver
that it should be split.
1999-08-16 23:36:25 +00:00
augustss f7c5edea20 Mention mux # when ignoring it for the console. 1999-08-16 23:22:22 +00:00
mcr 03946f957a Added Solidum Systems PCI vendor ID and Device IDs 1999-08-16 21:36:39 +00:00
augustss 9a0281ff87 Some new ioctl()s for the umodem driver. 1999-08-16 20:27:55 +00:00
augustss aa7264892d Implement a modem driver for the Abstract Control Model, i.e. AT commands.
It is accessible through the usual tty abstraction.
XXX The driver needs better error handling and a special call device.
XXX It also needs more testing.
1999-08-16 20:26:53 +00:00
augustss 290c03447b Change the way transfers are dequeued so thet we know that they
are removed from the queue before being deallocated.
1999-08-16 20:24:33 +00:00
augustss 23fa3682af Remove some, add some. 1999-08-16 20:21:09 +00:00
augustss 72b1f5a4b0 Add more CDC definitions. 1999-08-16 20:20:19 +00:00
augustss 7e4e93390d Change DIAGNOSTIC behaviour a little. 1999-08-16 20:19:55 +00:00
augustss df65083b45 A small roadmap of the USB files. 1999-08-16 20:18:07 +00:00
thorpej a01d72e890 Fix several LP64 problems, and clear up kernel pointer vs. physical
address confusion.  This driver now works on the Alpha.
1999-08-16 02:01:11 +00:00
oster 770de7bb5a Print a error message instead of panicing in rf_RecoveryPQFunc(). 1999-08-15 03:44:46 +00:00
oster d516e7b571 Make these compile with RF_INCLUDE_RAID6. 1999-08-15 02:36:40 +00:00
oster ff6d7dd494 Cleanup a bit. 1999-08-15 02:36:03 +00:00
oster 07cc4855f1 Minor cleanup. No functional changes. 1999-08-14 23:34:18 +00:00
kleink 48f055e09b Add missing MPU interrupt glue. 1999-08-14 22:42:16 +00:00
oster 4ba14d22b0 Fix an 'off-by-one' error in a RF_ASSERT which meant that a reconstruct
would panic in the case where the stripe width was 1 block.
1999-08-14 21:44:24 +00:00
augustss 19570e813c Implement opl at wss. 1999-08-14 21:19:29 +00:00
kleink 7b34e008a9 Forgot to initialize a pointer; from Simon Burge. 1999-08-14 15:05:02 +00:00
augustss b8b1e35ece Some changes from FreeBSD (no functional differences). 1999-08-14 14:49:31 +00:00
augustss 23906f1d41 defopt COMPAT_14 1999-08-14 14:40:08 +00:00
drochner 7317aa4924 make it report the correct ISA port range 1999-08-14 14:32:12 +00:00
tron b6c7adba38 Regen. 1999-08-14 13:43:27 +00:00
tron 3622436247 Add support for 3Com 3CXEM556B-INT as suggested by Noriyuki KOIZUMI in
PR kern/8188.
1999-08-14 13:43:02 +00:00
simonb 6b7eee9252 Initialise "error" in wsmux_detach_sc() before testing if it set. 1999-08-14 11:40:31 +00:00
hwr 4882320d4b Initialize error variable. Should fix spurious init errors.
From Dave Huang in PR 8205.
1999-08-14 11:23:39 +00:00
hwr af827a1284 Remove dulicate "Ethernet" output. From Dave Huang in PR 8206 1999-08-14 11:09:18 +00:00
augustss b23490d39f Implement timeout and abort of requests.
Compute length of short transfers correctly.
1999-08-14 08:56:09 +00:00
oster 740b9848cc Decrease the number of outstanding IO's threashold slightly.
The previous value may have been too high in some instances.
1999-08-14 03:47:07 +00:00