Fix build error with ED_DEBUG.

PR:		kern/72753
This commit is contained in:
Yoshihiro Takahashi 2004-11-10 13:16:12 +00:00
parent 79961ebfcb
commit fea82a173b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=137531
2 changed files with 3 additions and 3 deletions

View file

@ -370,8 +370,8 @@ ed_probe_WD80x3_generic(dev, flags, intr_vals)
if (error)
return (error);
#if ED_DEBUG
printf("type = %x type_str=%s isa16bit=%d memsize=%d id_msize=%d\n",
#ifdef ED_DEBUG
printf("type = %x type_str=%s isa16bit=%d memsize=%d id_msize=%lu\n",
sc->type, sc->type_str, isa16bit, memsize, conf_msize);
for (i = 0; i < 8; i++)
printf("%x -> %x\n", i, ed_asic_inb(sc, i));

View file

@ -1682,7 +1682,7 @@ ed_pio_testmem(sc, page_offset, isa16bit, flags)
ed_nic_outb(sc, ED_P0_PSTART, page_offset / ED_PAGE_SIZE);
ed_nic_outb(sc, ED_P0_PSTOP, (page_offset + memsize) / ED_PAGE_SIZE);
#ifdef ED_DEBUG
printf("ed?: ed_pio_testmem: page start=%x, end=%x",
printf("ed?: ed_pio_testmem: page start=%x, end=%lx",
page_offset, page_offset + memsize);
#endif