Subject: CVS commit: src/sys/arch/macppc/dev
To: None <source-changes@NetBSD.org>
From: Izumi Tsutsui <email@example.com>
Date: 11/02/2006 20:05:04
Module Name: src
Committed By: tsutsui
Date: Thu Nov 2 20:05:04 UTC 2006
Pass zsc_softc to zshard() directly rather than searching it in zshard().
Checking all zsc units in zshard() is efficient only on ports
which share one interrupt among all zsc units, like sparc or sun3.
On such ports, zshard() is established as a handler only once.
XXX1: more other MD zs drivers should be fixed similarly.
XXX2: zsc on macppc has independent interrupts for channel A and B,
but MI z8530sc can't handle such configuration.
To generate a diff of this commit:
cvs rdiff -r1.38 -r1.39 src/sys/arch/macppc/dev/zs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.