[PATCH] bcm43xx: Fix problem with >1 GB RAM
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 22 Jan 2007 04:27:35 +0000 (22:27 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 Feb 2007 20:23:53 +0000 (15:23 -0500)
commit471030390d4561f430c9aea36e72d96bd2ee48f1
tree8d9f3aa4618fc5e91da2fe25aaa0eac548d40714
parent192b775cc811b0e9e0d174ffdd5a814794392482
[PATCH] bcm43xx: Fix problem with >1 GB RAM

Some versions of the bcm43xx chips only support 30-bit DMA, which means
that the descriptors and buffers must be in the first 1 GB of RAM. On
the i386 and x86_64 architectures with more than 1 GB RAM, an incorrect
assignment may occur. This patch ensures that the various DMA addresses
are within the capability of the chip. Testing has been limited to x86_64
as no one has an i386 system with more than 1 GB RAM.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/bcm43xx/bcm43xx.h
drivers/net/wireless/bcm43xx/bcm43xx_dma.c