Commit Graph

3388 Commits

Author SHA1 Message Date
thorpej
0ee518aff8 Print out a bit more information about which part is present at attach
time, generally tidy up autoconfiguration messages.
2003-08-28 01:53:06 +00:00
fvdl
7674ed5fa0 Support the BCM5704C rev 3. From Nicolas Joly, PR 22620 2003-08-27 23:13:50 +00:00
thorpej
0f48886732 Fix some diagnotic printfs. 2003-08-27 22:07:57 +00:00
kleink
7433b99634 Regen. 2003-08-27 14:27:12 +00:00
kleink
e33a696688 While here, add the AMD8111's ACPI controller. 2003-08-27 14:21:51 +00:00
kleink
bfd961d6f6 Add AMD8111 USB and SMBus controller IDs; from Nicolas Joly in kern/22617. 2003-08-27 14:13:10 +00:00
jdolecek
5d07f1b919 retain the FreeBSD RCS Id for xmaciireg.h for reference 2003-08-26 21:14:08 +00:00
jdolecek
00603e639b Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler
2003-08-26 21:11:00 +00:00
jdolecek
72e5c7ee1b regen: add SysKonnect 9821 2003-08-26 21:02:22 +00:00
jdolecek
a22db7c69f add SysKonnect SK9821 2003-08-26 21:01:35 +00:00
tron
e1ab9f5a04 Rework support for i845, i865 and i875P. agp(4) now doesn't "kill" the
i82547EI on my i865PE motherboard any longer.
2003-08-26 18:43:54 +00:00
tron
57c82d6312 Add support for i865G integrated graphics support to agp(4). Patches
contributed by Michael D. Allen in PR port-i386/22600.
2003-08-26 17:33:22 +00:00
tron
18b670bcac Replaces space with tabs. 2003-08-26 17:28:13 +00:00
tron
f08364a168 Regen. 2003-08-26 17:25:32 +00:00
tron
b411fda654 Add entry for Intel i865G Integrated Graphics Device. 2003-08-26 17:25:00 +00:00
hannken
26d8cfe506 Finish last commit (Make this compile with options DEBUG).
NetBSD has no M_WRITABLE().
2003-08-26 10:17:02 +00:00
itojun
6d223cc3a4 KNF 2003-08-25 20:36:47 +00:00
tron
6948b33a95 Add a missing blank line between two functions. 2003-08-24 09:38:53 +00:00
cjep
a94f967897 Make this compile with options DEBUG (part of PR#22582 from Frank Kardel). 2003-08-23 20:37:18 +00:00
dogcow
80f2705ab1 regen (add VIA VT6105) 2003-08-23 00:14:42 +00:00
dogcow
171b7c3fa5 add VT6105 support to vr(4) 2003-08-23 00:14:28 +00:00
jonathan
215937cb45 Check in hooks to fix checksum offload on bge devices. Empirical
observation is that some 570x devices can get themselves into a state
where they miscompute off-loaded TCP or UDP checksums on packets so
small that Ethernet padding is required.  Further obsevation suggests
that the bge checksum-offload hardware is adding those padding bytes
into its TCP checksum computation. (Once a 5700 gets in this state,
even a warm boot won't fix it: it needs a hard powerdown.)

Work around the problem by padding such runts with zeros: even if the
checksum-offload adds in extra zeros, the resulting sum will be correct.

Also, dont trust the checksum-offload on received packets smaller than
the minimum ethernet frame, in case the Rx-side has a similar bug.

Finally, on packets where we do trust the outboard Rx-side TCP or UDP
checksum, the bge did not include the pseudo-header. Set the
M_CSUM_NO_PSEUDOHDR bit as well as M_CSUM_DATA, and rely on
udp_input() or tcp_input() adding in the sum via in_cksum_phdr().
2003-08-22 03:32:35 +00:00
jonathan
25eeb02c06 Fix a bug in compaction of `DMA runt' fragmented packet chains:
if we m_dup() a packet to compactify it, and later run out of DMA
descriptors, bge_encap() will return ENOBUFS, hoping the driver will
try again later.  But we have just m_freem()'d the original chain
which was m_dup()'d, leaving a pointer to the just-freed packet header
in the tx queue.

Fix by always walking the chain, shuffling data towards the head;
except if we find a runt in the very last mbuf, we must borrow data
from its predecessor.

(Patch is verbatim from a third-party tree, apologies for any style woes.)
2003-08-22 03:03:20 +00:00
jonathan
9dbddd495b Remove #ifdef _OpenBSD__ code which sets the softc pointer `sc' by
passing an index into ubsec_cd.cd_devs[]: that causes too much
confusion with the checks that sc is non-null.
2003-08-21 20:00:15 +00:00
jonathan
65d419641b regen from pcidevs 1.567 with fix for typo in bcm5823 product-id. 2003-08-20 22:58:22 +00:00
jonathan
fcc087c11d Fix typo (s/5822/5823/) in line for bcm5823 device. 2003-08-20 22:56:13 +00:00
drochner
544307ba64 make the vlan stuff work 2003-08-20 17:41:38 +00:00
erh
a22558465d Add entry for Intel 82801EB AC-97 audio. Audio sounds fine with this,
although the mixer settings are a bit odd: outputs.master doesn't do anything,
but outputs.surround does.
2003-08-19 21:04:22 +00:00
taca
88b2ae484d make ahc(4) to recognize Adaptec 2915LP Ultra160 SCSI adapter. 2003-08-18 09:16:22 +00:00
itojun
dc4bf37abf support new quirk bits on debug output 2003-08-18 05:39:07 +00:00
chs
0e431087e5 regen 2003-08-17 18:06:22 +00:00
chs
b27931b073 add the uninorth ATA found in the latest G4s, and a highpoint IDE. 2003-08-17 18:03:29 +00:00
bouyer
1f8e327374 Add support for VIA VT8237 (KT600) IDE controller. From Stephen Degler in
PR port-i386/22453.
2003-08-17 15:52:06 +00:00
bouyer
104faa2485 Regen: Add 3com 3c940 Gigabit Ethernet, and VIA KT600 PCI devices. 2003-08-17 15:48:41 +00:00
bouyer
1a1c011785 Add 3com 3c940 Gigabit Ethernet, and VIA KT600 PCI devices. From Stephen Degler
in PR port-i386/22453
2003-08-17 15:47:11 +00:00
itojun
f80fd2c5ea accept 1518-byte frames (needed for vlan). Valtteri Vuorikoski 2003-08-15 07:29:34 +00:00
itojun
c2ab035d77 - check HDRTYPE early, and ignore if it is not supported (n > 2).
- defer access to interrupt configuration register, as its existence depends on
  HDRTYPE.
- add "skip particular funtion in multifunction device" functionality
  to quirk table.
- add GEODE/NS SC1100 quirk (now boots on soekris Net4801).
2003-08-15 07:17:21 +00:00
itojun
277f295364 regen 2003-08-14 23:39:47 +00:00
itojun
7f5e474ef7 s,PCI/ISA,PCI-ISA, 2003-08-14 23:39:22 +00:00
itojun
17b77b454e add National Semiconductors SC1100 (GEODE) PCI devices. 2003-08-14 23:38:34 +00:00
nonaka
fcfc3fe7cb Add support for another Intel Pro/100 variant. 2003-08-14 07:59:39 +00:00
tls
062dab3c81 Remove RND_FLAG_NO_ESTIMATE and comment claiming we can't estimate (which
means "count", in this context) the entropy we're adding because we poll the
device periodically.  Sure, we poll it periodically, but it's a hardware
RNG -- the data returned should be random no matter when we read the
register!
2003-08-12 09:46:46 +00:00
bouyer
395a6a0006 Corect offset for the promise "magic registers" (it depends on channel number).
This makes cable detect work properly for newer promise (pdc268 and newer).
2003-08-10 14:51:55 +00:00
jonathan
3a6b5e631c Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver. 2003-08-08 20:46:09 +00:00
agc
aad01611e7 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
wiz
510efbe0a6 regen (fix ID of Radeon 9100 Secondary) 2003-08-07 05:35:36 +00:00
wiz
3bd8bc4f5c Fix ID of Radeon 9100 Secondary; noted by Quentin Garnier. 2003-08-07 05:35:04 +00:00
mjacob
543f393343 Add in changes from Matt Thomas to check for 64 bit PCI stuff.
Note that a Qlogic 1020 is Fast Wide, not Ultra Fast Wide.
2003-08-07 01:05:56 +00:00
jdolecek
d2041674e6 tweioctl(): store the result of twe_param_get() directly to the right
variable rather than using (void *) temporary
should fix strict aliasing warning of gcc 3.3
2003-08-03 18:45:46 +00:00
wiz
972f20179d regen (avoid duplicate definition, PR 22331) 2003-08-01 11:55:42 +00:00