diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c index 87540dc9a3c..33d0b553721 100644 --- a/sys/dev/syscons/syscons.c +++ b/sys/dev/syscons/syscons.c @@ -287,7 +287,7 @@ int pcprobe(struct isa_device *dev) } } kbd_wait(); - return 1; + return (IO_KBDSIZE); } diff --git a/sys/i386/isa/syscons.c b/sys/i386/isa/syscons.c index 87540dc9a3c..33d0b553721 100644 --- a/sys/i386/isa/syscons.c +++ b/sys/i386/isa/syscons.c @@ -287,7 +287,7 @@ int pcprobe(struct isa_device *dev) } } kbd_wait(); - return 1; + return (IO_KBDSIZE); } diff --git a/sys/isa/syscons.c b/sys/isa/syscons.c index 87540dc9a3c..33d0b553721 100644 --- a/sys/isa/syscons.c +++ b/sys/isa/syscons.c @@ -287,7 +287,7 @@ int pcprobe(struct isa_device *dev) } } kbd_wait(); - return 1; + return (IO_KBDSIZE); }