Commit Graph

6754 Commits

Author SHA1 Message Date
augustss 4e9e8e52f4 Change the test to check if transfers are done. The old test was broken
and sometimes reported transfers as done prematurely.
This fix seems to stabilize the Ethernet drivers.
2000-01-28 00:15:54 +00:00
augustss 3c27de72ac Fix typo in tailp bit defines. From Nick Hibma. 2000-01-28 00:11:38 +00:00
augustss 10dd6e61c3 Regen. 2000-01-28 00:09:19 +00:00
augustss d4dda219e1 Fix typo. 2000-01-28 00:08:57 +00:00
thorpej c74e0a8db2 Add detachment support to the MII layer. 2000-01-27 16:44:30 +00:00
enami cf83f4ae57 Use delay by default on hpcmips for now. 2000-01-27 01:05:17 +00:00
augustss e00a11df5e Make it easy to switch between using attribute memory and not. 2000-01-26 22:28:38 +00:00
thorpej b1ec3fa901 Give the ISV filter a chance to verify 21143 pass 4.1 SROMs before running
them through the quirk table.
2000-01-26 16:51:11 +00:00
thorpej 063cb5e5dc Additional hackery for the Cobalt interfaces. Even though these are
pass 4.1 21143s, they have a 128-byte SROM, and thus use a different
SROM address size than all other pass 4.1 21143s.

A plea to hardware designers -- *please* read application notes for
the components you're using before putting your hardware together.  Thanks.
2000-01-26 15:50:52 +00:00
augustss 57d2439d74 Try to avoid accessing the HC if it is dead. Suggested by mycroft. 2000-01-26 10:04:38 +00:00
haya 653eefc8f4 Add cardbus detach functionality. Add a function
cardbus_detach_card() in cardbus.c and enable detach code in cardslot.c
2000-01-26 09:04:59 +00:00
haya 639bd74d21 Pccbb manages interrupt handlers by itself for its child device. 2000-01-26 09:02:41 +00:00
thorpej 4656f0ba52 Remove the FreeBSD support from this file. It hasn't worked in FreeBSD
for some time, and only made the code harder to read.
2000-01-26 06:41:11 +00:00
thorpej 422cc09430 First attempt at a CardBus front-end for the `ahc' driver. This will
support the Adaptec ADP-1480 CardBus SCSI cards, which are a stright
AIC-7860 implementation.
2000-01-26 06:37:23 +00:00
thorpej 494b4a9ed3 Fix an oversight in the AIC-7xxx SEEPROM split. 2000-01-26 06:27:32 +00:00
thorpej a697dac5f2 Back out a change I didn't intend to commit. 2000-01-26 06:17:59 +00:00
thorpej 8949eab0cb Split the code that reads the SEEPROM into its own file. 2000-01-26 06:04:37 +00:00
augustss 3d3f376619 Print out what kind of card it is earlier and more accurately. 2000-01-26 02:25:47 +00:00
thorpej dc4e418fa6 Add the Linksys Etherfast 10/100. These are currently being rebadged
as the NetGear FA410TX 16-bit PC Card.
2000-01-26 01:27:12 +00:00
ad 62c4800e7f Argh - add initialization that got lost during editing of previous addition. 2000-01-26 01:23:32 +00:00
thorpej def54ed969 Regen. 2000-01-26 01:06:03 +00:00
thorpej a73e3e37b1 Add the Linksys Etherfast. 2000-01-26 01:05:23 +00:00
thorpej 2bd8866643 "i/o" -> "memory" 2000-01-25 23:23:48 +00:00
drochner 1f723151f2 use BUS_SPACE_MAP_PREFETCHABLE instead BUS_SPACE_MAP_CACHEABLE where the
PCI BAR bit is referred to
2000-01-25 22:32:20 +00:00
drochner 7360584deb use BUS_SPACE_MAP_PREFETCHABLE instead BUS_SPACE_MAP_CACHEABLE where the
PCI BAR bit is referred to
(XXX is the hack still necessary?)
2000-01-25 22:31:06 +00:00
drochner 4f1e715248 use BUS_SPACE_MAP_PREFETCHABLE instead BUS_SPACE_MAP_CACHEABLE where the
PCI BAR bit is referred to
2000-01-25 22:30:04 +00:00
thorpej 62fb37ba49 Some changes for the Xircom X3201-3 in 21143 emulation mode:
- The Xircom doesn't bring itself out of reset; we have to do it.
- The Xircom requires transmit buffers to be aligned to 4 bytes, too.

Partially from Rafal Boni (though the Tx buffer alignment issue is
handled much differently in this version).
2000-01-25 22:11:12 +00:00
soren 27cb56c54d Regen. 2000-01-25 21:58:59 +00:00
soren 8b39eb4d8e Add Digi International adapters. 2000-01-25 21:58:45 +00:00
soren a81c1788ab Regen. 2000-01-25 21:58:23 +00:00
soren 3a9b991c44 Add Lexar Media CF. 2000-01-25 21:58:06 +00:00
thorpej 701cc4b663 Add support for the Xircom X3201-3 in 21143 emulation mode. This chip
appears on some Xircom and Intel RealPort(tm) cards.

From Rafal Boni, with some slight modifications from me.
2000-01-25 21:50:30 +00:00
drochner e81d123f6d try to dtrt for sector sizes <DEV_BSIZE (at least, don't divide by 0) 2000-01-25 20:42:33 +00:00
thorpej 6dc0e3435d IFM_1000_FX -> IFM_1000_SX 2000-01-25 20:19:14 +00:00
thorpej 02af3f45b6 Clean up the SROM addrbits code a little. 2000-01-25 19:53:34 +00:00
chopps da499b1e3a make the wait_ready loop use pcic_delay() (thus tsleep) too for cards
that take a while to become ready
2000-01-25 19:38:18 +00:00
thorpej 6aca67041c Add a chip type for the Xircom X3201-3, and centralize the declaration
of the chip names array.
2000-01-25 19:29:17 +00:00
mycroft 3f72e2e3f9 Oops; fix a bug in the previous:
If one entry has the DL10019 bit set and another does not, don't fail
immediately if the checksum doesn't work.
2000-01-25 18:04:07 +00:00
augustss b9a4fe55b5 Switch the HSE and HCPE messages. Pointed out my mycroft. 2000-01-25 17:31:05 +00:00
itojun 9d17b2ca6a bring in stabilization codes in freebsd PAO/bsdi cnw driver.
- link integrity bit check.
- don't send too many packets, add some delay between them (this one is
  not enabled by default - try it if you see performance problem on
  heavy traffic)
2000-01-25 16:48:47 +00:00
thorpej c02060ba9b Regen. 2000-01-25 15:44:21 +00:00
thorpej d1c481fc31 Fix a typo. 2000-01-25 15:43:59 +00:00
mycroft e33c595472 Do a CARDBUS_BM_ENABLE just to be sure. 2000-01-25 15:29:43 +00:00
joda 492bfe70f3 get the device name from pcidevs instead of having a list here 2000-01-25 14:34:24 +00:00
augustss 0335569abc Make it compile even if you leave out the ucom attachment. 2000-01-25 13:56:23 +00:00
augustss a27ee91364 Remove an item. 2000-01-25 13:27:07 +00:00
augustss f0ebd281e5 Add done method for root control transfers. 2000-01-25 12:06:21 +00:00
augustss 73ce2abd33 Make sure PIRQD enable bit is set. From FreeBSD. 2000-01-25 11:26:06 +00:00
haya dccf05f858 Do pccbb_chipinit() after YENTA register space allocation.
Add TI PCI 1451 PCI-CardBus entry.
2000-01-25 09:36:43 +00:00
enami b1f85ee905 Don't put leading space, otherwise diskerr() prints unnecessary space
like this:
wd0h:  aborted command reading fsbn 650256 of 650256-650271 (wd0 bn 839056; cn 888 tn 13 sn 17), retrying
2000-01-25 09:33:12 +00:00