use __vax__ and __i386__ instead of vax and i386
This commit is contained in:
parent
b2ecb4ad21
commit
31ba134e32
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: cd.c,v 1.133 1999/10/31 14:03:16 mycroft Exp $ */
|
/* $NetBSD: cd.c,v 1.134 1999/11/03 20:50:18 matt Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||||
@ -176,7 +176,7 @@ cdattach(parent, cd, sc_link, ops)
|
|||||||
cd->sc_dk.dk_name = cd->sc_dev.dv_xname;
|
cd->sc_dk.dk_name = cd->sc_dev.dv_xname;
|
||||||
disk_attach(&cd->sc_dk);
|
disk_attach(&cd->sc_dk);
|
||||||
|
|
||||||
#if !defined(i386) && !defined(vax)
|
#if !defined(__i386__) && !defined(__vax__)
|
||||||
dk_establish(&cd->sc_dk, &cd->sc_dev); /* XXX */
|
dk_establish(&cd->sc_dk, &cd->sc_dev); /* XXX */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: sd.c,v 1.152 1999/10/30 16:35:12 bouyer Exp $ */
|
/* $NetBSD: sd.c,v 1.153 1999/11/03 20:50:17 matt Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||||
@ -154,7 +154,7 @@ sdattach(parent, sd, sc_link, ops)
|
|||||||
sd->sc_dk.dk_name = sd->sc_dev.dv_xname;
|
sd->sc_dk.dk_name = sd->sc_dev.dv_xname;
|
||||||
disk_attach(&sd->sc_dk);
|
disk_attach(&sd->sc_dk);
|
||||||
|
|
||||||
#if !defined(i386) && !defined(vax)
|
#if !defined(__i386__) && !defined(__vax__)
|
||||||
dk_establish(&sd->sc_dk, &sd->sc_dev); /* XXX */
|
dk_establish(&sd->sc_dk, &sd->sc_dev); /* XXX */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user