bootdv -> booted_device

This commit is contained in:
thorpej 1997-01-31 01:53:06 +00:00
parent 3fd4de4cd9
commit 0e3acd811d
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_le.c,v 1.10 1996/05/29 04:27:11 chuck Exp $ */
/* $NetBSD: if_le.c,v 1.11 1997/01/31 01:53:06 thorpej Exp $ */
/*-
* Copyright (c) 1995 Charles M. Hannum. All rights reserved.
@ -157,7 +157,7 @@ le_pcc_attach(parent, self, aux)
/* Are we the boot device? */
if (PCC_PADDR(pa->pa_offset) == bootaddr)
bootdv = self;
booted_device = self;
pccintr_establish(PCCV_LE, am7990_intr, pa->pa_ipl, sc);
sys_pcc->le_int = pa->pa_ipl | PCC_IENABLE;

View File

@ -1,4 +1,4 @@
/* $NetBSD: autoconf.h,v 1.2 1996/09/12 06:14:04 thorpej Exp $ */
/* $NetBSD: autoconf.h,v 1.3 1997/01/31 01:53:32 thorpej Exp $ */
/*
*
@ -41,7 +41,7 @@ extern int bootctrllun; /* ctrl_lun of boot device */
extern int bootdevlun; /* dev_lun of boot device */
extern int bootpart; /* boot partition (disk) */
struct device *bootdv; /* boot device */
extern struct device *booted_device; /* boot device */
/* PARTITIONSHIFT from disklabel.h */
#define PARTITIONMASK ((1 << PARTITIONSHIFT) - 1)