summaryrefslogtreecommitdiffstats
path: root/sys/dev/ppc
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1997-08-16 14:07:26 +0000
committermsmith <msmith@FreeBSD.org>1997-08-16 14:07:26 +0000
commitbfa6c5fdb807128091bf8fe473fc9ba3d38fcf9a (patch)
treefded3a77b20adb2d8cf572160cff19eada635178 /sys/dev/ppc
parentc793b7f1077ae15662365a6ea7146115a2d3444f (diff)
downloadFreeBSD-src-bfa6c5fdb807128091bf8fe473fc9ba3d38fcf9a.zip
FreeBSD-src-bfa6c5fdb807128091bf8fe473fc9ba3d38fcf9a.tar.gz
Minor ppc_data structure tweak.
Submitted by: Nicolas Souchu <Nicolas.Souchu@prism.uvsq.fr>
Diffstat (limited to 'sys/dev/ppc')
-rw-r--r--sys/dev/ppc/ppcreg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ppc/ppcreg.h b/sys/dev/ppc/ppcreg.h
index 05a58df..7ab6189e 100644
--- a/sys/dev/ppc/ppcreg.h
+++ b/sys/dev/ppc/ppcreg.h
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: ppcreg.h,v 1.1 1997/08/14 14:01:36 msmith Exp $
*
*/
#ifndef __PPC_H
@@ -45,11 +45,11 @@
* Generic structure to hold parallel port chipset info.
*/
struct ppc_data {
- int ppc_unit;
- int ppc_base;
+ int ppc_unit;
int ppc_type;
+#define ppc_base ppc_link.base
#define ppc_mode ppc_link.mode
#define ppc_epp ppc_link.epp_protocol
#define ppc_irq ppc_link.id_irq
OpenPOWER on IntegriCloud