|
@@ -1124,8 +1124,7 @@ static const char * chip_ids[ 16 ] = {
|
|
|
void __iomem *__ioaddr = ioaddr; \
|
|
|
if (__len >= 2 && (unsigned long)__ptr & 2) { \
|
|
|
__len -= 2; \
|
|
|
- SMC_outw(*(u16 *)__ptr, ioaddr, \
|
|
|
- DATA_REG(lp)); \
|
|
|
+ SMC_outsw(ioaddr, DATA_REG(lp), __ptr, 1); \
|
|
|
__ptr += 2; \
|
|
|
} \
|
|
|
if (SMC_CAN_USE_DATACS && lp->datacs) \
|
|
@@ -1133,8 +1132,7 @@ static const char * chip_ids[ 16 ] = {
|
|
|
SMC_outsl(__ioaddr, DATA_REG(lp), __ptr, __len>>2); \
|
|
|
if (__len & 2) { \
|
|
|
__ptr += (__len & ~3); \
|
|
|
- SMC_outw(*((u16 *)__ptr), ioaddr, \
|
|
|
- DATA_REG(lp)); \
|
|
|
+ SMC_outsw(ioaddr, DATA_REG(lp), __ptr, 1); \
|
|
|
} \
|
|
|
} else if (SMC_16BIT(lp)) \
|
|
|
SMC_outsw(ioaddr, DATA_REG(lp), p, (l) >> 1); \
|