diff options
author | adrian <adrian@FreeBSD.org> | 2012-04-13 06:11:24 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2012-04-13 06:11:24 +0000 |
commit | 10450b4fc3f4605879cf0aac1641ca75aa997a1d (patch) | |
tree | 2b8c5ec375d092c5121a26f33b63291e1c6ba5b0 /contrib/diff/lib/setmode.h | |
parent | 2c87a056ccd4652327011066f56d20c8f129bd63 (diff) | |
download | FreeBSD-src-10450b4fc3f4605879cf0aac1641ca75aa997a1d.zip FreeBSD-src-10450b4fc3f4605879cf0aac1641ca75aa997a1d.tar.gz |
Sync this code against what's in OpenWRT trunk.
* the openwrt code doesn't treat 0/0/0 any differently
from other bus/slot/func combinations.
* A "local write" function writes to the LCONF area, and
so I've added it.
* The PCI workaround at attach time uses this LCONF code,
which it already did ..
* .. but it is a 4 byte write, not a 2 byte write.
Even though it's PCIR_COMMAND which is a two byte PCI register.
Tested on: AR7161
TODO: The other two AR71xx derivatives
TODO: More thoroughly stare at the datasheets I do have
and if it indeed is incorrect, push fixes to both
FreeBSD and Linux/OpenWRT.
Obtained from: Linux OpenWRT
Diffstat (limited to 'contrib/diff/lib/setmode.h')
0 files changed, 0 insertions, 0 deletions