Commit Graph

6204 Commits

Author SHA1 Message Date
matt
391c8e434d regen 1999-11-10 15:56:39 +00:00
matt
805b56adb4 Add Entrega USB Serial->DB9 widget 1999-11-10 15:55:51 +00:00
leo
0c76b12125 Give lp->d_type a value other than 'unknown'. When the model is "ST506",
the d_type field becomes DTYPE_ST506, otherwise it will be set to DTYPE_ESDI.
1999-11-10 14:11:34 +00:00
augustss
8276207b08 Regen. 1999-11-10 12:31:31 +00:00
augustss
8436192416 Add two more devices. 1999-11-10 12:31:01 +00:00
mycroft
f8934aa2f6 Modification to the previous:
We still have to preload the command, when selecting without ATN.  (We could
probably avoid this by being more careful in the interrupt handler...)
1999-11-10 05:02:53 +00:00
mycroft
58fec0d55a When sending a REQUEST SENSE, do *not* attempt to create an I_T_L nexus. This
is technically wrong, and some targets (like my 4x NEC CD-ROM drive) misbehave
when we do.
1999-11-10 04:21:30 +00:00
mycroft
105a2438f9 Fix an obvious bug is some diagnostic code; we must lower our spl again... 1999-11-10 04:19:59 +00:00
mycroft
5b75863870 A residual after select with DMA step 2 is legitimate (in fact, *not* having a
residual would probably be cause for concern), so don't spew about it.
1999-11-10 00:42:37 +00:00
augustss
e9fc8103ca Make detach wait for interrupts to finish.
Bail out in interrupt routine when device is dying.
1999-11-09 16:52:14 +00:00
augustss
3ea93b7669 Make sure to call vdevgone() on all devices when deteching. 1999-11-09 16:50:47 +00:00
joda
c7cca9cd39 make this compile with CARDBUS_DEBUG 1999-11-09 15:03:59 +00:00
sommerfeld
dea88f1c20 Completely rewrite receive processing to avoid sleep-deprivation-induced
brain damage and infinite loops, and lousy RTTs

Also, flush tx queues when reassociating with AP and when taking the
interface down.
1999-11-09 14:58:07 +00:00
haya
e54d837b8b Maintenance CardBus/PCI extension ROM mapping routine.
1. Make Extension ROM not to be mapped on I/O space.
2. Do not check the bus-space indicator in ROM register.
1999-11-09 09:20:30 +00:00
nisimura
2924b6835a Fix errors in sfb_copycols() of the forward (left-to-right) case. 1999-11-09 08:25:31 +00:00
oster
3949e74f78 If we have a choice: do not trust the parity disk for read
balancing in a RAID 1 set if we know that the parity might not
be up-to-date.  Thanks to Thor for bringing this to my attention.
1999-11-09 03:07:20 +00:00
joda
1b686307cb correct number of BAR:s in cardbus_cis_info 1999-11-08 20:21:24 +00:00
joda
fe2d79ec9a Let decode_tuples take function to call for each tuple, and use this
to get some vital information from the CIS (some network cards need
this to get the mac-address). This should be merged with the related
code for PCMCIA cards, but that requires more thought.
1999-11-08 20:19:10 +00:00
joda
dbb2685da6 add some bare-bones CIS information to the attach_args struct 1999-11-08 19:59:08 +00:00
joda
f6be3b394d regen 1999-11-08 19:57:32 +00:00
joda
19ff47781e copy xircom entries from pcidevs 1999-11-08 19:57:13 +00:00
sommerfeld
1cfdb728d0 avoid touching freed mbuf after allocation failure. 1999-11-08 15:56:16 +00:00
sommerfeld
66ab262b1c add a bunch of debug printfs under IFF_DEBUG and IFF_LINK2;
turn on IFF_DEBUG to trace the management protocol goo.
turn on IFF_LINK2 as well to see beacons.
1999-11-08 15:45:00 +00:00
sommerfeld
94bb856781 misc cleanups; seems to work a little better in a dense-AP environment now.
1) ignore probe requests rather than printing "unknown mgmt subtype"
	(cosmetic)
 2) don't panic if mget of the 2nd mbuf in a chain fails (patch from MCR)
	(though that whole function badly needs to be rewritten)
 3) be a little more tenacious about hanging on to an access point.
1999-11-08 13:24:00 +00:00
augustss
9cec807b1c Return -1 from wsmux_displayioctl() if no muxes components like the ioctl(). 1999-11-08 10:10:25 +00:00
mycroft
0c1542d9a4 Apply wrstuden's stopgap change to make alpha/macppc X work without wsmux. 1999-11-08 04:48:18 +00:00
enami
8567277ae0 Print range of all iospaces or all memspaces if their length aren't zero. 1999-11-07 07:44:21 +00:00
cgd
b4560adaf2 regen 1999-11-07 07:03:08 +00:00
cgd
7867af6cfb back out rev 1.166:
(1) the list added isnt' complete and i'd call it incorrect.  (There are
    other devices with these names, where were omitted.  I've never seen
    the devices with these IDs, I _have_ seen the other devices that go
    by these names.)
(2) the PR (8754) had not been updated to note that the problem was
    fixed, and i'd preiously asked the submitter for more information and/or
    a corrected list.
1999-11-07 06:59:46 +00:00
sommerfeld
8be740541b Extract MAC address from CIS data in pcmcia front end.
Fix multicast address manipulation.
ipv6 now works through this driver.
1999-11-06 16:43:53 +00:00
rh
b2a56ee1b9 regen. 1999-11-06 13:50:02 +00:00
rh
080ff79d14 Add vendor/product entry for Auravision VxP524 PCI Video Processor. 1999-11-06 13:48:29 +00:00
augustss
34e97b4c65 Regen. 1999-11-06 11:18:00 +00:00
augustss
3514a2e115 Add SIIG devices. Closes PR kern/8754 from Andreas Wrede <andreas@planix.com> 1999-11-06 11:17:30 +00:00
soren
6f961bbe31 It's okay for a memory region to be larger than it's alignment. 1999-11-06 06:20:53 +00:00
enami
6b2ae05f21 Possible typo. 1999-11-06 01:01:20 +00:00
enami
9be459a1fb Regen. 1999-11-06 00:59:56 +00:00
enami
9c7bc44f91 Support an earlier version of IO-DATA PCLA/T. 1999-11-06 00:58:32 +00:00
pk
23c39b410d Fix some diagnostic output with a patch from Jonathan O'Brien. 1999-11-05 19:00:44 +00:00
ad
341c38ac01 In rasops_do_cursor(), don't pull the mask from ri_devcmap[], just use ~0.
Needed to make cursor DTRT on NetBSD/hpcmips - from takemura.
1999-11-05 10:16:11 +00:00
sommerfeld
73bf131124 Add rcsid's 1999-11-05 05:13:36 +00:00
nisimura
392a4acdd7 - Remove temporary hack to recognize PMAGD since SFB+ rendering function
is found not fully upward compatible to its predecessor.  sfbp.c is now
  under development.
- Reduce copycols() malfunction, but has still lot of troubles.
1999-11-05 03:28:40 +00:00
bouyer
fb8b192c0a Pass xfer->c_bcount instead of sc_xfer->datalen to the device, so that
it gets the rigth len for a request sense (from OpenBSD).
1999-11-04 21:16:53 +00:00
thorpej
0ad32f07d2 Revert this part of rev 1.59:
- Be more conservative when resetting the interface after a transmit error.

It caused the interface to totally wedge on the (somewhat common) transmit
FIFO underrun condition.
1999-11-04 20:27:11 +00:00
thorpej
4a09180976 Don't pass rd/mult capability though a PCI-PCI bridge. The bridge would
have to break it up into mutliple rd/line's anyhow, so why bother letting
the device issue it in the first place.
1999-11-04 19:04:04 +00:00
thorpej
110ac27449 Make sure devices are told they can use rd/line, rd/mult, and wr/inval. 1999-11-04 19:03:00 +00:00
sommerfeld
d9bc6e4f98 Conditionalize so this builds on 1.4.x.. 1999-11-04 18:43:42 +00:00
sommerfeld
12b00b0444 Allow this to build on 1.4.x, too 1999-11-04 18:41:14 +00:00
sommerfeld
fd0062aeab Attempt to be smart about whether to use I/O space or memory space to
access the card's shared memory: if we can't allocate the 32k we need,
fall back and just use I/O space access.
1999-11-04 17:48:13 +00:00
sommerfeld
2ee5984fa6 Driver front-end for BayStack 650 PCMCIA 802.11 card.
Committed using the driver.
1999-11-04 17:12:43 +00:00
sommerfeld
58e709f695 Minimally functional driver for the am79c930 802.11 controller chip).
Working well enough to support dhcp; i'm doing this commit using the
interface.

Supports FH only.  Does not yet do ad-hoc mode; works in
infrastructure mode.  Not yet tested in environments with multiple
access points.
1999-11-04 17:10:53 +00:00
tsarna
c0b20561f7 regen 1999-11-04 16:18:41 +00:00
tsarna
9df6f09e30 Add Aureal AU8820 1999-11-04 16:02:20 +00:00
augustss
fb580e3f6e Regen. 1999-11-04 10:34:40 +00:00
augustss
1289659618 Add SBLive! 1999-11-04 10:34:03 +00:00
joda
c8532c3ebe regen 1999-11-04 09:39:17 +00:00
joda
dbfcb792e1 add Xircom X3201-3 Fast Ethernet Controller 1999-11-04 09:38:38 +00:00
jonathan
0588cdfc88 Update user-level PPS-API to match -05 draft.
Change PPS_<xxx> ioctls to PPS_IOC_<xxx>.
1999-11-04 05:33:58 +00:00
mrg
bd0928e723 find "SUNW,hme" as well as "hme". this matches the onboard
ultra2 hme.  haven't actually tested this beyond it probing
because my scsibus is hanging.  anyway, it reports:

hme0 at sbus0 slot 14 offset 0x8c00000 vector 21 ipl 6: address 08:00:20:8f:7f:8f
1999-11-04 05:31:38 +00:00
thorpej
97bbad1f0b Do rd/line and rd/mult on the MX98725 and LC82C115, too. 1999-11-04 01:27:32 +00:00
thorpej
e3f20e8ff1 Use Memory Read Line and Memory Read Multiple on the 21140, 21140A,
21142, and 21143, if the PCI bus says its okay.
1999-11-04 01:20:55 +00:00
thorpej
a4e1bde0b3 Print out if the read {line,multiple} and write/invalidate commands are
okay to use.
1999-11-04 01:03:34 +00:00
thorpej
ca9b9a3b2e Adapt to mii_phy_probe() change. 1999-11-04 00:24:00 +00:00
thorpej
bedeeb9896 Allow mii_phy_probe() to be called multiple times, and allow the caller
to specify either the PHY number or the PHY `offset' (1st, 2nd, 3rd, etc.)
to configure.
1999-11-04 00:22:07 +00:00
thorpej
3750d3f592 Update for ifmedia changes. 1999-11-03 23:07:10 +00:00
augustss
1e460723a5 Don't flag an error when doing ioctl() on a mux without any
multiplexees.  Should fix PR 8723.
1999-11-03 22:48:38 +00:00
thorpej
bc82bff1dc Don't add any loopback versions of media, for now. 1999-11-03 22:32:45 +00:00
thorpej
8fc600c3b1 Clean up the code that adds media a little, and make media selection
table-driven in preparation for some other changes to be made.
1999-11-03 22:30:32 +00:00
thorpej
e017601bd3 More or less completely rewrite the way DECchip media is handled, and
add support for the DECchip 21142/21143 SIA/SYM media.  Make the Macronix
98713 behave like a 21140A, and the 98713A and later behave like a 21143.
Nuke all of the Macronix-specific Nway code, as it will be identical to
the 21143 Nway code once it is written.
1999-11-03 22:25:08 +00:00
thorpej
eb16cd3aa7 Define DECchip 21142/21143 register bits, and since the Macronix chips
are nearly perfect 21143 clones, delete a bunch of redundant info in that
section of the file.
1999-11-03 22:22:49 +00:00
ragge
94b8f863fa Don't use structs for BI space definitions, use offsets. 1999-11-03 21:57:40 +00:00
matt
31ba134e32 use __vax__ and __i386__ instead of vax and i386 1999-11-03 20:50:17 +00:00
chs
f13d3f5b3b from jason:
avoid biodone()ing the original buf twice when a component buf
gets an error.  fixes PR 8704.
1999-11-03 16:04:03 +00:00
mycroft
d2b362b685 Only update the cursor state if it's enabled. 1999-11-03 15:55:27 +00:00
mycroft
4f1f2c6398 Fix silly error that caused the secondary channel to be ignored if the primary
channel was disabled.
1999-11-03 14:54:07 +00:00
augustss
3b576cc6b2 Update. 1999-11-03 12:11:26 +00:00
augustss
3fc5780b19 Allow irq 15 since some clones use it. 1999-11-02 23:35:02 +00:00
augustss
361b083d4c Shorten some delay()s. From WITEK Wnuk <witek@atari.org> 1999-11-02 17:48:01 +00:00
augustss
35483ee3bf Set mixer controls after a reset. 1999-11-02 17:05:05 +00:00
augustss
b952f8727b Print a little more information when attaching. 1999-11-02 16:54:27 +00:00
kleink
b536890c88 Add a mixer control for the Master Volume Mute knob. 1999-11-02 12:11:42 +00:00
augustss
72a864f78c Add the midibus attribute to the fms driver. 1999-11-02 11:58:06 +00:00
takemura
8f94bda30c Add new font sets - VT220 8x8 and 8x10.
I brought them from arch/i386/isa/pcvt/Util/fonts.
You can specify FONT_VT220L8x8 or FONT_VT220L8x10 in a configuration file.
1999-11-02 10:25:22 +00:00
soren
bc18b45323 Clean up attachment printing a bit. 1999-11-02 05:41:27 +00:00
soren
09c41837ce Fix crash when both 1370 and 1371/1373 devices are configured.
Update documentation links.
XXX The initial volume of the 1371 mixers is set to 255. Should be ~200.
1999-11-02 05:40:59 +00:00
thorpej
c8852145bc Get fms MPU and OPL module inclusion right. 1999-11-02 00:29:20 +00:00
augustss
3c40153ea9 Fold some long lines and make it compile with the new auconv functions. 1999-11-01 23:26:58 +00:00
augustss
7c8206c662 Add a missing file for the fms driver. 1999-11-01 21:54:12 +00:00
augustss
8cd393778b Regen. 1999-11-01 20:43:51 +00:00
augustss
684aa0605c Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.
1999-11-01 20:43:12 +00:00
augustss
860ebb7a92 Make little endian and big endian version of all functions
that deal with 16 bit samples.  Let the drivers decide which ones
to use.
1999-11-01 18:12:19 +00:00
augustss
fb4a4525a8 Be cautious about the blocksize returned by the hardware driver to
avoid division by 0.
1999-11-01 18:06:36 +00:00
haya
88f1d44cc2 Change the interface of cardbus_function_enable() and
cardbus_function_disable().
1999-11-01 09:59:23 +00:00
haya
8553661a5e Maintainance the name of Ricoh PCI-CardBus bridges. 1999-11-01 08:58:45 +00:00
joda
d094848950 uncomment fxp_cardbus 1999-10-31 15:14:17 +00:00
joda
b0e5ebfddc commit a more working version if this driver; so far only tested on an
Intel `PRO/100 LAN+Modem56 CardBus II'
1999-10-31 15:12:39 +00:00
mycroft
8efdaab402 Fix the size of start_sector, end_sector and end_sector_l0. (I'm just going to
assume the Linux people will also fix this, since I reported it to them.)
1999-10-31 14:03:16 +00:00
augustss
6346873ea6 Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>
1999-10-30 17:03:30 +00:00
bouyer
98b5a519ce In sddump(), check sd->sc_dev.dv_flags once sd has been initialised.
Patch supplied by tsutsui@ceres.dti.ne.jp in kern/8708.
1999-10-30 16:35:12 +00:00
sommerfeld
db05febdfa Add enable/disable support and EEPROM size selection, prerequisites
for getting the cardbus fxp attachment to work.

Tested on the built-in 82559 in a VAIO Z505S.

From Johan Danielsson / PR8631; changed slightly to KNF.
1999-10-30 16:07:58 +00:00