Commit Graph

10610 Commits

Author SHA1 Message Date
bouyer
1c51ff8336 Better fix for rev 1.94 (disable UDMA for SiS controllers with rev 0xd0):
Different chipsets have the same vendor/device/rev ID for the IDE controller,
but only one of them is buggy. So check dev/rev ID of the function 0
(pchb on the buggy one) of the same device to detect the buggy controller.
2001-07-04 16:26:17 +00:00
augustss
020d906c3a Null a pointer on error return. 2001-07-04 16:23:40 +00:00
bjh21
e02efcb8cc Add support for Oak and HCCS SCSI cards fitted with PowerROMs. Since this
depends on podloader support, it won't work on arm32 yet.
2001-07-04 15:01:08 +00:00
bjh21
fd74cdde9d Remove mistaken commit of "ethsc" reference. 2001-07-04 14:33:43 +00:00
ad
86e7fe72a4 Don't print the module description, since it doesn't mean much. 2001-07-04 14:17:58 +00:00
bjh21
3b7905c66f podulebus and podloader are now MI. 2001-07-04 13:58:45 +00:00
bjh21
b8a09ee766 Add dummy "podloader" functions on arm32, and move their declarations to the MI
header file.  This should allow MI drivers to use the podloader functions,
though obviously they'll have to be able to cope if podulebus_initloader()
fails.
2001-07-04 13:58:04 +00:00
bjh21
0be64cc691 Move "podulebus" and "podloader" declarations up into files.podulebus. 2001-07-04 13:49:24 +00:00
jdolecek
6d63e5d890 g/c WE_FLAGS_*, use DP8390_FORCE_{8|16}BIT_MODE instead WE_FLAGS_*
counterpart. Fixes kern/7295 by Martin Husemann.
2001-07-04 11:14:10 +00:00
uch
fd2c055c01 add MEMORY_DISK_DYNAMIC option. if enable MEMORY_DISK_DYNAMIC, file
system image's address and size are setted by md_root_setconf().
2001-07-02 17:17:23 +00:00
onoe
ff12a4271a performance improvement in fwohci_pkt_get() for asynchronous read. 2001-07-02 11:12:09 +00:00
onoe
a924a0db99 set/reset low level receive handler according to IFF_UP flag of network
interface.
2001-07-02 10:46:03 +00:00
onoe
3a2ef358d9 fix typo: CLear -> Clear 2001-07-02 02:36:48 +00:00
onoe
7605dd5368 FW_DEBUG only: move descriptor dump from DPRINTFN(1) to DPRINTFN(2).
fix indent in packet dump.
2001-07-02 02:26:40 +00:00
thorpej
e00f3a5560 Remove unneeded include files. From Onno van der Linden. 2001-07-01 16:35:36 +00:00
uwe
87345845e1 Make mhzc_alloc_ethernet search the right address range.
Fixes: kern/11451.
Reviewed by: thorpej
2001-07-01 02:16:25 +00:00
gmcgarry
52f5073f28 Jumbo patch:
- data alignment fix
- kludge around broken multicast by using promisc mode
  (IPv6 router solicitation now works)
- add support as random source
- support device power-up and power-down
- vlan support
- misc. comment and style fixes
2001-07-01 01:57:29 +00:00
gmcgarry
a48df4b355 Garbage-collect unneeded rnd.h include. 2001-07-01 01:50:05 +00:00
thorpej
4f9dcdfb8a Split the receive interrupt handler into two versions, one for the
SiS900/DP83815, one for the DP83820.  In preparation for changes
to the DP83820 version for handling jumbo Ethernet frames.
2001-06-30 22:35:05 +00:00
tron
29dc8fc7e3 Install "dev/tc/sfbreg.h" which is required for building the Alpha X11
server.
2001-06-30 21:16:52 +00:00
bjh21
8d829065a6 IFM_1000_TX -> IFM_1000_T, as (breifly) discussed on tech-net. 2001-06-30 17:53:58 +00:00
thorpej
4e30120ef0 Sync the Tx descriptors pre- and post- on the Tigon 2. 2001-06-30 17:02:54 +00:00
thorpej
f1ea6f5be0 When we're done setting up the General Information Block, sync it.
Sync the NIC-maintained stats structure as appropriate, as well.
2001-06-30 16:34:59 +00:00
thorpej
c05a96f530 Add macros to sync the various bits of the DMA'd control data. 2001-06-30 15:57:58 +00:00
thorpej
d2a3ac835c Use macros (like those in every other network driver I have written)
to compute the offset of a structure in the DMA'd control data, and
the DMA address of that structure.
2001-06-30 15:39:51 +00:00
thorpej
83b199c106 Split the tx-end-of-frame routine into Tigon 1 and Tigon 2 verions,
for the same reason we split the tx encap routine.
2001-06-30 14:56:59 +00:00
thorpej
ee9c81dd38 Split the transmit encap routine into two versions: one for the Tigon 1
and another for the Tigon 2.  This eliminates a conditional in the
loop around the DMA segments, and will make further cleanup easier.
2001-06-30 14:47:23 +00:00
thorpej
291a21d3fb Move the `ti_tx_ring_nic' pointer out of the ring-data structure
and into the softc.  Garbage-collect the `ti_cmd_ring' pointer,
since bus_space is properly used to access the command ring.
2001-06-30 14:16:55 +00:00
thorpej
6237e487ab When a transmit is complete, sync (and unload!!) the DMA map used
for the packet.  When setting up a packet for transmit, sync the
DMA map being used.
2001-06-30 05:48:24 +00:00
thorpej
17238bfd2b Move the Tigon/Tigon2 firmware, version 12.4.13+wpaul, to a
more appropriate location.
2001-06-30 04:33:11 +00:00
thorpej
2642760b40 Update for D-Link ST201 change. 2001-06-30 01:05:25 +00:00
thorpej
cdfa27aeeb Regen. 2001-06-30 01:04:25 +00:00
thorpej
9556d5b2f9 Change the DLINK ST-201 entry, add more Sundance/DLINK Gig-E
products.
2001-06-30 01:03:59 +00:00
thorpej
f6bce1a60b Correct spelling of media in the product names. 2001-06-29 23:58:08 +00:00
thorpej
abda6184c0 In the `copy small' path, make sure to align the payload. 2001-06-29 23:36:03 +00:00
onoe
3fc5f5722d Fixes to make if_fw work:
- fwohci_arrq_input: Do not return if next packet is in the buffer,
    or the next packet cannot be received until the next receive interrupt.
- fwohci_uid_collect: XXX change M_WAITOK to M_NOWAIT for now, since there is
    no lock but only one instance must be allowed here.
  split fwohci_uid_req() and retry to get uid.
    XXX need timer to wait some moment between retries...
- Add DELAY(10) for wait loop.
- split fwohci_buf_stop() into _stop_tx() and _stop_rx() because receiver
    should not be stopped at bus-reset.
- split fwohci_buf_input() into _input() and _input_ppb() to improve
    performance slightly.
2001-06-29 14:57:24 +00:00
christos
d136cfe99e regen 2001-06-29 14:57:17 +00:00
christos
8b753a3651 PR/13337: de SAINT LEGER Rodolphe: Add support for the cn40bc ne clone. 2001-06-29 14:56:21 +00:00
onoe
8601a37f8c Protect to call fw_start() recursively. 2001-06-29 14:46:54 +00:00
onoe
5cf8e98cb5 Experimental support for LEAP, which is cisco's implementation of IEEE802.11
EAP in aironet firmware.  Currently it seems that only cisco's RADIUS server
implements EAP for IEEE802.11, and the function is not tested at all.
2001-06-29 11:24:42 +00:00
jmc
4b9b2bd56c Add some additional values to the keyvalue list from draft specs as some roms are using these and it would be nice to be able to identify them 2001-06-29 04:52:35 +00:00
tsutsui
c025feaea0 Add iha(4) 2001-06-28 15:46:00 +00:00
onoe
e88b10865c simplify and localize to access sc_intmask in fwohci_event_thread(). 2001-06-28 14:41:28 +00:00
onoe
3ad99107cb Simplify to update sc_intmask in fwohci_intr(). 2001-06-28 14:38:56 +00:00
onoe
a0eef76f35 FW_DEBUG: split debug printf in fwohci_intr() and fwohci_phy_input() into
fwohci_show_intr() and fwohci_show_phypkt() respectively.
2001-06-28 14:37:56 +00:00
onoe
e7e0a9984c Do not re-enable the driver after resume if the interface is marked down.
Change the first argument of awi_init/awi_stop from struct awi_softc to
struct ifnet to match the definition if_init/if_stop, though we don't
use ether_ioctl() yet.
2001-06-28 10:40:04 +00:00
onoe
950ec87b20 Do not re-enable after resume if interface is marked down. 2001-06-28 10:34:17 +00:00
thorpej
46e1a51e62 Add Tamarack Microelectronics, Inc. vendor ID, and product ID for
Tamarack TC9021 Gigabit Ethernet.
2001-06-28 04:45:09 +00:00
ross
f54fe9f3b1 compile tweak for non-SCSIVERBOSE 2001-06-27 23:14:26 +00:00
nathanw
67bde7ddf3 The back end driver doesn't need PCMCIA headers, but it does need
<machine/bus.h>.
2001-06-27 22:22:12 +00:00