aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/bus/isa_ids.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2005-04-21 16:38:28 +0000
committerMichael Brown <mcb30@etherboot.org>2005-04-21 16:38:28 +0000
commit928c388c6f76d64836c922a0c7dce6628bfa0d52 (patch)
tree2d9005d441efd1c8338994f7af0789523bd0dfcc /src/drivers/bus/isa_ids.c
parenta95b45866064e2081f7af665042b024e2197d06b (diff)
downloadipxe-928c388c6f76d64836c922a0c7dce6628bfa0d52.tar.gz
bswap_16() exists; no need to use __bswap_16()
Diffstat (limited to 'src/drivers/bus/isa_ids.c')
-rw-r--r--src/drivers/bus/isa_ids.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/bus/isa_ids.c b/src/drivers/bus/isa_ids.c
index 85175e045..a175ed459 100644
--- a/src/drivers/bus/isa_ids.c
+++ b/src/drivers/bus/isa_ids.c
@@ -13,14 +13,14 @@ char * isa_id_string ( uint16_t vendor, uint16_t product ) {
int i;
/* Vendor ID is a compressed ASCII string */
- vendor = __bswap_16 ( vendor );
+ vendor = bswap_16 ( vendor );
for ( i = 2 ; i >= 0 ; i-- ) {
buf[i] = ( 'A' - 1 + ( vendor & 0x1f ) );
vendor >>= 5;
}
/* Product ID is a 4-digit hex string */
- sprintf ( &buf[3], "%hx", __bswap_16 ( product ) );
+ sprintf ( &buf[3], "%hx", bswap_16 ( product ) );
return buf;
}