Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mac68k/obio remove local declaration of iwm_cd and ...
details: https://anonhg.NetBSD.org/src/rev/adfe9ef89643
branches: trunk
changeset: 537595:adfe9ef89643
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Wed Oct 02 20:35:28 2002 +0000
description:
remove local declaration of iwm_cd and fd_cd for LKM case; it's superfluous
and doesn't even compile after latest autoconf changes
diffstat:
sys/arch/mac68k/obio/iwm_fd.c | 19 ++-----------------
1 files changed, 2 insertions(+), 17 deletions(-)
diffs (33 lines):
diff -r c765104de4d5 -r adfe9ef89643 sys/arch/mac68k/obio/iwm_fd.c
--- a/sys/arch/mac68k/obio/iwm_fd.c Wed Oct 02 20:33:44 2002 +0000
+++ b/sys/arch/mac68k/obio/iwm_fd.c Wed Oct 02 20:35:28 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: iwm_fd.c,v 1.16 2002/10/02 05:36:39 thorpej Exp $ */
+/* $NetBSD: iwm_fd.c,v 1.17 2002/10/02 20:35:28 jdolecek Exp $ */
/*
* Copyright (c) 1997, 1998 Hauke Fath. All rights reserved.
@@ -213,22 +213,7 @@
* {device}_cd
* references all found devices of a type.
*/
-#ifdef _LKM
-
-struct cfdriver iwm_cd = {
- NULL, /* Ptr to array of devices found */
- "iwm", /* Device name string */
- DV_DULL, /* Device classification */
- 0 /* Number of devices found */
-};
-struct cfdriver fd_cd = {
- NULL,
- "fd",
- DV_DISK,
- 0
-};
-
-#else /* defined _LKM */
+#ifndef _LKM
extern struct cfdriver iwm_cd;
extern struct cfdriver fd_cd;
Home |
Main Index |
Thread Index |
Old Index