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