thorpej
3939c2a6c7
Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
...
controller.
2001-07-25 00:11:51 +00:00
bouyer
aa053c0bd1
Regen for TITAN PCI100H.
2001-07-23 20:14:36 +00:00
bouyer
d2039a5f9b
Add TITAN PCI100H.
2001-07-23 20:13:26 +00:00
thorpej
bd35a1b7ed
Make sure to initialize the all Rx descriptors properly in *_init()
...
even if mbufs for them are already allocated.
2001-07-23 17:26:50 +00:00
thorpej
536f4fded2
Adjust some reset delays.
2001-07-23 17:23:09 +00:00
bouyer
ecbce129cb
Handle HPT-370A controllers, from skanto@sjk-software.fi (kern/13540) but
...
with some differences to the original patch: don't assume all controllers with
rev >= HPT370_REV are HPT370, and explicitely print if we have a chip with a
rev the driver does't know.
2001-07-23 14:55:26 +00:00
itojun
93a890b609
it seems that pp_{up,down} code does not really help, since (1) sppp_ioctl
...
calls lcp.{Up,Down} by itself, and (2) as lmc driver uses interrupt to
get the card initialization callback lcp calls from sppp_ioctl
does not really work. for chdlc pp_{up,down} are not really necessary so
don't bother (#if 0'ed).
2001-07-19 19:15:13 +00:00
kleink
d775ce82eb
Hint BUS_DMA_READ and BUS_DMA_WRITE.
2001-07-19 17:47:18 +00:00
kleink
1bd93b6232
Hint BUS_DMA_READ and BUS_DMA_WRITE.
2001-07-19 17:19:40 +00:00
itojun
b66f433b03
sync with latest Linux driver, avoid framing error on LMC1200 (T1/E1).
...
from hal@vailsys.com
2001-07-19 17:02:05 +00:00
thorpej
44e529fecc
Use BUS_DMA_READ and BUS_DMA_WRITE in some obvious places.
2001-07-19 16:36:14 +00:00
itojun
e13c617dee
do not call pp_{up,down} on cisco HDLC mode, it seems that
...
sys/net/if_spppsubr.c does not like it.
XXX api clarification needed...
2001-07-19 16:30:52 +00:00
itojun
639dfc8d8f
readability changes (s/0/LMC_LINK_DOWN/, whitespace)
2001-07-19 16:14:50 +00:00
itojun
abd116eff5
- on IFF_UP change, inform sys/net/if_spppsubr.c of the change so that
...
we can run LCP and subsequent PPP negotiation.
- suppress too noisy printf() for about AIS event (if you remove the cable,
it will bark forever).
- sppp_dequeue() can return NULL even when sppp_isempty() is false, so check
it and do not deref NULL pointer.
- sppp_flush() on LMC interface shutdown.
- prepare to change BPF type on the fly (bpf_change_type).
2001-07-19 15:38:17 +00:00
thorpej
17538b3790
Costmetic change.
2001-07-18 01:10:09 +00:00
elric
99e8b114e0
So, the PowerStorm 4d20 a.k.a. 32bit TGA2 w/ IBM RGB561 RAMDAC was causing
...
the kernel to panic since it is recognised as a TGA and the TGA driver
doesn't [yet] know what to do with it.
This patch fixes that by:
o making tgamatch() try to actually figure out what kind
of TGA card is there, rather than simply relying on the
vendor/product ids.
o creating a tga_cnmatch() so that the console code in
arch/alpha/pci/pci_machdep.c can cause the same to occur.
o breaking up some of tga_getdevconfig() into a few different
functions to re-use code that would have been duplicated.
o changed arch/alpha/pci/pci_machdep.c so that it calls out
to tga_cnmatch() if DEVICE_IS_TGA() matches before it decides
to attach the console as a TGA.
Addresses PR: port-alpha/12923
2001-07-16 00:55:16 +00:00
mrg
0b1849a71a
don't try to print pcitag_t values; these are opaque values that should not
...
be interpreted by MI code.
2001-07-11 08:36:46 +00:00
thorpej
3d98de578f
Remove unnecessary include files. From Onno van der Linden.
2001-07-08 17:55:50 +00:00
thorpej
bc5d06ea08
Some cosmetic shuffling.
2001-07-08 17:15:45 +00:00
thorpej
9de94b45cc
Fix a very, very dumb mistake that broke multicast on the dp83815
...
and dp83820.
2001-07-08 16:56:50 +00:00
thorpej
62794086ea
Change the structure of dp83815_set_filter ever so slightly.
2001-07-07 17:37:39 +00:00
thorpej
7e92a47db9
bcmp -> memcmp
2001-07-07 16:47:43 +00:00
thorpej
51e70f6731
bzero -> memset
2001-07-07 16:46:34 +00:00
thorpej
80f54c0005
bcopy -> memcpy, strcpy
2001-07-07 16:40:23 +00:00
thorpej
46909109f4
bcopy -> strcpy
2001-07-07 16:39:16 +00:00
thorpej
008dd21471
bcopy -> memcpy
2001-07-07 16:37:38 +00:00
thorpej
dfd7f38a43
Remove config glue for the old `ncr' driver.
2001-07-07 16:34:33 +00:00
thorpej
444f8e5f30
Remove the old NCR 53c8xx driver. It no longer compiles (it was not
...
updated for the thorpej_scsipi branch), and has been replaced by Manuel's
MUCH BETTER `siop' driver.
The code can still be referenced by using cvsweb, checking out an
old revision, whatever. But it's no longer useful to have it appear
in a checked out source tree.
2001-07-07 16:20:55 +00:00
thorpej
9ec2341af3
Add support for jumbo Ethernet frames on the DP83820.
2001-07-07 02:32:38 +00:00
thorpej
cf65d4738c
Add a bunch of Vital Product Data definitions.
2001-07-06 20:20:55 +00:00
mcr
ddb7c50037
added bridge secondary bus reset macros.
2001-07-06 18:07:16 +00:00
mcr
aa7bfea672
split pccbb_intr_route() into seperate function.
2001-07-06 18:06:59 +00:00
thorpej
583274a82c
For product names that include the media in the name, don't bother
...
saying "Gigabit".
2001-07-05 21:27:31 +00:00
toshii
4866f1a22b
Fix typo. s/extention/extension/
2001-07-05 08:38:24 +00:00
thorpej
d79f9adc90
Add another Lava serial board.
2001-07-04 22:39:11 +00:00
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
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
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
thorpej
46e1a51e62
Add Tamarack Microelectronics, Inc. vendor ID, and product ID for
...
Tamarack TC9021 Gigabit Ethernet.
2001-06-28 04:45:09 +00:00
mcr
656bb8c5c7
added Solidum PAX.ware 1100 and Lucent ORCA PCI targets
2001-06-27 17:57:23 +00:00
bouyer
db6d5fc4a7
When setting/changing an address, no need to call ti_init() if the interface
...
is already up.
Especially this allow netatalk to start properly on a ti interface.
2001-06-27 16:47:33 +00:00
elric
e2f7c01bbd
This was able to crash my new alpha consistently when I started X.
2001-06-24 01:11:08 +00:00
bouyer
8a46c28bc6
Proper media support for Compaq Deskpro 4000. PR kern/13244 from
...
Andrew Gillham.
2001-06-21 16:33:33 +00:00
thorpej
ae2fb7473c
Regen; add/update 3Com 3CR990 products.
2001-06-20 19:52:19 +00:00
thorpej
8e15530e96
Add more/update existing 3Com 3CR990 product IDs.
2001-06-20 19:51:12 +00:00
thorpej
08415c62e6
Regen; add SysKonnect SKNET-GE.
2001-06-20 16:33:10 +00:00
thorpej
70bbf8c3aa
Add SysKonnect SKNET-GE (GEnesis Gigabit Ethernet).
2001-06-20 16:32:32 +00:00
imp
c633f47bfd
Regen.
2001-06-20 05:46:24 +00:00
imp
34fe57df0e
Add O2Micro PCI-{CardBus,PCMCIA} bridges:
...
OZ6729, OZ6730, OZ6832/OZ6833, OZ6860 and OZ6812/OZ6872
2001-06-20 05:44:33 +00:00
thorpej
7e843c3ccb
Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
...
chip is found on the D-Link DFE-550TX.
2001-06-19 23:00:47 +00:00
thorpej
62224968e1
Add support for the Adaptec AIC-6915 10/100 Ethernet. This is
...
a 64-bit PCI chip, available in 1, 2, and 4 port models.
2001-06-18 22:05:35 +00:00
onoe
c07d2e1e96
Add Cisco/Aironet 350
...
Reported by Wolfgang Rupprecht <wolfgang@wsrcc.com>.
This doesn't fix PR 13181, which says the card doesn't work well.
2001-06-18 13:21:24 +00:00
onoe
e523b2f091
regen: Add Cisco/Aironet 350
2001-06-18 13:19:07 +00:00
onoe
61285ac2da
Add Cisco/Aironet 350
2001-06-18 13:18:08 +00:00
jdolecek
e65b619faa
Convert to use ether_ioctl() for SIOCSIFADDR and SIOCSIFFLAGS.
2001-06-18 11:06:26 +00:00
simonb
1506d21315
Make error checking/reporting a little more correct.
2001-06-18 01:58:08 +00:00
tsubai
de98ab5b38
Regen.
2001-06-17 19:51:27 +00:00
tsubai
b63b6d01e6
Add device IDs on the new iBook.
2001-06-17 19:50:33 +00:00
mjacob
60a0137d9c
Ooops- we need to allocate an array of pointers to scsipi_xfer structures
...
isp_maxcmds in length- not an array of scsipi_xfer structures isp_maxcmds
in length.
2001-06-14 19:54:07 +00:00
thorpej
3078a3d26d
It's pretty questionable to printf a PCI tag, but if we're going to
...
do so, at least make the printf compile across the board.
2001-06-14 01:06:56 +00:00
wiz
c03a48d64f
withough -> without
2001-06-13 10:45:57 +00:00
scw
e13606c37b
Workaround for buggy OPTi pciide chipset revisions, as reported
...
in PR/11644.
2001-06-13 09:55:25 +00:00
simonb
6c4e6292a5
Regen; add IBM 405GP PCI Bridge & ROB-in i960RP Microprocessor.
2001-06-13 06:04:25 +00:00
simonb
18b2f7e6a1
Add a port to IBM's PPC405GP Reference Board (the "walnut")
...
by Eduardo Horvath and Simon Burge of Wasabi Systems.
IBM 4xx series CPU features:
- New pmap and revised trap handler.
- Support on-chip timers, PCI controller, UARTs
- Framework for on-chip ethernet and watchdog timer.
General PowerPC features:
- Add in-kernel PPC floating point emulation
- New in{,4}_cksum that is between 1.5 and 5 times faster than the
old version depending on CPU type.
General changes:
- Kernel support for generic dbsym-style symbols.
2001-06-13 06:01:44 +00:00
thorpej
9988acd41e
Don't need INET or NS includes here.
2001-06-12 22:28:15 +00:00
thorpej
e103dbb4b0
Don't need NS-related headers here.
2001-06-12 22:05:53 +00:00
wiz
0a600be867
receive, not recieve
2001-06-12 15:17:10 +00:00
thorpej
fb2f3ce7e5
Regen; Add Level One vendor ID, and LXT-1001 10/100/1000 Ethernet
...
product ID.
2001-06-11 21:13:49 +00:00
thorpej
ec5280c1ed
Add Level One product ID, and LXT-1001 10/100/1000 Ethernet
...
product ID.
2001-06-11 21:12:29 +00:00
tron
a4401a8e5d
Regen from "pcidevs".
2001-06-11 06:36:51 +00:00
tron
6caf1041cb
Add support for the D-Link DFE-530TX+. Patch supplied by
...
Gabriel Rosenkoetter in PR kern/13161.
2001-06-11 06:36:23 +00:00
ad
bfac43a1c8
Centralise the geometry fudge.
2001-06-10 10:48:42 +00:00
simonb
e5bd00e48d
For ports that wire up pciide in compatibility mode, have
...
them define __HAVE_PCIIDE_MACHDEP_COMPAT_INTR_ESTABLISH
in pci_machdep.h and pciide_map_compat_intr() only calls
pciide_machdep_compat_intr_establish() if that preprocessor
define exists.
Ports that don't need to do this no longer need to supply a
dummy function.
2001-06-08 04:48:54 +00:00
bouyer
df4739c8cb
Set TI_OPMODE_1_DMA_ACTIVE only if hardware assisted checksum isn't used
...
(FreeBSD does it this way). My Tigon II works with hardware assisted checksum
now.
2001-06-07 14:35:58 +00:00
tsutsui
bcdd082840
Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
...
Based on OpenBSD's iha driver, and modified some structures by me.
Tested on arc, i386 and macppc.
2001-06-03 13:43:45 +00:00
thorpej
cc3002d53b
Clarify a historical comment.
2001-06-03 03:55:10 +00:00
thorpej
f75e45c854
In ti_init2(), use a simpler, more obvious, and correct MTU
...
calculation to give the firmware.
2001-06-03 03:46:43 +00:00
thorpej
f2b9a1f3cc
Replace a bunch of home-grown Ethernet related constants with
...
ones defined in <net/if_ether.h>
2001-06-03 03:29:44 +00:00
thorpej
ca4d373730
Implement support for IP/TCP/UDP checksum offloading provided by
...
network interfaces. This works by pre-computing the pseudo-header
checksum and caching it, delaying the actual checksum to ip_output()
if the hardware cannot perform the sum for us. In-bound checksums
can either be fully-checked by hardware, or summed up for final
verification by software. This method was modeled after how this
is done in FreeBSD, although the code is significantly different in
most places.
We don't delay checksums for IPv6/TCP, but we do take advantage of the
cached pseudo-header checksum.
Note: hardware-assisted checksumming defaults to "off". It is
enabled with ifconfig(8). See the manual page for details.
Implement hardware-assisted checksumming on the DP83820 Gigabit Ethernet,
3c90xB/3c90xC 10/100 Ethernet, and Alteon Tigon/Tigon2 Gigabit Ethernet.
2001-06-02 16:17:06 +00:00
ad
f4afeda420
Reduce the delay when polling so that dumps go faster.
2001-05-31 11:31:43 +00:00
nisimura
e7c225d7b2
Regen; product IDs for IDT RC32334 and RC32332 systeml controllers.
2001-05-31 01:13:33 +00:00
nisimura
811d8d9102
Add product IDs for IDT RC32234 and RC32334 system controllers.
2001-05-31 01:10:34 +00:00
bouyer
6973b27309
Uninitialised variable (from Krister Walfridsson): in acard_chip_map()
...
drop compatchan and use the real channel number instead.
2001-05-30 20:30:02 +00:00
lukem
d84d2c6c85
add missing #include "opt_kgdb.h"
2001-05-30 15:24:23 +00:00
mrg
c13e3a6693
use _KERNEL_OPT
2001-05-30 11:40:35 +00:00
thorpej
ebf9e47c26
Add quirks for the Algorithmics P-5064 on-board 21143, and a way to
...
get the Ethernet address from it (they don't have an SROM).
XXX The latter should be replaced with devprops when they exist.
2001-05-27 21:00:33 +00:00