-#include "etherboot.h"
+#include "stdint.h"
+#include "byteswap.h"
+#include "console.h"
#include "isa_ids.h"
/*
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;
}