Commit Graph

6172 Commits

Author SHA1 Message Date
augustss
ea503f0b6c Regen. 1999-10-13 02:25:26 +00:00
augustss
86911423eb Add SIIG DigiFilm-Combo Reader 1999-10-13 02:24:59 +00:00
augustss
11403b6ec1 Fix some bugs in USB controller detach code. 1999-10-12 20:02:47 +00:00
jdolecek
d22624c1d2 add wsdisplay_switchtoconsole() to allow other parts of kernel to force
the wscons to switch to console; code taken from wsdisplay_shutdownhook(),
which is now just a wrapper around wsdisplay_switchtoconsole()
1999-10-12 16:47:41 +00:00
augustss
df435c83b2 Add an event mechanism so that a userland process can watch devices come
and go.
1999-10-12 11:54:56 +00:00
augustss
3887698369 Regen. 1999-10-12 11:27:52 +00:00
augustss
e202d5a5c2 Add another device. 1999-10-12 11:25:13 +00:00
augustss
6628b9be8a Stylistic changes. 1999-10-12 11:24:22 +00:00
augustss
b14b78dfc9 Deallocate resources (bus space and interrupts) when detaching from
the bus.
1999-10-12 11:21:24 +00:00
hannken
9d12a71473 Add support for `Adaptec AHA 2940UW Pro'.
Behaves like the `Adaptec AHA 2940UW'.

Device info: product id = 0x8778, Chip = AIC7880P.
1999-10-12 08:41:55 +00:00
thorpej
8d56d3f3f0 Bound one auto-calibration loop that was missed in previous rounds of
changes.

Yay, audio on my Dell laptop works again.
1999-10-12 00:16:42 +00:00
thorpej
b77486892b Regen. 1999-10-11 17:51:45 +00:00
thorpej
d9497def78 Add 3Com/Megahertz 3CCFEM556BI 10/100 Ethernet/Modem. From Ryoji KATO,
PR #8331.
1999-10-11 17:51:24 +00:00
thorpej
f4f5698f06 Add quirks for the 3Com/Megahertz 3CCFEM556BI 10/100 Ethernet/Modem,
from Ryoji KATO, PR #8331.
1999-10-11 17:50:21 +00:00
thorpej
eda20693f0 Add support for the 3Com/Megahertz 3CCFEM556BI 10/100 Ethernet/Modem combo. 1999-10-11 17:49:21 +00:00
thorpej
5082673b91 - Encapsulate the EEPROM reading code into ep_read_eeprom(), and use
the correct "read eeprom" opcode on the RoadRunner (which has a larger
  EEPROM, and thus needs a different opcode to make room for the larger
  offsets).
- Reset and enable the MII before probing for PHYs, and reset and enable
  the MII in epinit().
- Be more conservative when resetting the interface after a transmit error.

Based on PR #8331, from Ryoji KATO.

Closer on 3c574, probably will work fine with the 3CCFEM556BI (which
won't have an older rev TDK Semi PHY, and which was tested by the author
of the PR).
1999-10-11 17:48:20 +00:00
thorpej
7871f8c56d Add some more RoadRunner bits. Partially from Ryoji KATO, PR #8331. 1999-10-11 17:41:56 +00:00
hannken
2f3b72ae59 Regen. 1999-10-11 17:33:51 +00:00
hannken
5e63221d99 Add an entry for the Adaptec 2940UW Pro Scsi adapter. 1999-10-11 17:31:52 +00:00
hwr
d5103deed3 Add ad quirk for CDU-561 CD-ROM. From PR kern/8608
by SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>.
1999-10-11 15:28:57 +00:00
augustss
e61b976a20 Allow larger timer variation. 1999-10-11 12:53:14 +00:00
augustss
2f9a41c5e7 Regen. 1999-10-11 09:17:22 +00:00
augustss
bd08192b30 Add more devices. 1999-10-11 09:16:59 +00:00
augustss
740ae27d5a Add a quirk for devices that lie about how they are powered. 1999-10-11 09:16:39 +00:00
augustss
d0bbed5169 Remove an obsolete comment. 1999-10-11 09:15:34 +00:00
cgd
c3703ecfdd don't print using string pointer one off the end of the eso_rev2model
array.  pointed out by Kouichi Hashikawa in PR#8601.
1999-10-10 18:52:03 +00:00
hwr
eed9db126b Add a quirk to recognize a Toshiba XM-3401TA SCSI CD-ROM as
removable SCSI device. From Matthew Fredette <fredette@mit.edu> in
kern/7438.
1999-10-10 18:49:15 +00:00
mycroft
04a784cb79 Fix one more #ifdef, and now it actually compiles again. *sigh* 1999-10-10 00:14:44 +00:00
mycroft
f52d37c204 Oops; this should get mpu.h, not midi.h. 1999-10-10 00:10:26 +00:00
mycroft
92ce7e96c6 NMIDI -> NMPU, to be consistent with sbdsp.c. 1999-10-10 00:08:24 +00:00
mycroft
d486b755ca Fix prototype of bha_ccb_phsy_kv() so this compiled on the Mac again. 1999-10-09 22:46:20 +00:00
mycroft
c5056ddd8c NMIDI -> NMPU, to be consistent with sbdsp.c. 1999-10-09 20:57:28 +00:00
mycroft
88a9173b10 NMIDI -> NMPU, to be consistent with sbdsp.c. 1999-10-09 20:54:36 +00:00
cgd
c3d5267629 Don't burst into flame when a QUEUE FULL message is received. Also,
do a gross hack which allows seemingly-broken quantum drives to function
with this driver.  The gross hack is to disable tagged queueing completely
when QUEUE FULL is received.  That costs performance on drives which
do tagged queueing properly and which return QUEUE FULL, but given the way
this driver works it's seems to be the only thing short of significant
recoding which will make it function with the quantum drives in question.
1999-10-08 20:43:45 +00:00
nisimura
72de8abb0c Arrange loop invariants and fix comment description error. 1999-10-08 02:08:15 +00:00
ad
033a99c5ae Note some ideas from Toru Nishimura. 1999-10-07 09:04:10 +00:00
itohy
2b98e16426 Oops! Make it compile again. 1999-10-07 08:16:51 +00:00
itohy
a44328a50e Fix power-related init code.
Change the default mixer setting to make wave and OPL3 volume even.
Mute the chip during attach not to make noise.
1999-10-07 03:28:56 +00:00
drochner
0b5c897fd0 1. include headers for NS support
2. pull in a fix from FreeBSD:
revision 1.18
date: 1999/09/17 18:04:14;  author: wpaul;  state: Exp;  lines: +3 -3
Remember to account for ETHER_ALIGN when setting the maxmimum packet
length for mini receive ring. The max length was MHLEN, however the mbufs
are actually shortened to MHLEN - ETHER_ALIGN to force payload alignment.
1999-10-06 11:23:33 +00:00
mjacob
51a4d18f0f If we're discovering, don't tsleep on lbolt if we had a busy status. 1999-10-06 05:01:05 +00:00
nathanw
88a4e0db3c Regen. 1999-10-05 20:09:44 +00:00
nathanw
d05fd19adc Add In-Systems ISD-110 IDE adapter. 1999-10-05 20:03:49 +00:00
thorpej
a339b2839b Have I mentioned how much I love this driver? Fix the code in the tagged
queueing support that decreases the number of openings on a device; it
previously assumed that a scsipi_link's `openings' were descreased as
commands were issued, which is not longer the case (`active' is increased).
1999-10-05 17:45:57 +00:00
nisimura
9c2fdffad2 SFB video base register is assigned with an inialial value before use;
according to ULTRIX/OSF1 code.
1999-10-05 09:13:30 +00:00
itohy
8444082915 This file is obsoleted by opl3sa3reg.h . R.I.P.
Sorry for spamming this list so much. :)
1999-10-05 03:55:08 +00:00
itohy
3d17e2f869 opl3sa3.h -> opl3sa3reg.h 1999-10-05 03:53:07 +00:00
itohy
4aba617989 Add "opl at ym" and "mpu at ym" attachment.
Options for ym driver are defopt'ed.
1999-10-05 03:48:27 +00:00
itohy
1fa3147269 Add support for "opl at ym" and "mpu at ym" attachment. 1999-10-05 03:47:20 +00:00
itohy
871f1c2c0a New ym driver.
1. Add power control to reduce power consumption.
    The behavior can be controlled by mixerctl(1).
 2. Add suspend/resume hook to keep the parameters.
    Currently this includes CODEC and control registers but
    does not include the DMA state.  FIXME.
 3. Support "opl at ym" and "mpu at ym" attachment.
    Actually, this is required for power control.
 4. Add support for the on-chip 3D enhancement hardware.
    This includes bass/treble enhancement, wide stereo, and
    the equalization mode.  This can be controlled by mixerctl(1).
 5. Make "audioctl -w play.gain=xxx" work like as
    "mixerctl -w inputs.dac=xxx" and now it changes
    the wave output volume correctly.
 6. Support hardware master volume switches.
 7. Change formula of calculating gain so that all the levels
    should be used equally.
 8. Change "audioctl name" to "OPL3-SA3" and "audioctl version"
    to the version of the chip.
1999-10-05 03:46:08 +00:00
itohy
d82343a7ec Add power control hooks.
Make the wave output mute while playback is inactive.  This significantly
reduces noises while preparing playback, especially by mpg123.
1999-10-05 03:44:31 +00:00
itohy
3b2be55d69 Add power control hooks. 1999-10-05 03:42:53 +00:00
itohy
0fed0f8872 "mpu at ym" attachment glue for making use of
Roland MPU401 compatible MIDI port on Yamaha OPL3-SA3.
1999-10-05 03:41:05 +00:00
itohy
04c1bf41b9 "opl at ym" attachment glue for making use of
OPL3 FM synthesizer on Yamaha OPL3-SA3.
1999-10-05 03:40:21 +00:00
itohy
4714c97382 YAMAHA YMF175x (OPL3-SA3) control register description. 1999-10-05 03:38:17 +00:00
itohy
55360c0ac0 - Fix wait for ready code.
- Mute wave output, not the mixer output, on changing CODEC settings.
- Add support for muting wave output while playback or monitoring is inactive.
- Change formula of calculating gain so that all the levels should be
  used equally (the old code uses the min/max gain only at 0/255).
- Cleanup
1999-10-05 03:35:12 +00:00
itohy
dae2f73780 Add support for muting wave output while playback or monitoring is inactive.
Cleanup.
1999-10-05 03:31:35 +00:00
itohy
a13ace8bac Add power control hooks. 1999-10-05 03:29:22 +00:00
thorpej
120e8cac48 Fix a botch when updating for the SCSIPI changes. 1999-10-05 00:29:41 +00:00
thorpej
da257060f5 Avoid silly namespace collision w/ some Alpha signal-related variables. 1999-10-04 23:57:32 +00:00
ad
adff5c3f3c Use proper mask when RI_FORCEMONO is set and XORing cursor. 1999-10-04 22:52:13 +00:00
augustss
d81ed72642 Implement program change. From Martin Cernohorsky <cerno@ics.muni.cz>. 1999-10-04 19:31:39 +00:00
augustss
ef0ba32b7d Regen. 1999-10-04 19:05:42 +00:00
augustss
7a8b326ba9 Add Activewire IO boards. 1999-10-04 19:05:13 +00:00
ad
71639bf8a7 At shutdown, switch to screen 0 on console display so that we see some
notification from the kernel.
1999-10-01 22:29:12 +00:00
thorpej
a3ef0b7a6d Fix compilation of ISA bha front-end. PR #8528, Takahiro Kambe. 1999-10-01 18:17:12 +00:00
ad
e8d7fe2144 - Save SCSI status in the request.
- In dpt_intr(), if no interrupt is signalled but the HBA has indicated
  that more data will be available soon (HA_ST_MORE), save a context switch
  and wait for the data.
1999-10-01 12:20:12 +00:00
ad
0263e62bc4 Rename HA_ST_INDEX to HA_ST_MORE (More data available soon). 1999-10-01 12:08:51 +00:00
nisimura
7fbac8b3cc - Remove defunct codes and arrange consistency between pmax and alpha.
- Reduce 'ioasic_base' expose.
1999-10-01 09:19:42 +00:00
itohy
81bfa8dd74 Fix MIX_ATTEN_MASK value so that monitoring should work correctly. 1999-09-30 23:30:15 +00:00
thorpej
6d0137c519 Update for SCSIPI changes. 1999-09-30 23:13:41 +00:00
thorpej
415b44a62a Rework the Buslogic SCSI driver in preparation for some pending improvements
to the SCSIPI subsystem.
- Determine more characteristics about the board, including the number
  of concurrent commands that the processor can execute at a time.
- Rework memory allocation strategy so that we can do dynamic pre-allocation
  of resources according to workload.

Thanks to the Linux Buslogic driver for having some useful comments.
1999-09-30 23:12:28 +00:00
thorpej
fe12736867 Update for SCSIPI changes. Note that capabilities update is disabled
until Matt Jacob has a change to update the driver for the latest
firmware, etc. since update device parameters seems to fail once the
system is really up and running, and eventually causes the controller
to wedge.  This may be due to a firmware bug.

Per discussion with Matt.
1999-09-30 23:06:18 +00:00
thorpej
63b8530b4e Update for SCSPI changes. 1999-09-30 23:04:39 +00:00
thorpej
16a9d90e17 Cleanup the scsipi_xfer flags:
- `flags' is now gone, replaced with `xs_control' and `xs_status'.
- Massive cleanup of the control flags.  Now we explicitly say that
  a job is to complete asynchronously, rather than relying on side-effects,
  and use a new flag to now that device discovery is being performed.
- Do SCSI device discovery interrupt-driven.
1999-09-30 22:57:52 +00:00
thorpej
8bc5c71e5f Set the LED mode per the EEPROM on Macronix chips. 1999-09-30 22:28:11 +00:00
thorpej
30e63d853c Define flags in pci_attach_args which indicate it's okay to use the
Memory Read Line, Memory Read Multiple, and Memory Write and Invalidate
PCI commands.
1999-09-30 20:30:06 +00:00
thorpej
2492ffef4c Changes to get the Lite-On/Macronix 82C115 working:
- 82C115 has a 128-bit multicast hash table, not 512-bit.
- Correct the way the MAC address is read from the SROM, after re-reading
  the MX98715A Application Note.

Other semi-related changes:
- Differentiate between MX98715 and MX98715A.
- Improve the Macronix link-up/link-down detection.
1999-09-30 17:48:24 +00:00
thorpej
ac2360fb09 - Improve the comments that describe the various clone chips.
- Add some more Macronix register bits.
- Define the Lite-On/Macronix 82C115 ``PNIC II'' registers.
- Add the ADMtek AL981 PHY register bits.
1999-09-30 17:41:39 +00:00
ad
19bd684e8a - Remove a couple of items from the TODO list.
- Add a debug check to dpt_poll() (CCB must have CCB_PRIVATE set).
1999-09-30 17:15:54 +00:00
soren
1d04441597 Remove outdated list of density codes. mt(1) has helpful
hints and the SCSI specification has the real, current list.
1999-09-30 12:12:41 +00:00
thorpej
61e04b2510 Add link-up/link-down detection for the Macronix NWay block. 1999-09-30 00:07:29 +00:00
thorpej
9d911ccd55 Add some optional stats gathering, and fix tx stats counting; use the last
descriptor in the packet, not the first.
1999-09-29 23:11:36 +00:00
thorpej
be9104dd8d Define ANAR and ANLPAR bits that are used to negotiate the 802.3x PAUSE
feature.
1999-09-29 22:49:33 +00:00
thorpej
56fb88a64a Grumble, yet another chip-designers-and-manual-writers-disagree. Deal with
this by frobbing the 10TCTL register minimally, toggling only the bit we
care about (and hoping that link-capability advertisement happens correctly).

MX98715 can talk to the network now.
1999-09-29 22:07:47 +00:00
ad
122919c087 Install dptreg.h, dptvar.h. 1999-09-29 20:46:41 +00:00
ad
2bb59077e8 EISA frontend for DPT driver (as yet untested). 1999-09-29 20:38:51 +00:00
thorpej
e3398d3647 - Get a little closer on the Macronix chips. Still some more work to do.
- Add some basic support for the ADMtek AL981 clone (which, unfortunately,
  I can't test until my sample boards arrive).
1999-09-29 18:52:19 +00:00
thorpej
bbd3e72fbc - Add register definitions for the ADMtek AL981.
- Add a comment about the Macronix MX98713 -- it's almost exactly like
  a 21140A, and doens't have the Nway registers that the other Macronix
  chips have.
1999-09-29 18:50:39 +00:00
ad
f866a1af51 Regen. 1999-09-29 17:45:22 +00:00
ad
2abb3cfff1 - Add vendors: DPT, NEC, AT&T
- Add products: DPT, NEC and AT&T EATA SCSI adapters
1999-09-29 17:40:18 +00:00
ad
f6e42db75a - Move initial reset code into dpt_readcfg()
- Bus specific front-end is now responsible for reading EATA configuration
- EATA configuration data is now saved in the softc
- Make synchronous writes work properly
- Don't ignore HBA timeouts in dpt_cmd()
- Prefix eata_cfg's members with `ec_', not `dc_'
1999-09-29 17:33:02 +00:00
ad
51de3bc208 PCDISPLAY_SOFTCURSOR: remember state of cursor during full screen scroll. 1999-09-29 17:29:24 +00:00
ad
e2bdb5f380 PCDISPLAY_SOFTCURSOR: invert foreground too. 1999-09-29 17:26:06 +00:00
thorpej
1cb047331b Regen. 1999-09-29 00:20:25 +00:00
thorpej
33f02f24b7 - Add Sundance Technolgy vendor ID.
- Add Sundance Technolgy ST201 10/100 Ethernet product ID.
- Add D-Link DFE-550TX product ID (uses ST201 chip).
1999-09-29 00:19:51 +00:00
thorpej
e2504d1efc Regen. 1999-09-29 00:07:51 +00:00
thorpej
8f22cca8ea Add adaptec AIC-6915 10/100 Ethernet. 1999-09-29 00:07:15 +00:00
ad
9876b8900e - Fix some comments.
- Synchronous writes musn't linger in the HBA's cache.
1999-09-28 23:39:14 +00:00
ad
7064961321 - Add some profiling gunk.
- Add CCB_SYNC for CCBs where data must be written synchronously by the HBA.
1999-09-28 23:35:29 +00:00
thorpej
f134ebc280 Sync the ASCII Ethernet address decoder with mhzc.c. New version by
Chuck Cranor is more efficient and fixes a bug which would have caused
data corruption in some cases.
1999-09-28 23:20:42 +00:00
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