fa.openbsd.source-changes
[Top] [All Lists]

CVS: cvs.openbsd.org: src

Subject: CVS: cvs.openbsd.org: src
From: Michael Knudsen
Date: Fri, 17 Apr 2009 21:50:00 UTC
Newsgroups: fa.openbsd.source-changes

CVSROOT:        /cvs
Module name:    src
Changes by:     mk@xxxxxxxxxxxxxxx      2009/04/17 15:48:54

Modified files:
        sys/dev/isa    : sch311x.c 

Log message:
schsio_probe() reads the chip id to find out if we should attach or not.
schsio_attach() then later reads the chip id to print which device we
found.

I noticed that isa_attach_args has a field called ia_aux which can be
used for driver specific stuff, so stuff the device id in there so we
don't need to get the value from the chip again during attach.


<Prev in Thread] Current Thread [Next in Thread>