[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Michael Knudsen <mk_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Fri, 17 Apr 2009 15:48:54 -0600 (MDT)
CVSROOT: /cvs
Module name: src
Changes by: mk_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 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.
Visit your host, monkey.org