On Sat, 17 Apr 1999, Alex Zepeda wrote:

> I'm as excited as anyone to see progress, especially if it means the
> ability to modularize the kernel and load various drivers on demand.  But,
> alas, it seems this whole thing was rushed horribly.
> 
> The first thing I noticed was the panic I got, in atkbd_isa_intr, which
> has since been fixed.
> 
> But once I got my system booted, I noticed that it didn't detect my PnP
> modem (a quick check revealed that the PnP code was #if 0'd out).  So, I
> tried my external modem, which worked.  But in the process of downloading
> email, I got about 5 sio overflows.  I've left my box up for a few days
> and rebuilt world while downloading stuff, and only gotten around one or
> two overflows.
> 
> I looked at un #ifdef'n the PnP code, but some things seem to have changed
> substantially.  Where is there any documentation on how to un-butcher
> drivers or even "properly" fix them?
> 
> Sure it looks like the pcm driver works and works with the PnP code but it
> uses the "shims".

I'm not sure about pnp but this patch should fix the overflows (not
tested):

Index: sio.c
===================================================================
RCS file: /home/ncvs/src/sys/isa/sio.c,v
retrieving revision 1.224
diff -u -r1.224 sio.c
--- sio.c       1999/04/17 01:02:27     1.224
+++ sio.c       1999/04/18 08:53:36
@@ -349,7 +349,7 @@
 static driver_t sio_driver = {
        driver_name,
        sio_methods,
-       DRIVER_TYPE_TTY,
+       DRIVER_TYPE_TTY|DRIVER_TYPE_FAST,
        sizeof(struct com_s),
 };
 

--
Doug Rabson                             Mail:  d...@nlsystems.com
Nonlinear Systems Ltd.                  Phone: +44 181 442 9037




To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to