o Use %j and uintmax_t rather than uint64_t for casting.

o use more proper bus_size_t for iosize rather than bus_addr_t.

Noticed by: bde
This commit is contained in:
imp 2003-11-03 16:04:31 +00:00
parent c3859de0f2
commit 4bbd8335fc
2 changed files with 4 additions and 4 deletions

View File

@ -533,8 +533,7 @@ static void
pccard_mfc_adjust_iobase(struct pccard_function *pf, bus_addr_t addr,
bus_addr_t offset, bus_size_t size)
{
bus_addr_t iosize;
bus_size_t tmp;
bus_size_t iosize, tmp;
if (addr != 0) {
if (pf->pf_mfc_iomax == 0) {
@ -555,8 +554,8 @@ pccard_mfc_adjust_iobase(struct pccard_function *pf, bus_addr_t addr,
;
iosize--;
DEVPRINTF((pf->dev, "MFC: I/O base 0x%llx IOSIZE %lld\n",
(uint64_t) pf->pf_mfc_iobase, (uint64_t) iosize));
DEVPRINTF((pf->dev, "MFC: I/O base 0x%jx IOSIZE %jd\n",
(uintmax_t) pf->pf_mfc_iobase, (uintmax_t) iosize));
pccard_ccr_write(pf, PCCARD_CCR_IOBASE0,
pf->pf_mfc_iobase & 0xff);
pccard_ccr_write(pf, PCCARD_CCR_IOBASE1,

View File

@ -279,6 +279,7 @@ product IBM ETHERJET 0x003f IBM EtherJet Ethernet
/* Intel Products */
product INTEL PRO_WLAN_2011 0x0001 Intel PRO/Wireless 2011 LAN PC Card
product INTEL EEPRO100 0x010a Intel EtherExpress PRO/100
product INTEL ETHEREXP 0x0301 Intel EtherExpress PCMCIA Card
/* Intersil */
/* Note: The following likely is an OEM card under a different Intersil name */