diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-12-23 15:16:45 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-12-23 15:16:45 +0000 |
commit | 2ea5fd25be1e73a6eb6903d509ebbe788f96f651 (patch) | |
tree | 6d7047f793d461134f9e931967fa25a145049639 /sys/dev/ic/fxp.c | |
parent | 71e56db230f0d618f1fcf6d763ad38a3338a006b (diff) |
htole vs letoh (no functional change
Diffstat (limited to 'sys/dev/ic/fxp.c')
-rw-r--r-- | sys/dev/ic/fxp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/fxp.c b/sys/dev/ic/fxp.c index ad0f1e2e0f6..2ac3c34d33a 100644 --- a/sys/dev/ic/fxp.c +++ b/sys/dev/ic/fxp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fxp.c,v 1.43 2003/10/21 18:58:49 jmc Exp $ */ +/* $OpenBSD: fxp.c,v 1.44 2003/12/23 15:16:44 mickey Exp $ */ /* $NetBSD: if_fxp.c,v 1.2 1997/06/05 02:01:55 thorpej Exp $ */ /* @@ -612,7 +612,7 @@ fxp_read_eeprom(sc, data, offset, words) CSR_WRITE_2(sc, FXP_CSR_EEPROMCONTROL, reg); DELAY(1); } - data[i] = htole16(data[i]); + data[i] = letoh16(data[i]); CSR_WRITE_2(sc, FXP_CSR_EEPROMCONTROL, 0); DELAY(1); } |