[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Anyone tried building 2.9 with WDCDEBUG defined ?



I get a few problems in pciide.c

starting at line 988
               WDCDEBUG_PRINT(("\t seg %d len %d addr 0x%x\n",
                   seg, le32toh(dma_maps->dma_table[seg].byte_count),
                   le32toh(dma_maps->dma_table[seg].base_addr)),
DEBUG_DMA);


compiler warns of implicit defition of le32toh

im guessing this is a typo and it should be the stuff in endian.h
(letoh32) ?

also, at line 3180
               WDCDEBUG_PRINT(("%s: bus speed register set to 0x%08x "
                    "(BIOS 0x%08x)\n", drvp->drv_softc->dv_xname,
                    after, before), DEBUG_PROBE);


drvp has no member named drv_softc

these code paths only get hit with WDCDEBUG on (the joy of macros eh ?)


I'm guessing these are typos.  But I'm not ready to say what I think
the "correct spelling" is :)



-- 
Matt Evans     email: matt_(_at_)_mattevans_(_dot_)_org      web: www.mattevans.org



Visit your host, monkey.org