Silence some warnings in the kernel.
authorSascha Wildner <saw@online.de>
Thu, 13 May 2010 19:52:57 +0000 (21:52 +0200)
committerSascha Wildner <saw@online.de>
Thu, 13 May 2010 19:53:12 +0000 (21:53 +0200)
sys/conf/files
sys/dev/atm/en/midway.c
sys/dev/video/fb/fb.c
sys/platform/pc32/conf/files

index b863401..50ae234 100644 (file)
@@ -335,7 +335,7 @@ dev/netif/ig_hal/e1000_manage.c     optional ig_hal
 dev/netif/ig_hal/e1000_nvm.c   optional ig_hal
 dev/netif/ig_hal/e1000_osdep.c optional ig_hal
 dev/netif/ig_hal/e1000_phy.c   optional ig_hal
-dev/atm/en/midway.c            optional nowerror en
+dev/atm/en/midway.c            optional en
 dev/netif/et/if_et.c           optional et
 dev/netif/ex/if_ex.c           optional ex
 dev/netif/ex/if_ex_isa.c       optional ex isa
index bc6e14b..fd8c6d7 100644 (file)
@@ -1777,7 +1777,7 @@ en_txdma(struct en_softc *sc, int chan)
 {
   struct mbuf *tmp;
   struct atm_pseudohdr *ap;
-  struct en_launch launch;
+  struct en_launch launch = { .tbd1 = 0 };
   int datalen = 0, dtqneed, len, ncells;
   u_int8_t *cp;
   struct ifnet *ifp;
index da4099b..ad62cb4 100644 (file)
@@ -351,6 +351,7 @@ fbattach(device_t dev)
 #define FB_UNIT(dev)   minor(dev)
 #define FB_MKMINOR(unit) (u)
 
+#if 0
 static d_default_t     fboperate;
 static d_open_t                fbopen;
 
@@ -361,6 +362,7 @@ static struct dev_ops fb_ops = {
        .d_default =    fboperate,
        .d_open =       fbopen
 };
+#endif
 
 static void
 vfbattach(void *arg)
@@ -418,6 +420,7 @@ fb_detach(cdev_t dev, video_adapter_t *adp)
        return 0;
 }
 
+#if 0
 static int
 fbopen(struct dev_open_args *ap)
 {
@@ -446,6 +449,7 @@ fboperate(struct dev_generic_args *ap)
        ap->a_dev = fdev;
        return dev_doperate(ap);
 }
+#endif
 
 /*
  * Generic frame buffer cdev driver functions
index c3e6e65..b3ea73d 100644 (file)
@@ -98,8 +98,8 @@ dev/crypto/glxsb/glxsb.c              optional        glxsb
 dev/crypto/glxsb/glxsb_hash.c          optional        glxsb
 dev/netif/ed/if_ed_isa.c               optional        ed isa
 bus/eisa/eisaconf.c                    optional        eisa
-dev/video/fb/fb.c                      optional nowerror       fb
-dev/video/fb/fb.c                      optional nowerror       vga
+dev/video/fb/fb.c                      optional        fb
+dev/video/fb/fb.c                      optional        vga
 dev/video/fb/splash.c                  optional        splash
 dev/video/fb/vga.c                     optional        vga
 dev/netif/fe/if_fe_isa.c               optional        fe isa