mirror of
https://github.com/ipxe/ipxe
synced 2025-12-24 06:22:59 +03:00
[i386] Change [u]int32_t to [unsigned] int, rather than [unsigned] long
This brings us in to line with Linux definitions, and also simplifies adding x86_64 support since both platforms have 2-byte shorts, 4-byte ints and 8-byte long longs.
This commit is contained in:
@@ -695,7 +695,7 @@ sis900_init_rxfilter(struct nic *nic)
|
||||
outl(w, ioaddr + rfdr);
|
||||
|
||||
if (sis900_debug > 0)
|
||||
printf("sis900_init_rxfilter: Receive Filter Addrss[%d]=%lX\n",
|
||||
printf("sis900_init_rxfilter: Receive Filter Addrss[%d]=%X\n",
|
||||
i, inl(ioaddr + rfdr));
|
||||
}
|
||||
|
||||
@@ -724,7 +724,7 @@ sis900_init_txd(struct nic *nic __unused)
|
||||
/* load Transmit Descriptor Register */
|
||||
outl(virt_to_bus(&txd), ioaddr + txdp);
|
||||
if (sis900_debug > 0)
|
||||
printf("sis900_init_txd: TX descriptor register loaded with: %lX\n",
|
||||
printf("sis900_init_txd: TX descriptor register loaded with: %X\n",
|
||||
inl(ioaddr + txdp));
|
||||
}
|
||||
|
||||
@@ -760,7 +760,7 @@ sis900_init_rxd(struct nic *nic __unused)
|
||||
outl(virt_to_bus(&rxd[0]), ioaddr + rxdp);
|
||||
|
||||
if (sis900_debug > 0)
|
||||
printf("sis900_init_rxd: RX descriptor register loaded with: %lX\n",
|
||||
printf("sis900_init_rxd: RX descriptor register loaded with: %X\n",
|
||||
inl(ioaddr + rxdp));
|
||||
|
||||
}
|
||||
@@ -1114,7 +1114,7 @@ sis900_transmit(struct nic *nic,
|
||||
/* load Transmit Descriptor Register */
|
||||
outl(virt_to_bus(&txd), ioaddr + txdp);
|
||||
if (sis900_debug > 1)
|
||||
printf("sis900_transmit: TX descriptor register loaded with: %lX\n",
|
||||
printf("sis900_transmit: TX descriptor register loaded with: %X\n",
|
||||
inl(ioaddr + txdp));
|
||||
|
||||
memcpy(txb, d, ETH_ALEN);
|
||||
|
||||
Reference in New Issue
Block a user