diff options
author | Michael Buesch <mb@bu3sch.de> | 2007-12-22 21:01:36 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 23:09:16 (GMT) |
commit | 993e1c780b323736a2cdc24564f35e80ce8d3337 (patch) | |
tree | 6dd8e11093bc3820351fd83bebfecc6f0ae33fa6 /include | |
parent | f3dd3fcc2c79b950801641075b33b86acc372d9b (diff) | |
download | linux-fsl-qoriq-993e1c780b323736a2cdc24564f35e80ce8d3337.tar.xz |
ssb: Fix PCMCIA lowlevel register access
This fixes lowlevel register access for PCMCIA based devices.
The patch also adds a temporary workaround for the device mac address.
It simply adds generation of a random address. The real SPROM extraction
will follow in another patch.
The temporary workaround will be removed then, but for now it's OK.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ssb/ssb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/ssb/ssb.h b/include/linux/ssb/ssb.h index 0eaa984..cacbae5 100644 --- a/include/linux/ssb/ssb.h +++ b/include/linux/ssb/ssb.h @@ -231,7 +231,8 @@ struct ssb_bus { struct ssb_device *mapped_device; /* Currently mapped PCMCIA segment. (bustype == SSB_BUSTYPE_PCMCIA only) */ u8 mapped_pcmcia_seg; - /* Lock for core and segment switching. */ + /* Lock for core and segment switching. + * On PCMCIA-host busses this is used to protect the whole MMIO access. */ spinlock_t bar_lock; /* The bus this backplane is running on. */ |