Fix compilation when DEBUG option is enabled.
- remove unused code in mips/rmi/xlr_pci.c - remove unused variable in mips/rmi/dev/nlge/if_nlge.c - fix reference to old function in mips/mips/pmap.c Reported by: Prabhath Raman (prabhath at netlogicmicro com)
This commit is contained in:
parent
836993f5cf
commit
96417c3f8c
@ -3098,7 +3098,7 @@ pads(pmap_t pm)
|
||||
va >= VM_MAXUSER_ADDRESS)
|
||||
continue;
|
||||
ptep = pmap_pte(pm, va);
|
||||
if (pmap_pte_v(ptep))
|
||||
if (pte_test(ptep, PTE_V))
|
||||
printf("%x:%x ", va, *(int *)ptep);
|
||||
}
|
||||
|
||||
|
@ -213,7 +213,6 @@ static int send_fmn_msg_tx(struct nlge_softc *, struct msgrng_msg *,
|
||||
//#define DEBUG
|
||||
#ifdef DEBUG
|
||||
static int mac_debug = 1;
|
||||
static int reg_dump = 0;
|
||||
#undef PDEBUG
|
||||
#define PDEBUG(fmt, args...) \
|
||||
do {\
|
||||
|
@ -105,13 +105,6 @@ __FBSDID("$FreeBSD$");
|
||||
(MSI_MIPS_DATA_TRGRLVL | MSI_MIPS_DATA_DELFIXED | \
|
||||
MSI_MIPS_DATA_ASSERT | (irq))
|
||||
|
||||
#define DEBUG
|
||||
#ifdef DEBUG
|
||||
#define dbg_devprintf device_printf
|
||||
#else
|
||||
#define dbg_devprintf(dev, fmt, ...)
|
||||
#endif
|
||||
|
||||
struct xlr_pcib_softc {
|
||||
bus_dma_tag_t sc_pci_dmat; /* PCI DMA tag pointer */
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user