freebsd-dev/sys
Adrian Chadd 7fb4a4be07 Some of the atheros based embedded devices use one or more PCI NICs
on-board, glued to the AR71xx CPU.  These may forgo separate WMAC EEPROMs
(which store configuration and calibration data) and instead store
it in the main board SPI flash.

Normally the NIC reads the EEPROM attached to it to setup various PCI
configuration registers.  If this isn't done, the device will probe as
something different (eg 0x168c:abcd, or 0x168c:ff??.)  Other setup registers
are also written to which may control important functions.

This introduces a new compile option, AR71XX_ATH_EEPROM, which enables the
use of this particular code.  The ART offset in the SPI flash can be
specified as a hint against the relevant slot/device number, for example:

hint.pcib.0.bus.0.17.0.ath_fixup_addr=0x1fff1000
hint.pcib.0.bus.0.18.0.ath_fixup_addr=0x1fff5000

TODO:

* Think of a better name;
* Make the PCIe version of this fixup code also use this option;
* Maybe also check slot 19;
* This has to happen _before_ the SPI flash is set from memory-mapped
  to SPI-IO - so document that somewhere.
2012-01-15 19:29:33 +00:00
..
amd64 Convert files to UTF-8 2012-01-15 13:23:18 +00:00
arm Remove spurious 8bit chars, turning files into plain ASCII. 2012-01-15 13:23:33 +00:00
boot Fix some unreliability problems related to MSR bits inherited from kboot by 2012-01-15 16:58:44 +00:00
bsm
cam Add BIO_DELETE support for SCSI Direct Access devices (da). 2012-01-13 10:21:17 +00:00
cddl - Allow to change vfs.zfs.arc_meta_limit at runtime. 2012-01-05 22:16:41 +00:00
compat Abrogate nchr argument in proc_getargv() and proc_getenvv(): we always want 2012-01-15 18:47:24 +00:00
conf Major snd_hda driver rewrite: 2012-01-15 13:21:36 +00:00
contrib Remove spurious 8bit chars, turning files into plain ASCII. 2012-01-15 13:23:54 +00:00
crypto Update Copyright. 2011-10-27 14:15:26 +00:00
ddb Use strchr() and strrchr(). 2012-01-02 12:12:10 +00:00
dev Break out the "memory" EEPROM data read method from being AR9130 specific 2012-01-15 19:22:34 +00:00
fs Abrogate nchr argument in proc_getargv() and proc_getenvv(): we always want 2012-01-15 18:47:24 +00:00
gdb kern cons: introduce infrastructure for console grabbing by kernel 2011-12-17 15:08:43 +00:00
geom Allow an MBR primary or extended Linux swap partition to be specified 2012-01-13 18:32:56 +00:00
gnu Convert files to UTF-8 2012-01-15 13:23:18 +00:00
i386 Convert files to UTF-8 2012-01-15 13:23:18 +00:00
ia64 Add the CAM Target Layer (CTL). 2012-01-12 00:34:33 +00:00
isa - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
kern Abrogate nchr argument in proc_getargv() and proc_getenvv(): we always want 2012-01-15 18:47:24 +00:00
kgssapi Add missing break statement to make sure all 3DES etypes really are treated 2011-10-10 09:13:07 +00:00
libkern Implement extensions on top of standards instead of the other way around. 2012-01-03 07:05:30 +00:00
mips Some of the atheros based embedded devices use one or more PCI NICs 2012-01-15 19:29:33 +00:00
modules Major snd_hda driver rewrite: 2012-01-15 13:21:36 +00:00
net - Fix trivial typo 2012-01-14 17:07:52 +00:00
net80211 Add the ability to kick an existing mesh node without waiting for it 2012-01-11 17:10:27 +00:00
netatalk Convert all users of IF_ADDR_LOCK to use new locking macros that specify 2012-01-05 19:00:36 +00:00
netgraph Use strchr() and strrchr(). 2012-01-02 12:12:10 +00:00
netinet Two cleanups. No functional change. 2012-01-15 13:35:55 +00:00
netinet6 Small cleanup, no functional change. 2012-01-15 14:03:05 +00:00
netipsec Remove unused 'plen' variable. 2011-11-26 23:57:03 +00:00
netipx Convert all users of IF_ADDR_LOCK to use new locking macros that specify 2012-01-05 19:00:36 +00:00
netnatm
netncp Change ncp_scan_bindery_object() to pass a constant search string. 2011-10-16 08:44:03 +00:00
netsmb Add unicode support to msdosfs and smbfs; original pathes from imura, 2011-11-18 03:05:20 +00:00
nfs Some cleanup of BOOTP code. Initially I wanted to just change the ifioctl() 2011-12-13 07:02:48 +00:00
nfsclient jwd@ reported a problem via email where the old NFS client would 2011-12-21 02:45:51 +00:00
nfsserver Honor NFSv3 commit call (RFC 1813, Section 3.3.21) where when count is 0, 2011-12-15 02:26:53 +00:00
nlm Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs. 2011-11-07 15:43:11 +00:00
ofed Remove spurious 8bit chars, turning files into plain ASCII. 2012-01-15 13:23:54 +00:00
opencrypto Add the fo_chown and fo_chmod methods to struct fileops and use them 2011-08-16 20:07:47 +00:00
pc98 Flip these options on so the modules build correctly for now. 2012-01-06 08:51:20 +00:00
pci To save more power, switch to 10/100Mbps link when controller is 2011-11-23 23:29:18 +00:00
powerpc Pick a constant high IRQ value for the PS3 IPI, which lets PS3 devices be 2012-01-15 18:26:43 +00:00
rpc Both a crash reported on freebsd-current on Oct. 18 under the 2011-11-03 14:38:03 +00:00
security Use strchr() and strrchr(). 2012-01-02 12:12:10 +00:00
sparc64 Add the CAM Target Layer (CTL). 2012-01-12 00:34:33 +00:00
sys Abrogate nchr argument in proc_getargv() and proc_getenvv(): we always want 2012-01-15 18:47:24 +00:00
teken Link the demo application against ncursesw to make Unicode work. 2011-10-13 14:20:27 +00:00
tools Restore the comment that I removed by accident. 2011-11-09 13:26:59 +00:00
ufs Convert FFS mount error messages from kernel printf's to using the 2012-01-14 07:26:16 +00:00
vm Change the type of the paging_in_progress refcounter from u_short to 2012-01-10 18:05:44 +00:00
x86 Fix a few bugs in the SRAT parsing code: 2012-01-03 20:53:58 +00:00
xdr
xen s/timout/timeout 2011-12-15 06:29:13 +00:00
Makefile Improve the cscope target's handling of MD directories. Automatically 2012-01-03 17:31:27 +00:00