freebsd-dev/sys
Adrian Chadd 08f06f0ace Fix the AR724x PCIe glue to correctly probe the BAR on AR7240 devices.
There's a bug in the AR7240 PCIe hardware where a correct BAR will end
up having the device disappear.

It turns out that for the device address it should be all 0's.

However, this meant that the PCI probe code would try writing 0xffffffff
in to see how big the window was, read back 0x0, and think the window
was 32 bits.  It then ended up calculating a resource size of 0 bytes,
failed to find anything via an rman call, and this would fail to attach.

I have quite absolutely no idea how in the various planes of existence
this particular bit of code and how it worked with the PCI bus code
ever worked.  But, well, it did.

Tested:

* Atheros AP93 - AR7240 + AR9280 reference board
2014-09-28 07:27:58 +00:00
..
amd64 Allow the PIC's IMR register to be read before ICW initialisation. 2014-09-27 01:15:24 +00:00
arm Fix the definitioin of AT91SAM9G45_IRQ_PIOE and rename it to 2014-09-27 14:39:00 +00:00
boot Remove obsolete compatibility glue and improve firewire code readability. 2014-09-27 16:50:21 +00:00
bsm IFp4 @1192291: 2014-04-07 20:44:00 +00:00
cam Fix page length reported for Block Limits VPD page. 2014-09-27 20:08:34 +00:00
cddl Remove sys/types.h include as per style (9) 2014-09-18 20:38:18 +00:00
compat Fix fcntl(2) compat32 after r270691. The copyin and copyout of the 2014-09-25 21:07:19 +00:00
conf Merge the PC98 fdc(4) driver into the MI driver. While here, replace 2014-09-25 20:40:24 +00:00
contrib ipfilter bug #558 add in some missing frag table function comments. 2014-09-24 01:21:31 +00:00
crypto Put the aesni_cipher_setup() and aesni_cipher_process() functions into 2014-06-24 06:55:49 +00:00
ddb ddb: allow specifying the exact address of the symtab and strtab 2014-09-25 08:28:10 +00:00
dev Mechanically switch ixv(4) to if_inc_counter(). 2014-09-28 07:19:32 +00:00
fs Fix thinko that, with two map entries like shown below, in that order, 2014-09-23 11:27:43 +00:00
gdb Add support for gdb's memory searching capabilities to our in-kernel gdb 2014-09-05 16:40:47 +00:00
geom Cache GELI passphrases entered at the console during the boot process, 2014-09-16 08:40:52 +00:00
gnu reiserfs: Use signed i_nlink 2014-09-25 19:10:32 +00:00
i386 ddb: allow specifying the exact address of the symtab and strtab 2014-09-25 08:28:10 +00:00
isa Remove vestiges of knowing the ISA bus, which we gave up on around 20 2014-03-19 21:03:04 +00:00
kern Make do_dup() static and move relevant macros to kern_descrip.c 2014-09-26 19:48:47 +00:00
kgssapi
libkern Use __DECONST to avoid compiler warnings (and thus build failures) 2014-09-08 08:12:09 +00:00
mips Fix the AR724x PCIe glue to correctly probe the BAR on AR7240 devices. 2014-09-28 07:27:58 +00:00
modules Merge the PC98 fdc(4) driver into the MI driver. While here, replace 2014-09-25 20:40:24 +00:00
net Use underlying ports counters to get lagg statistics instead of 2014-09-27 13:57:48 +00:00
net80211 Mechanically convert to if_inc_counter(). 2014-09-19 09:20:55 +00:00
netgraph Use callout(9) instead of timeout(9). 2014-09-20 16:43:14 +00:00
netinet * Split tcp_signature_compute() into 2 pieces: 2014-09-27 07:04:12 +00:00
netinet6 Revisions 264905 and 266860 added a "int fib" argument to ifa_ifwithnet and 2014-09-11 20:21:03 +00:00
netipsec Mechanically convert to if_inc_counter(). 2014-09-19 10:18:14 +00:00
netnatm
netpfil Fix NULL pointer deref in ipfw when using dummynet at layer 2. 2014-09-25 02:26:05 +00:00
netsmb Remove redundant unlock. 2014-04-17 12:22:08 +00:00
nfs Fix/improve fhe_stats sysctl output. 2014-06-14 12:26:12 +00:00
nfsclient Avoid an exclusive acquisition of the object lock on the expected execution 2014-09-14 18:07:55 +00:00
nfsserver Change NFS readdir() to only ignore cookies preceding the given offset for 2014-07-01 20:00:35 +00:00
nlm Correct a typo in nlm_find_host_by_addr(): the intention of the 2014-03-11 00:25:55 +00:00
ofed Mechanically convert to if_inc_counter(). 2014-09-27 20:39:24 +00:00
opencrypto Fix build for kernels without COMPAT_FREEBSD32. 2014-09-22 17:32:27 +00:00
pc98 Merge the PC98 fdc(4) driver into the MI driver. While here, replace 2014-09-25 20:40:24 +00:00
powerpc Fix a paste-o commited in r272109: we need to get the interrupts for the 2014-09-26 15:16:53 +00:00
rpc Merge the NFSv4.1 server code in projects/nfsv4.1-server over 2014-07-01 20:47:16 +00:00
security Replace dev_clone with cdevpriv(9) KPI in audit_pipe code. 2014-08-20 16:04:30 +00:00
sparc64 ddb: allow specifying the exact address of the symtab and strtab 2014-09-25 08:28:10 +00:00
sys Make do_dup() static and move relevant macros to kern_descrip.c 2014-09-26 19:48:47 +00:00
teken
tools Allow the make_dtb script to work outside of a "make buildkernel" context 2014-08-30 22:39:15 +00:00
ufs Provide the unique implementation for the VOP_GETPAGES() method used 2014-09-15 12:28:29 +00:00
vm Fix ticks wrap issue of lowmem test in vm_pageout_scan 2014-09-24 14:35:08 +00:00
x86 xen: add proper copyright attribution 2014-09-26 09:05:55 +00:00
xdr
xen xen: implement event channel PIRQ support 2014-08-04 08:42:29 +00:00
Makefile Remove "pci" from CSCOPEDIRS. 2014-09-23 06:32:19 +00:00