diff options
Diffstat (limited to 'sys/dev/usb/if_axe.c')
-rw-r--r-- | sys/dev/usb/if_axe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/if_axe.c b/sys/dev/usb/if_axe.c index 8252a23068a..6ab2090afc3 100644 --- a/sys/dev/usb/if_axe.c +++ b/sys/dev/usb/if_axe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_axe.c,v 1.35 2005/08/28 02:51:05 jsg Exp $ */ +/* $OpenBSD: if_axe.c,v 1.36 2005/08/28 02:53:49 jsg Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000-2003 @@ -1211,8 +1211,8 @@ axe_init(void *xsc) /* Set transmitter IPG values */ if (sc->axe_flags & AX178) axe_cmd(sc, AXE_178_CMD_WRITE_IPG012, 0, - (sc->axe_ipgs[0] << 2) | (sc->axe_ipgs[1] << 1) | - (sc->axe_ipgs[2]), NULL); + (sc->axe_ipgs[0]) | (sc->axe_ipgs[1] << 8) | + (sc->axe_ipgs[2] << 16), NULL); else { axe_cmd(sc, AXE_172_CMD_WRITE_IPG0, 0, sc->axe_ipgs[0], NULL); axe_cmd(sc, AXE_172_CMD_WRITE_IPG1, 0, sc->axe_ipgs[1], NULL); |