projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
set hidden fuse config option to n again
[openwrt.git]
/
openwrt
/
package
/
linux
/
kernel-source
/
drivers
/
net
/
hnd
/
sbutils.c
diff --git
a/openwrt/package/linux/kernel-source/drivers/net/hnd/sbutils.c
b/openwrt/package/linux/kernel-source/drivers/net/hnd/sbutils.c
index
50ec339
..
2c9cb55
100644
(file)
--- a/
openwrt/package/linux/kernel-source/drivers/net/hnd/sbutils.c
+++ b/
openwrt/package/linux/kernel-source/drivers/net/hnd/sbutils.c
@@
-136,7
+136,7
@@
sb_read_sbreg(void *sbh, volatile uint32 *sbr)
INTR_OFF(si, intr_val);
tmp = 1;
OSL_PCMCIA_WRITE_ATTR(si->osh, MEM_SEG, &tmp, 1);
INTR_OFF(si, intr_val);
tmp = 1;
OSL_PCMCIA_WRITE_ATTR(si->osh, MEM_SEG, &tmp, 1);
-
(uint32)sbr &= ~(1 << 11);
/* mask out bit 11*/
+
sbr = (uint32 *) (((uint32) sbr) & ~(1 << 11));
/* mask out bit 11*/
}
val = R_REG(sbr);
}
val = R_REG(sbr);
@@
-170,7
+170,7
@@
sb_write_sbreg(void *sbh, volatile uint32 *sbr, uint32 v)
INTR_OFF(si, intr_val);
tmp = 1;
OSL_PCMCIA_WRITE_ATTR(si->osh, MEM_SEG, &tmp, 1);
INTR_OFF(si, intr_val);
tmp = 1;
OSL_PCMCIA_WRITE_ATTR(si->osh, MEM_SEG, &tmp, 1);
-
(uint32)sbr &= ~(1 << 11); /* mask out bit 11
*/
+
sbr = (uint32 *) (((uint32) sbr) & ~(1 << 11)); /* mask out bit 11
*/
}
if (si->bus == PCMCIA_BUS) {
}
if (si->bus == PCMCIA_BUS) {
This page took
0.032852 seconds
and
4
git commands to generate.