freebsd-skq/sys
yongari 51ae556c09 It seems some newer RTL8139 controllers provides only memory space
register mapping. I'm not sure whether it comes from the fact that
controllers live behind certain PCI brdge(PLX PCI 6152 33BC) and
the bridge has some issues in handling I/O space register mapping.
Unfortunately it's not possible to narrow down to an exact
controller that shows this issue because RealTek used the same PCI
device/revision id again. In theory, it's possible to check parent
PCI bridge device and change rl(4) to use memory space register
mapping if the parent PCI bridge is PLX PCI 6152. But I didn't try
to do that and we wouldn't get much benefit with added complexity.

Blindly switching to use memory space register mapping for rl(4)
may make most old controllers not to work. At least, I don't want
to take potential risk from such change. So use I/O space register
mapping by default but give users chance to override it via a
tunable. The tunable to use memory space register mapping would be
given by adding the following line to /boot/loader.conf file.

dev.rl.%d.prefer_iomap="0"

This change makes P811B quad-port work with this tunable.

Tested by:	Nikola Kalpazanov ( n.kalpazanov <> gmail dot com )
MFC after:	1 week
2010-08-22 21:26:35 +00:00
..
amd64 Revert part of the r211149 as I erroneously ported the logical_cpus from 2010-08-19 22:37:43 +00:00
arm Supply some useful information to the started image using ELF aux vectors. 2010-08-17 08:55:45 +00:00
boot Make sure the boot2 stage is compiled with gcc, as clang has no 2010-08-21 15:01:59 +00:00
bsm
cam Revert r211434. Offline discussions have convinced me that this should 2010-08-20 17:20:05 +00:00
cddl Port this to FreeBSD. We miss some suword functions, so we use copyout. 2010-08-22 11:41:06 +00:00
compat Supply some useful information to the started image using ELF aux vectors. 2010-08-17 08:55:45 +00:00
conf FPU EMU is 32-bit only for now, so mark it as a powerpc-only feature. 2010-08-20 01:23:17 +00:00
contrib Merge ACPICA 20100806. 2010-08-06 23:11:19 +00:00
crypto Crypto(4) driver for AESNI. 2010-07-23 11:00:46 +00:00
ddb One more use for _SIG_VALID. 2010-07-12 10:18:10 +00:00
dev It seems all Broadcom controllers have a bug that can generate UDP 2010-08-22 01:39:09 +00:00
fs Introduce and use devfs_populate_vp() to unlock a vnode before calling 2010-08-22 16:08:12 +00:00
gdb
geom Remove bintime_cmp() function, unused since r200086. 2010-08-18 15:38:10 +00:00
gnu Add dedicated routines to toggle lockmgr flags such as LK_NOSHARE and 2010-08-20 19:46:50 +00:00
i386 Revert part of the r211149 as I erroneously ported the logical_cpus from 2010-08-19 22:37:43 +00:00
ia64 Remove unused KTRACE includes. 2010-08-19 16:41:27 +00:00
isa When we are not switching VTs, just mark all buffer to be updated. 2010-07-15 23:11:51 +00:00
kern Call the systrace_probe_func() when the error value. 2010-08-22 11:30:49 +00:00
kgssapi
libkern Provide memchr() in the libkern. 2010-06-02 17:27:23 +00:00
mips Migrate if_arge to use the PLL cpuops. 2010-08-19 16:29:08 +00:00
modules Remove an elif and add an or-clause. 2010-08-22 11:12:07 +00:00
net Add an extra comment to the SDT probes definition. This allows us to get 2010-08-22 11:18:57 +00:00
net80211 Wrap remaining ieee80211_ratectl_node_init() calls missed in r211314. 2010-08-21 11:06:21 +00:00
netatalk
netgraph Fix typo 2010-08-02 22:26:08 +00:00
netinet MFp4: anchie_soc2009 branch: 2010-08-19 11:31:03 +00:00
netinet6 optp may be NULL. 2010-08-20 17:52:49 +00:00
netipsec MFp4 @178283: 2010-05-24 16:27:47 +00:00
netipx
netnatm
netncp
netsmb
nfs Move sys/nfsclient/nfs_lock.c into sys/nfs and build it as a separate 2010-07-24 22:11:11 +00:00
nfsclient Add dedicated routines to toggle lockmgr flags such as LK_NOSHARE and 2010-08-20 19:46:50 +00:00
nfsserver
nlm
opencrypto Add an extra comment to the SDT probes definition. This allows us to get 2010-08-22 11:18:57 +00:00
pc98 Add MALLOC_DEBUG_MAXZONES debug malloc(9) option to use multiple uma 2010-07-28 15:36:12 +00:00
pci It seems some newer RTL8139 controllers provides only memory space 2010-08-22 21:26:35 +00:00
powerpc Remove unused KTRACE includes. 2010-08-19 16:41:27 +00:00
rpc
security Add an extra comment to the SDT probes definition. This allows us to get 2010-08-22 11:18:57 +00:00
sparc64 Skip a KASSERT which isn't appropriate when not employing page coloring. 2010-08-21 14:28:48 +00:00
sun4v Remove unused KTRACE includes. 2010-08-19 16:41:27 +00:00
sys Add an extra comment to the SDT probes definition. This allows us to get 2010-08-22 11:18:57 +00:00
teken Make ^L with cons25 and origin mode bit more sane. 2010-08-09 18:07:15 +00:00
tools Add an extra comment to the SDT probes definition. This allows us to get 2010-08-22 11:18:57 +00:00
ufs Add dedicated routines to toggle lockmgr flags such as LK_NOSHARE and 2010-08-20 19:46:50 +00:00
vm Add uma_zone_get_max() to obtain the effective limit after a call 2010-08-16 14:24:00 +00:00
x86 When performing a sanity check on the SRAT table to ensure that each 2010-07-29 17:37:35 +00:00
xdr
xen
Makefile