Remove eeprom and clock at mainbus stuff.
They are available only on sun4 or sun4c.
This commit is contained in:
parent
4e4ba0146c
commit
aa360516de
@ -1,4 +1,4 @@
|
||||
# $NetBSD: files.sparc64,v 1.105 2006/10/09 03:34:56 mrg Exp $
|
||||
# $NetBSD: files.sparc64,v 1.106 2006/10/10 12:43:11 tsutsui Exp $
|
||||
|
||||
# @(#)files.sparc64 8.1 (Berkeley) 7/19/93
|
||||
# sparc64-specific configuration info
|
||||
@ -41,7 +41,7 @@ attach ebus at pci
|
||||
file arch/sparc64/dev/ebus.c ebus
|
||||
|
||||
device clock: mk48txx
|
||||
attach clock at mainbus, sbus with clock_sbus
|
||||
attach clock at sbus with clock_sbus
|
||||
attach clock at ebus with clock_ebus
|
||||
|
||||
device rtc: mc146818
|
||||
@ -55,10 +55,6 @@ file arch/sparc64/dev/psm.c psm
|
||||
device timer
|
||||
attach timer at mainbus, sbus
|
||||
|
||||
device eeprom
|
||||
attach eeprom at sbus, ebus
|
||||
file arch/sparc64/sparc64/clock.c
|
||||
|
||||
device power
|
||||
attach power at sbus, ebus
|
||||
file arch/sparc64/dev/power.c power
|
||||
@ -173,6 +169,7 @@ file arch/sparc/fpu/fpu_subr.c
|
||||
|
||||
file arch/sparc/sparc/promlib.c
|
||||
file arch/sparc64/sparc64/autoconf.c
|
||||
file arch/sparc64/sparc64/clock.c
|
||||
file arch/sparc64/sparc64/emul.c
|
||||
file arch/sparc64/sparc64/in_cksum.S
|
||||
file arch/sparc64/sparc64/in4_cksum.c inet
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: clock.c,v 1.82 2006/10/09 21:50:27 martin Exp $ */
|
||||
/* $NetBSD: clock.c,v 1.83 2006/10/10 12:43:11 tsutsui Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -55,7 +55,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.82 2006/10/09 21:50:27 martin Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.83 2006/10/10 12:43:11 tsutsui Exp $");
|
||||
|
||||
#include "opt_multiprocessor.h"
|
||||
|
||||
@ -692,15 +692,3 @@ schedintr(void *arg)
|
||||
schedclock(curlwp);
|
||||
return (1);
|
||||
}
|
||||
|
||||
/*
|
||||
* XXX: these may actually belong somewhere else, but since the
|
||||
* EEPROM is so closely tied to the clock on some models, perhaps
|
||||
* it needs to stay here...
|
||||
*/
|
||||
int
|
||||
eeprom_uio(uio)
|
||||
struct uio *uio;
|
||||
{
|
||||
return (ENODEV);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user