autoconf

autoconf - /* Automatically generated; do not edit */...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
/* Automatically generated; do not edit */ #include <types.h> #include <lib.h> #include "autoconf.h" static void autoconf_beep(struct beep_softc *, int); static void autoconf_con(struct con_softc *, int); static void autoconf_emu(struct emu_softc *, int); static void autoconf_lhd(struct lhd_softc *, int); static void autoconf_lrandom(struct lrandom_softc *, int); static void autoconf_lser(struct lser_softc *, int); static void autoconf_ltimer(struct ltimer_softc *, int); static void autoconf_ltrace(struct ltrace_softc *, int); static void autoconf_pseudorand(struct pseudorand_softc *, int); static void autoconf_random(struct random_softc *, int); static void autoconf_rtclock(struct rtclock_softc *, int); static int nextunit_beep; static int nextunit_con; static int nextunit_emu; static int nextunit_lhd; static int nextunit_lrandom; static int nextunit_lser; static int nextunit_ltimer; static int nextunit_ltrace; static int nextunit_random; static int nextunit_rtclock; static int tryattach_emu_to_lamebus(int devunit, struct lamebus_softc *bus, int busunit) { struct emu_softc *dev; int result; dev = attach_emu_to_lamebus(devunit, bus); if (dev==NULL) { return -1; } kprintf("emu%d at lamebus%d", devunit, busunit); result = config_emu(dev, devunit); if (result != 0) { kprintf(": %s\n", strerror(result)); /* should really clean up dev */ return result; } kprintf("\n"); nextunit_emu = devunit+1; autoconf_emu(dev, devunit); return 0; } static int tryattach_ltrace_to_lamebus(int devunit, struct lamebus_softc *bus, int busunit) { struct ltrace_softc *dev; int result; dev = attach_ltrace_to_lamebus(devunit, bus);
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
if (dev==NULL) { return -1; } kprintf("ltrace%d at lamebus%d", devunit, busunit); result = config_ltrace(dev, devunit); if (result != 0) { kprintf(": %s\n", strerror(result)); /* should really clean up dev */ return result; } kprintf("\n"); nextunit_ltrace = devunit+1; autoconf_ltrace(dev, devunit); return 0; } static int tryattach_ltimer_to_lamebus(int devunit, struct lamebus_softc *bus, int busunit) { struct ltimer_softc *dev; int result; dev = attach_ltimer_to_lamebus(devunit, bus); if (dev==NULL) { return -1; } kprintf("ltimer%d at lamebus%d", devunit, busunit);
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/10/2009 for the course CS 536 taught by Professor Lums during the Spring '09 term at Indiana.

Page1 / 8

autoconf - /* Automatically generated; do not edit */...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online