diff options
Diffstat (limited to 'sys/pc98')
-rw-r--r-- | sys/pc98/cbus/gdc.c | 6 | ||||
-rw-r--r-- | sys/pc98/cbus/ppc.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/pc98/cbus/gdc.c b/sys/pc98/cbus/gdc.c index c7dd61e..f5719f0 100644 --- a/sys/pc98/cbus/gdc.c +++ b/sys/pc98/cbus/gdc.c @@ -94,7 +94,7 @@ static int gdc_attach_unit(int unit, gdc_softc_t *sc, int flags); static int gdc_alloc_resource(device_t dev); static int gdc_release_resource(device_t dev); -#if FB_INSTALL_CDEV +#ifdef FB_INSTALL_CDEV static d_open_t gdcopen; static d_close_t gdcclose; @@ -1463,7 +1463,7 @@ gdc_dev_ioctl(video_adapter_t *adp, u_long cmd, caddr_t arg) static int gdc_diag(video_adapter_t *adp, int level) { -#if FB_DEBUG > 1 +#if defined(FB_DEBUG) && FB_DEBUG > 1 int i; #endif @@ -1472,7 +1472,7 @@ gdc_diag(video_adapter_t *adp, int level) fb_dump_adp_info(DRIVER_NAME, adp, level); -#if FB_DEBUG > 1 +#if defined(FB_DEBUG) && FB_DEBUG > 1 for (i = 0; bios_vmode[i].vi_mode != EOT; ++i) { if (bios_vmode[i].vi_mode == NA) continue; diff --git a/sys/pc98/cbus/ppc.c b/sys/pc98/cbus/ppc.c index e04e3fb..664336e 100644 --- a/sys/pc98/cbus/ppc.c +++ b/sys/pc98/cbus/ppc.c @@ -1554,7 +1554,7 @@ ppcintr(void *arg) ctr = r_ctr(ppc); ecr = r_ecr(ppc); -#if PPC_DEBUG > 1 +#if defined(PPC_DEBUG) && PPC_DEBUG > 1 printf("![%x/%x/%x]", ctr, ecr, str); #endif |