thorpej
df12499646
Add code to take a device out of Power-Down state if it's in such a state,
...
and attempt to attach Macronix chips.
1999-09-28 23:12:23 +00:00
thorpej
619bd37d4d
Fix a slight buglet in `enable' magic odering, point out by
...
Chuck Cranor.
1999-09-28 22:46:43 +00:00
thorpej
0bd09380a2
Oops, Macronix MX98713A doesn't have GPIO direction bits in the SROM
...
because it doesn't have a GPIO port (CSR12 is the `10baseT status'
register on this chip revision).
1999-09-28 21:56:45 +00:00
thorpej
b5a2d37e04
Add a driver for the Megahertz Ethernet/Modem combo cards, e.g. XJEM3336.
...
This supplies an attachment of the `sm' and `com' drivers.
Thanks to Chuck Cranor for sifting through the Linux smc91c92_cs.c driver
to find the magic sequence that brings the Ethernet portion of the card
on-line!
1999-09-28 17:58:55 +00:00
thorpej
9103e43937
Don't handle the Megaherz XJEM3336 here.
1999-09-28 17:57:03 +00:00
thorpej
cca601b9b2
Make sure the Revision register contains the correct magic number.
...
From Chuck Cranor.
1999-09-28 17:55:33 +00:00
enami
ee587c6c18
s/#define /#define<TAB>/.
1999-09-28 15:10:20 +00:00
kleink
bb54953b63
Since the Audio 1 DMA controller implements the 24 low address bits only,
...
add the gross hack originally implemented by Charles Hannum in the SonicVibes
driver to force allocation of DMA memory for that channel through the Scatter-
Gather Map to get an address range that fits in.
The eso driver now works on Alphas except for DWLPX-based systems, whose owners
are not likely to desire audio or likely can afford slightly less cheap audio
hardware. :-)
1999-09-28 13:57:45 +00:00
ad
21a6ff6082
- Wait up to 2 seconds for HBA ready before executing CP_PIO_GETCFG
...
- Remove some unneeded memset() calls and assignments
- Fix comment on dpt_done_ccb()
1999-09-28 09:18:00 +00:00
ad
f653cce944
Regen.
1999-09-27 23:46:56 +00:00
ad
94367db635
s@SmartCache/Raid@SmartCache/SmartRAID@
1999-09-27 23:45:57 +00:00
ad
a289fc5023
Add glue for 'dpt' driver.
1999-09-27 23:44:27 +00:00
ad
48a0b6237a
A driver for DPT EATA SCSI adapters. dpt.c contains a brief TODO list.
1999-09-27 23:41:47 +00:00
enami
bb03434a5f
Support Planex Communications Inc, FNW-3600-T.
1999-09-27 23:19:12 +00:00
enami
488eb98613
Regen. (btw, this typo was pointed out by kawamoto@es.osaka-u.ac.jp).
1999-09-27 22:58:56 +00:00
enami
f419b27fb3
Oops, s/FMW/FNW/g.
1999-09-27 22:57:26 +00:00
thorpej
a5649fe4d5
Initial support for 21140[A] GPR media.
1999-09-27 19:14:01 +00:00
thorpej
848d8b7080
Add a media name pointer to the tulip_2114x_media structure, and define
...
a table for converting SROM media block type codes to ifmedia subtypes.
1999-09-27 19:03:59 +00:00
thorpej
1f0fa59202
- Define more "selected connection type" bits for the ISV SROM.
...
- Define ISV SROM bits for 21140[A] GPR media.
- Define a bitmask which includes media-related bits in the OPMODE
register.
1999-09-27 19:02:50 +00:00
enami
f449bb216c
Change NE2000_USE_WORD to take pointer to softc rather than type.
1999-09-27 05:25:44 +00:00
enami
56a3e3e340
Minor cleanup; use the cached result instead of evaluating the
...
macro NE2000_USE_WORD twice.
1999-09-27 04:52:19 +00:00
enami
60acf2e610
Regen.
1999-09-27 04:28:27 +00:00
enami
f095a1088a
Add entry for Planex Communications Inc. FMW-3600-T.
1999-09-27 04:27:28 +00:00
enami
7fcb2b605a
Define new macro NE2000_USE_WORD() and use it where appropriate.
1999-09-27 04:14:06 +00:00
enami
9bcfc916b0
Allow caller to specify the type of NE2000.
1999-09-27 04:07:24 +00:00
cgd
6146ed7db8
add classes/subclasses new in PCI 2.2. Needs a bit of cleanup, but then,
...
so does everything involving configuration space headers and if i don't
get this out of my source tree i'll go insane.
1999-09-27 03:20:47 +00:00
mrg
5bffe1b3b5
regen
1999-09-26 09:20:04 +00:00
mrg
f4efaa9db4
add AV300-AA video capture card & PNTNV-AA NV-RAM card.
1999-09-26 09:18:53 +00:00
enami
2a328ebcb2
Allow to detach aic, but turned off by default. The patchable variable
...
aic_dodetach controlls this.
1999-09-26 08:14:57 +00:00
thorpej
2bc8340297
Add a quirk entry for the Asante 21140[A] boards that don't use the
...
ISV SROM format. For these boards, we provide the GPIO pin direction
info, a separate reset hook, and hard-wire them to MII-on-SIO.
Based on a patch submitted by Luoqi Chen <luoqi@chekov.watermarkgroup.com>.
1999-09-26 05:03:58 +00:00
thorpej
4d4ddf363f
Some 21140[A] boards don't use the ISV SROM format (e.g. Asante boards),
...
but instead use the older DEC Address ROM format.
From a patch supplied by Luoqi Chen <luoqi@chekov.watermarkgroup.com>.
1999-09-26 04:43:45 +00:00
thorpej
b76293b895
Add quirk entry support for the 21041 and 21140 chips. Initial quirks
...
for these: extract the spiffy DEC board names (e.g. DE500-AA).
1999-09-26 04:37:29 +00:00
thorpej
4fa51ba8bd
Make tlp_read_srom() work on big-endian systems.
...
From a patch supplied by Luoqi Chen <luoqi@chekov.watermarkgroup.com>.
1999-09-26 03:39:01 +00:00
is
13021b9955
Avoid calling m_pullup in a few places, where not necessary.
1999-09-25 20:43:43 +00:00
enami
ed505bdf67
regen.
1999-09-25 09:48:07 +00:00
enami
9f3378ecd4
Add support for Corega EthernetII PCC T. This diff is submitted
...
as PR#8485 by HEO SeonMeyong.
1999-09-25 09:47:13 +00:00
thorpej
c999e3ca1a
Add support for the DECchip 21140[A]. This currently only works with
...
boards which use MII for media attachment.
ISV SROM format information lifted from Matt Thomas's `de' driver.
Thanks to Dave Sainty for experimenting w/ his 21140A MII boards, and
for supplying a fix to the MII bit-bang code (PR #8382 ).
1999-09-25 00:27:00 +00:00
thorpej
45a337e088
Add a PHY `offset' (e.g. "first PHY on bus, second PHY on bus, ...") to
...
the PHY's softc.
1999-09-25 00:10:13 +00:00
thorpej
c61e95f1f5
Add Tulip ISV-format SROM media block types.
1999-09-24 18:27:22 +00:00
nisimura
ffe9ca742d
Add 'sfbreg.h' to the list of files installed in /usr/include/dev/tc/.
1999-09-24 01:01:23 +00:00
christos
fcc61fbac4
PR/8443: Yamano-uchi, Hidetoshi: Missing register in IODESC.
1999-09-23 16:09:58 +00:00
kleink
9dfb5a91ec
Minor output formatting buglet.
1999-09-23 11:53:13 +00:00
kleink
d9abf5e332
Add Game Port definitions.
1999-09-23 11:50:19 +00:00
kleink
cef2689773
Oops, we do have to check ourselves whether a given value is valid within an
...
enumeration.
1999-09-23 11:46:12 +00:00
enami
67e874d814
Allow to detach wdc, atapibus, wd and cd.
1999-09-23 11:04:29 +00:00
enami
99024b0423
print newline.
1999-09-22 10:03:37 +00:00
enami
c08940c49b
Fix indentation of close curly brace.
1999-09-22 09:51:03 +00:00
mhitch
7460a0be93
Set sc_cfg3_fscsi for the AMD53C974 to match the change in ncr53c9x.c.
1999-09-22 03:32:00 +00:00
mhitch
636de81487
Define config register 3 values for NCR53C9x/FAS216.
...
Add sc_cfg3_fscsi to the softc and use it to set the chip into Fast SCSI
mode for the chips that use it.
1999-09-22 03:31:23 +00:00
ragge
3455a353f9
Fix minphys() on vax. While here, convert to bus.h.
1999-09-21 18:07:54 +00:00
enami
e7daddb730
fold long line and kill empty line at the end of file.
1999-09-21 03:39:37 +00:00
enami
31e6da77de
Calculate the correct device minor of the first partition.
1999-09-21 03:10:00 +00:00
danw
6775e175ca
Add a brief delay after resetting the card before checking to see if
...
it's done resetting. Trying to read registers off the card while it's
unresponsive can cause a machine check on some platforms/busses.
1999-09-21 01:04:44 +00:00
thorpej
30651e46b3
A couple more hacks for the Lite-On PNIC:
...
- Only use 16 longword bursts.
- Reset the interface for receive filter setups that don't come from
the reset path.
Hi, Jason is getting really tired of broken clone chips, and really wishes
real 21140 boards were still available, because the DEC chips seem to work
Just Dandy.
1999-09-21 00:14:54 +00:00
thorpej
5ada26d247
Remove the has-mii-doesn't-have-mii OPMODE block from tlp_init(), and
...
let the pre-init hook and media switch routines handle it all.
1999-09-20 19:52:31 +00:00
thorpej
28b026bee1
Remove special-case 2114x-set-OPMODE_MBO; it's done in the pre-init hook
...
now.
1999-09-20 19:34:08 +00:00
thorpej
664d8da4f5
Add support for the DECchip 21041. This also adds some preliminary
...
support for the ISV SROM format used in the 2114{1,1A,2,3}. Note, like
the 21040, auto-sense is not yet supported for the 21041.
Add a "pre-init" hook, which will be used for the 2114x and PNIC (currently)
which allows chip-specific code to set up and write OPMODE before the
chip is reset. This is necessary in order for the chip's internal
pathways to get initialized properly for MII/SYM/PCS/SIA media attachments.
Thanks to Dave Sainty for the hint from the `de' driver that inspired the
pre-init hook.
1999-09-20 19:26:54 +00:00
thorpej
6961f081e5
Fix packet reception in promiscuous mode: compare the Ethernet destination
...
address against our station address if it's not a multicast packet. Either
the Rhine manual lies about the phys/broadcast/multicast rxstatus bits,
or the Rhine chip is just broken.
Fixes a redirect storm problem reported by Laine Stump on current-users.
1999-09-20 17:40:58 +00:00
nisimura
1f50d00cc1
Add one new dispaly type for DEC TC TX 8/24bpp framebuffer. Currently acts
...
as an 8bpp pseudo color device.
1999-09-20 06:29:06 +00:00
nathanw
3598bf5251
Add NOLUNS quirk for another Texel CD-ROM revision.
1999-09-19 23:45:28 +00:00
ad
598dcad691
When moving the software cursor on an inactive screen, save character and
...
attribute from backing store, not display adapter.
1999-09-19 23:00:04 +00:00
matt
a6d751c35c
One more change for bigendian machines.
1999-09-19 22:58:31 +00:00
ad
97253f4537
Software cursor is not enabled at boot time. Hardware cursor is.
1999-09-19 22:57:24 +00:00
matt
9ac5036f93
Make the DEFPA run under the macppc port (tested on a B&W G3). Add it to
...
the GENERIC config file.
1999-09-19 22:02:37 +00:00
ad
f96e055d70
- mc6845's cursor is disabled by punching bit 6 of cursor start register.
...
- Add new option (PCDISPLAY_SOFTCURSOR) that provides a large, non-blinking
cursor in software.
1999-09-19 21:48:08 +00:00
thorpej
5485bcb973
Fix a buglet in tlp_reset(): don't touch the Tulip for at least 50
...
PCI cycles after starting the reset; it won't respond. This will
cause a machine check on some Alpha core logic chipsets (e.g. 21071 APECS).
1999-09-19 20:51:09 +00:00
drochner
fa13e8eb92
set odd parity for the serial line
...
(done by directly setting zilog chip control bits -- there should be
a zs_set_frame() or so in z8530sc.c)
fixes PR port-alpha/8423 by Konrad Schroder <perseant@hhhh.org>
1999-09-19 14:45:47 +00:00
augustss
fb7795c908
Make sure the HC deactivation is propagated.
1999-09-18 11:25:50 +00:00
scw
d1c5384e9a
Minor optimisation.
1999-09-18 09:45:05 +00:00
ad
91723eaf32
Regen.
1999-09-18 01:46:25 +00:00
ad
697eb331c5
Ammend some entries.
1999-09-18 01:46:01 +00:00
thorpej
9002796d07
If the interface is not marked as running, abort tlp_intr() early.
1999-09-17 21:57:36 +00:00
thorpej
79f938f5f8
Fix a few buglets in the multi-port 21040 code. ZNYX ZX314 confirmed
...
working now.
1999-09-17 21:55:01 +00:00
ad
54943e8584
- Collapse forward and reverse cases in rasops_copyrows() into one
...
- Pull in opt_rasops.h so we know if clipping is enabled
- Some KNF
1999-09-17 00:22:07 +00:00
ad
da0cbab431
Clean up attribute allocation some more.
1999-09-17 00:09:34 +00:00
augustss
97a24aa488
Make defines follow the standard.
1999-09-16 21:53:58 +00:00
drochner
61ab682f29
set baudrate before talking to the keyboard (in non-console case)
...
from Konrad Schroder per PR port-alpha/8422
1999-09-16 19:39:05 +00:00
augustss
a4457e18b3
More DIAGNOSTIC paranoia.
1999-09-16 19:20:34 +00:00
jdolecek
61cf56ebf2
introduce new variable wsdisplay_defaultscreens (initialized to
...
WSDISPLAY_DEFAULTSCREENS or 0 if it's not defined) and use it instead
of WSDISPLAY_DEFAULTSCREENS as approptiate, so that number of screens
added on bootup is patchable
move printing of info about added screen into separate routine and
print just one message for all screens added in wsdisplay_common_attach(),
such as:
wsdisplay0: screen 1-7 added (80x25, vt100 emulation)
while here, do minor const poisoning
Reviewed by: drochner
Tested by: jdolecek
1999-09-16 18:16:51 +00:00
soren
6c591e77d0
Fix botched RCS IDs.
1999-09-16 05:58:18 +00:00
augustss
09774ca21c
Remove one, add none!
1999-09-15 21:14:44 +00:00
augustss
2557320246
Handle the case when a USB transfer is so long that it crosses two page
...
(4K) boundaries. OHCI cannot do that with a single TD so we make a chain.
1999-09-15 21:14:03 +00:00
augustss
7fcc1703ff
Cosmetic change: s/xfer/data/
1999-09-15 21:12:29 +00:00
augustss
80e09c28e9
Use a bigger buffer when transferring data.
1999-09-15 21:11:27 +00:00
augustss
58c7de99c1
Move the code around a little and clearly mark how to delay attachment
...
(during cold boot) until the interrupts are on.
1999-09-15 21:10:11 +00:00
augustss
5260cadff2
Add a sanity check to the computed actual transfer length.
1999-09-15 21:08:59 +00:00
augustss
d4f0eac72e
Change SPLUSBCHECK diagnostic macro a little.
1999-09-15 21:08:19 +00:00
augustss
e54df1b10c
Handle the use_polling flag with a lttle more care and only set it if
...
we are cold booting.
1999-09-15 14:17:14 +00:00
augustss
60199e09b6
Regen.
1999-09-15 13:57:26 +00:00
augustss
df70e460db
Make vendor names more consistent.
1999-09-15 13:57:09 +00:00
augustss
adc55421b4
Regen.
1999-09-15 12:31:28 +00:00
augustss
f14a3915b3
Add a number of devices and rename a few. From a Linux web site.
1999-09-15 12:30:59 +00:00
augustss
7049e8eb1b
Add preliminary (untested) code for detaching the USB host controller
...
(needed for CardBus based controllers).
1999-09-15 10:25:30 +00:00
thorpej
f23c7a31b4
Make sure 21040 chips are at least pass 2.0 and that 21140 chips are at
...
least pass 1.1.
1999-09-14 23:43:10 +00:00
thorpej
70997fd3d5
Move the PCI device number to the base Tulip softc; it will be needed to
...
decode the SROM on 21041 and 2114x multi-port boards.
1999-09-14 23:33:04 +00:00
thorpej
2def4fdb50
Apparently can't really look at excessive collitions and late collisions
...
in completed transmit descriptors. These seem to be set even on successful
packet transmissions on my AlphaStation 500's 21040.
1999-09-14 23:23:32 +00:00
thorpej
5c34356d4c
First crack at shared ROM/shared interrupts on 21040 multi-port boards,
...
plus quirk identification for non-multiple-port boards.
1999-09-14 22:25:48 +00:00
augustss
5486205b69
Regen.
1999-09-14 22:06:44 +00:00
augustss
ed9b74f17a
Sort out some confusion about which vendor is really Belkin.
1999-09-14 22:06:21 +00:00
augustss
a6aa488db9
Don't do IO before we have set the tag and handle.
1999-09-14 09:29:05 +00:00
thorpej
e2a320f925
Oops, fix Winbond regshift.
1999-09-14 05:59:53 +00:00
thorpej
d05d28146b
EISA bus front-end for the New Tulip Driver, for the DEC DE425 EISA
...
board. The DE425 is basically a DECchip 21040 on an EISA board, plus
a Cool Address Decoder Hack which maps the PCI configuration
space registers into EISA I/O space, interleaved with the Tulip CSRs,
which are spaced further apart than on the PCI versoin.
This is currently *untested* until the DE425 boards that folks have
promised me arrive. But, it should work, since the 21040 works.
1999-09-14 05:58:00 +00:00
thorpej
12c167b5ca
Change the semantics of `sc_regshift'; it is now the shift required to
...
make a CSR index number into a CSR offset. Introduce a couple of macros
to handle CSR name -> offset conversion.
1999-09-14 05:52:21 +00:00
augustss
10d4a4d5fe
And commit two files I forgot in the rearrangement for testing for
...
interrupt context.
1999-09-14 01:07:13 +00:00
thorpej
a03bd733ca
- More PNIC NWAY stuff. Still more work to do, here.
...
- Fix the SROM checksum routine.
- Add code to parse the old DEC Address ROM SROM format.
- Rearrange the statchg routines a bit, to make them consistent with one
another.
- Add support for the DECchip 21040. XXX No support for media autosense
yet, and no support for any of the multi-port boards yet.
1999-09-14 00:55:38 +00:00
augustss
c4d6d6b991
Put a reference counter in the softc. Without this the driver might access
...
data that has been freed because the detach() routine returns to early.
1999-09-13 21:35:08 +00:00
augustss
ba2c2e2ade
* Make sure an aborted pipe is marked as not running.
...
* Start queued request in the right order.
* Insert some more DIAGNOSTIC sanity checks.
1999-09-13 21:33:25 +00:00
augustss
bc5da9a8da
Make sure timeouts count as interrupt context too.
1999-09-13 19:49:41 +00:00
augustss
ff6a476e6c
Rearrange the code a little so we can decide if we are in process
...
or interrupt context in a reliable way. Mainly used for DIAGNOSTIC.
1999-09-13 19:18:17 +00:00
itojun
65363da25e
Merge in NetBSD/sh3 from cvs.kame.net repository.
...
Tree structure:
- sys/arch/sh3: sh3 generic code
As commented, in-chip device drivers are put into sys/arch/sh3/dev.
- sys/arch/evbsh3: sh3 evaluation boards (pure sh3 CPU, no fancy external HW)
- sys/arch/mmeye: Brains mmEye, www.brains.co.jp
MI source code includes couple of #ifdef for sh3-coff support.
(sh3 uses coff or elf)
Needs some more improvements, especialy in sys/arch/sh3/conf/files.sh3,
to compile the tree (due to last minute tree structure change).
1999-09-13 10:30:21 +00:00
itojun
e0042cf412
drop wrongly looped back multicast packet before we put it into BPF.
1999-09-12 18:26:58 +00:00
augustss
eadd0f76da
Add needs-flag to ukbd. Fixes PR 8385 from Izumi Tsutsui
...
<tsutsui@ceres.dti.ne.jp>.
1999-09-12 17:40:57 +00:00
augustss
b1a719a6cc
Add a flag in the request to determine if the data copying is done by the
...
driver or the usbdi layer.
1999-09-12 08:23:42 +00:00
augustss
305998532f
Dot't forget to deactivate subdevices.
1999-09-12 08:21:49 +00:00
thorpej
febf7ffb86
Display more verbose information about the command protocol and wire
...
protocol used by the device, e.g.:
umass0 at uhub0 port 1 configuration 1 interface 0
umass0: Iomega USB Zip 100, rev 1.00/1.00, addr 2
umass0: SCSI over Bulk-Only (iclass 8/6/80)
1999-09-12 02:40:59 +00:00
thorpej
f696794a34
Hot-unplug works now.
1999-09-11 21:45:28 +00:00
thorpej
f77302e768
Implement detaching SCSI and ATAPI disks.
1999-09-11 21:42:58 +00:00
thorpej
e8dded5513
Implement a function to kill off all commands pending for a given
...
scsipi_link.
1999-09-11 21:39:53 +00:00
thorpej
5116cf4fa5
Implement detaching of SCSI busses.
1999-09-11 21:25:26 +00:00
thorpej
f7c20484b6
- If a command fails, assume the device returned CHECK CONDITION status,
...
and issue a REQUEST SENSE. This fixes the media change problems I was
having w/ my USB ZIP drive.
- Clean up some debugging code.
- Implement more hot-unplug stuff.
1999-09-11 20:52:07 +00:00
dante
afa103cfb4
Rewrote error handlers. Now they are solid.
...
Increesed considerably the speed of the driver removing superfluous splbio/splx functions.
1999-09-11 15:34:45 +00:00
augustss
ca8281fbcc
Pre-allocate the DMA buffer. This makes the driver slightly more efficient.
1999-09-11 10:40:07 +00:00
augustss
98b6524413
* Move DMA buffer allocation to HC independent code.
...
* Remove (almost) unused definitions USBD_XFER_OUT and USBD_XFER_IN.
1999-09-11 08:19:26 +00:00
soren
203f000d1a
Regen.
1999-09-11 06:27:36 +00:00
soren
dfbe7449e4
Add ENI SpeedStream.
1999-09-11 06:27:25 +00:00
augustss
6a58ae2d93
Regen.
1999-09-10 19:56:51 +00:00
augustss
fb9d7d86ae
Add more TI CardBus bridges. Taken from the CardBus patches.
1999-09-10 19:55:54 +00:00
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
oster
6409e641a6
Remove a 'struct proc *'-passing abomination that's been bugging me
...
for quite some time.
1999-08-14 03:10:03 +00:00
oster
4a058e82c5
Correct and/or improve detection of bogus row/column values
...
passed in via ioctls.
1999-08-14 02:41:36 +00:00
ad
a7510095cc
Pass color index through ri_devcmap; don't assume that it already
...
matches the device's color map.
1999-08-13 09:45:46 +00:00
oster
db2eaf18cf
rf_sys.h does not need to be #included in any of these files, and, actually,
...
is no longer needed at all.
1999-08-13 03:41:52 +00:00
oster
1ec5208866
This file is no longer needed.
1999-08-13 03:31:20 +00:00
oster
1aa6ce1041
Garbage collect rpcc().
1999-08-13 03:27:46 +00:00
oster
02acd1910a
First kick at cleaning up the RF_ETIMER code. New timer handling code
...
provided by Peter Galbavy via OpenBSD.
1999-08-13 03:26:55 +00:00
oster
eca431e87c
Nuke configuration of ETimer stuff during main configuration.
1999-08-13 03:25:01 +00:00
oster
5cab826918
Clean up reconstruction accounting a bit. While it worked before, it was
...
slightly broken in the case where the RAID set did not support reconstruction.
1999-08-13 01:43:33 +00:00
bouyer
59af828a94
Regen.
1999-08-12 09:43:18 +00:00
bouyer
7c3cb9c796
Add Promise Ultra66, change entry of Ultra33 to reflect the fact that can
...
"only" do ultra/33.
1999-08-12 09:42:11 +00:00
thorpej
ae6f518821
Garbage-collect CCDF_SWAP; no longer used, and doesn't make any sense
...
with the UVM swap code.
1999-08-11 02:44:35 +00:00
thorpej
dd5ae858e0
We really only need *one* componenet buffer pool...
1999-08-11 02:41:02 +00:00
oster
33e458640f
Garbage collect unused struct rf_test_acc.
1999-08-11 02:20:35 +00:00
oster
31b98d3572
When reporting the status of a component during configuration,
...
provide more intuitive information about whether a component is clean
or not.
1999-08-10 22:56:20 +00:00
oster
620eda50c7
Don't allow reconstructs, copybacks, or forced failures of components if
...
using a RAID 0, since RAID 0 can't handle those sorts of things.
1999-08-10 22:46:59 +00:00
oster
0b08c839eb
Don't go ape if there is a problem verifying the parity. Note the condition
...
and inform the user (as opposed to panicing the system!).
1999-08-10 22:19:27 +00:00
oster
49efd10006
Oops. Make minor change that I forgot when adding the parity check ioctl.
1999-08-10 21:41:37 +00:00
oster
a3aefdaee3
Add support for easily checking the parity status from userland.
...
Also: spl protect rf_RewriteParity().
1999-08-10 18:18:30 +00:00
oster
a531d8c31e
Trying to rebuild parity on a degraded set is bogus, so don't allow that.
...
Also, check sooner for a RAID 0 set, since rewriting parity makes no
sense there either.
1999-08-10 01:53:26 +00:00
bouyer
26db0bba90
Garbage-collect C_INUSE and C_NEEDDONE.
1999-08-09 09:56:00 +00:00
bouyer
5885dbb878
- use pool(9) for wdc_xfer, instead of managing a free list.
...
- fix printing of Ultra-DMA modes (shows up when the drive supports highther
modes than the controller).
- Don't use C_NEEDDONE anymore. We were setting this flag in a possibly
freed wdc_xfer (this didn't create problems, as it was free'd in the POLL
case only, while IRQs are blocked, but it's not good practice anyway
and pool(9) complains about it ;)
1999-08-09 09:55:18 +00:00
bouyer
7eb1fae5d3
Add a missing 'return' in previous commit.
...
Don't use C_NEEDDONE anymore (it's safe to always call scsipi_done()).
1999-08-09 09:49:48 +00:00
bouyer
7e874499c9
Don't call wddone() from _wdstart(), the ata_wdc system will do it now.
...
call wd_flushcache() with the proper flags (especially don't set
AT_WAIT | AT_POLL).
1999-08-09 09:48:04 +00:00
bouyer
c0da6c9129
Don't use C_NEEDDONE, it's deprecated.
1999-08-09 09:43:11 +00:00
ragge
148c244c15
Driver for the DEC SGEC, Second Generation Ethernet Controller.
1999-08-08 11:41:28 +00:00
augustss
38de172f03
Add usbd_set_hub_feature() and usbd_clear_hub_feature().
1999-08-07 23:14:17 +00:00
augustss
d6331b4ef4
Some new items.
1999-08-07 15:05:46 +00:00
augustss
cdfc12a291
Make it possible to open wskbd devices for write (i.e. ioctl) even
...
if it is already open.
1999-08-07 15:04:35 +00:00
thorpej
a8d8fc178f
Fix a typo.
1999-08-07 07:36:19 +00:00
thorpej
ec368bb906
Fix a problem uncovered by attempting to compile on the Alpha: overrun_buf
...
was being initialized to a KVA, when we really wanted a DMA address. Change
the code to allocate the overrun buffer with the control blocks, and
properly initialize overrun_buf.
Note that overrun_buf cannot actually be shared between all boards; DMA safe
memory could vary from bus to bus.
Garbage-collect two functions which are no longer used because of the
above changes.
1999-08-07 07:20:15 +00:00
mycroft
6b33521af9
Increase several timeouts to 30s.
1999-08-07 02:51:51 +00:00
bouyer
fae9929734
- Add some debug printf (WDCPROBE) in _wdcreset_wait(), I've needed these
...
2 times in the past
- Set up timeout per xfer instead of per interrupt. This helps with
PIO transfer (we would call timeout()/untimout() several times for a
transfer).
- If we missed an interrupt for a PIO transfer, reset and restart it
immedialy, don't try to recover and continue. If we missed an interrupt we
may have lost a read/write cycle on the IDE bus. If this happens 1) we
corrupt data and 2) we enter an interrupt loop at the end of the xfer, as
the drive has some more data to read/write, but the host thinks the xfer is
done.
This last change fix the (or at last some of the) 'lookup after lost interrupt'
some peoples have been experiencing.
1999-08-06 12:00:23 +00:00
cgd
0ef6a875b8
regen for updated pcmciadevs
1999-08-06 06:39:57 +00:00
cgd
1780131e5c
add an entry for the IBM EtherJet Ethernet PC Card (cs8920 based)
1999-08-06 06:39:29 +00:00
augustss
03c29debf5
Make this file compile again.
1999-08-05 11:25:47 +00:00
thorpej
191ab2b8e4
Since we have to go through fxp_init() to properly handle IFF_ALLMULTI
...
anyway, take advantage of this and greatly simplify the programming
of the multicast filter. This solves the last reported "device timeout"
problem with this driver.
1999-08-05 01:35:40 +00:00
tron
439a6c4942
Add missing prototype for read_tekram_eeprom() to make driver compile if
...
"options NCR_TEKRAM_EEPROM" is specified in the kernel configuration file.
Patch supplied by Hans Hoppe in PR kern/8141.
1999-08-04 20:51:31 +00:00
ragge
d1ffb22ab2
"files" also needed.
1999-08-04 19:13:05 +00:00
ragge
1aa825ae03
Converted to (mostly) MI code.
1999-08-04 19:12:22 +00:00
leo
7bff22bddc
Catch a console configuration error. Instead of jumping through cdevsw indexed
...
on major(NODEV), call panic...
1999-08-04 14:40:54 +00:00
augustss
fe98b81a44
Get the dependencies on NWSMUX right (I hope).
1999-08-04 11:26:04 +00:00
augustss
84d5e946e6
Use NMPU not NMIDI around call to mpu_intr.
1999-08-04 10:50:52 +00:00
augustss
c1c87dde4a
Add another file I forgot in my MPU changes.
1999-08-04 10:46:34 +00:00
nisimura
cb6ed03a59
- Replace device node names of zskbd/zsms into lkkbd/vsms, respectively.
...
No functionality was changed at this moment.
- Apply recent changes in GENERIC to TCWSCONS.
1999-08-04 07:17:50 +00:00
thorpej
5ea625fe90
Almost completely rewrite the receive logic, making it as close as possible
...
to the EPIC/100 driver's (adjusting for the fact that Intel Ethernet chips
are from Pluto):
* Don't allocate receive buffers until the interface is actually brought
up, and release all of them if the interface is taken down.
* Add a knob (defaults to off) which will copy an incoming packet to
a single header mbuf if it is small enough to fit in one, rather than
burning an entire cluster on it. Note that this change will be mostly
moot if/when sbcompress() is changed to handle compressing clusters.
Simplify some of the receive list logic:
* Rather than using a homegrown queue and additional software RX descriptors,
use an ifqueue to queue receive buffers, and M_{GET,SET}CTX() to hook DMA
maps and receive buffers together.
Clean up a bit:
* Macroize a bunch of things to make the code a bit easier to follow.
1999-08-04 05:21:18 +00:00
thorpej
11e9392b3e
Only tick the MII if we are using it.
1999-08-04 00:17:28 +00:00
thorpej
0ae14b58eb
Be a little less selective in the transmit interrupt path.
1999-08-04 00:14:08 +00:00
thorpej
f1c6287a6e
Use the Interrupt bit in the command block to generate interrupts, rather
...
than interrupting after every Command Unit Not Active event.
1999-08-03 23:37:14 +00:00
thorpej
1051ab605d
G/c a flag.
1999-08-03 23:18:32 +00:00
thorpej
5c2b83a0ad
Don't bother with interrupt-driven multicast setup.
1999-08-03 23:18:09 +00:00
thorpej
3012cf91af
Completely rewrite the transmit logic, making it look more like the
...
EPIC/100 driver's. Also, fix the "all multicast" logic. Also do some
general cleanup.
1999-08-03 22:43:28 +00:00
oster
e0c8203cb3
Nuke unused #define.
1999-08-03 22:07:39 +00:00
drochner
f04cb4036f
move common support functions for phy drivers from mii.c to mii_physubr.c,
...
so that they are not includes if no PHY is configured
(avoids code bloat if an interface driver has the "mii" attribute but
mii is not used by the particular version)
1999-08-03 19:41:49 +00:00
thorpej
4bd8f1566c
Be a little nicer about memory usage:
...
* Don't allocate receive buffers until the interface is actually brought
up, and release all of them if the interface is taken down.
* Add a knob (defaults to off) which will copy an incoming packet to
a single header mbuf if it is small enough to fit in one, rather than
burning an entire cluster on it. Note that this change will be mostly
moot if/when sbcompress() it changed to handle compressing clusters.
1999-08-03 17:25:51 +00:00
augustss
dbb71e4b35
Add the file I forgot at the previous MPU changes.
1999-08-03 00:27:27 +00:00
augustss
208dad78d1
Get data toggle right for short bulk transfers.
...
(XXX This code needs to be rewritten.)
1999-08-02 23:35:55 +00:00
augustss
caffcd4895
Another debug message.
1999-08-02 19:49:50 +00:00
augustss
2d4d29a1fa
Test return values the right way.
1999-08-02 19:36:48 +00:00
augustss
094852eb36
Change it so that a pipe can be open RW instead of just R or W.
...
This makes close() work properly, but it is still not ideal. Perhaps
there should be different device nodes for input and output on to
and endpoint with the same number?
Pay attention to the SHORT_XFER_OK ioctl().
1999-08-02 19:32:56 +00:00
augustss
d2db832909
Do abort of transfers in a sane way. Fixes PR 8041.
1999-08-02 19:30:34 +00:00
augustss
42fb510148
Move the mpu device declaration to conf/files.
...
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.
1999-08-02 17:37:41 +00:00
nisimura
9ab80b75b8
- Fix MX framebuffer size which should occupy 2MB in address range.
...
- Restore 72Hz interrupt service mistakenly ruined in the previous commit.
1999-08-02 06:00:40 +00:00
nisimura
e78e58a7b8
- Fix TX 8bpp framebuffer size, which occupies 2MB.
...
- Rework CX RAMDAC register access like as other TC framebuffers.
1999-08-02 04:19:03 +00:00
matt
f7141a0ffb
The Tadpole 3GX uses a modified Sun Mouse protocol. Instead of
...
sending 5 bytes per sample, it sends 3 omitting the 2nd set of
dx/dy updates. You can distinguish between the two forms since
the first byte of 5-bytes seq will be 0b10000xxx which a 3-byte
will have 0b10001xxx. This changes allows the Xsun server to
run unchanged on the Tadpole 3GX (ignoring for now that the
colormap is still broken).
1999-08-02 01:50:27 +00:00
matt
825e233d2e
Allow the mouse baud rate to be patched (rather than forcing a recompilation
...
of the kernel). Also, if the mouse baud rate is 0, say the mouse the isn't
there (so a terminal may be attached in its place). Make debugging mouse
problems much easier.
1999-08-02 01:44:22 +00:00
augustss
cbf1f6f1b9
Move the MPU driver isa/ to ic/.
...
(I didn't move it in the repository because the revision history
is very short and uninteresting. :)
1999-08-01 18:05:39 +00:00
augustss
0c0dc211d4
Make an MPU attachment to ISA. Used for old Roland cards. Written
...
by me and gson@araneus.fi (Andreas Gustafsson).
1999-08-01 17:53:39 +00:00
ragge
6ca9b225e7
Add a timeout-routine that checks if transmit logic dies, and reset it
...
in that case. This is not uncommon when the interface is heavy loaded.
1999-08-01 15:25:41 +00:00
scw
ba922d31d8
Re-work the Tx side to avoid calling into the tty layer at
...
interrupt time. This was the cause of the 'mmu fault' panics
seen by several people, as the Tx interrupt is at a higher
priority that spltty().
1999-08-01 09:35:05 +00:00
veego
9baa857f5b
Regen.
1999-08-01 08:32:48 +00:00
veego
9657de4af2
Add an entry for the TI PCI1211 PCI-CardBus Bridge.
...
From the cardbus patches.
1999-08-01 08:32:08 +00:00
augustss
b6b44d6809
Eliminate the need for needs-count for wsmux. This should make
...
wsdisplays work properly again.
1999-07-30 20:52:27 +00:00