diff options
author | yongari <yongari@FreeBSD.org> | 2011-05-07 00:25:12 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2011-05-07 00:25:12 +0000 |
commit | e97ce6dc83fc8850d25f1c57197b68ff3586254e (patch) | |
tree | f204d7610cfb1e1340124f191635e986bfd4c28e /sys/dev/xl/if_xl.c | |
parent | 3a014bc50fc152226a313ec5ce203034b68f1d96 (diff) | |
download | FreeBSD-src-e97ce6dc83fc8850d25f1c57197b68ff3586254e.zip FreeBSD-src-e97ce6dc83fc8850d25f1c57197b68ff3586254e.tar.gz |
XL_DMACTL is 32bit register, use 32bit write macro.
While I'm here add more bits for the register.
Diffstat (limited to 'sys/dev/xl/if_xl.c')
-rw-r--r-- | sys/dev/xl/if_xl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/xl/if_xl.c b/sys/dev/xl/if_xl.c index 03a7114..51e01f2 100644 --- a/sys/dev/xl/if_xl.c +++ b/sys/dev/xl/if_xl.c @@ -2969,7 +2969,7 @@ xl_init_locked(struct xl_softc *sc) /* Set the RX early threshold */ CSR_WRITE_2(sc, XL_COMMAND, XL_CMD_RX_SET_THRESH|(XL_PACKET_SIZE >>2)); - CSR_WRITE_2(sc, XL_DMACTL, XL_DMACTL_UP_RX_EARLY); + CSR_WRITE_4(sc, XL_DMACTL, XL_DMACTL_UP_RX_EARLY); /* Enable receiver and transmitter. */ CSR_WRITE_2(sc, XL_COMMAND, XL_CMD_TX_ENABLE); |