Remove unused sa_membase and sa_memsize structure member variables.

This commit is contained in:
rjs 2003-04-14 14:16:10 +00:00
parent 5af328316a
commit 8704a520e3
2 changed files with 2 additions and 12 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: sa1111_var.h,v 1.3 2002/12/18 04:25:56 bsh Exp $ */
/* $NetBSD: sa1111_var.h,v 1.4 2003/04/14 14:16:10 rjs Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -69,10 +69,6 @@ typedef void *sacc_chipset_tag_t;
struct sa1111_attach_args {
bus_addr_t sa_addr; /* i/o address */
bus_size_t sa_size;
#if 0
bus_addr_t sa_membase; /* mem address */
bus_size_t sa_memsize;
#endif
int sa_intr;
};

View File

@ -1,4 +1,4 @@
/* $NetBSD: sa11x0.c,v 1.12 2003/04/03 17:47:04 he Exp $ */
/* $NetBSD: sa11x0.c,v 1.13 2003/04/14 14:17:43 rjs Exp $ */
/*-
* Copyright (c) 2001, The NetBSD Foundation, Inc. All rights reserved.
@ -110,10 +110,6 @@ sa11x0_print(aux, name)
aprint_normal(" addr 0x%lx", sa->sa_addr);
if (sa->sa_size > 1)
aprint_normal("-0x%lx", sa->sa_addr + sa->sa_size - 1);
if (sa->sa_memsize)
aprint_normal(" membase 0x%lx", sa->sa_membase);
if (sa->sa_memsize > 1)
aprint_normal("-0x%lx", sa->sa_membase + sa->sa_memsize - 1);
if (sa->sa_intr > 1)
aprint_normal(" intr %d", sa->sa_intr);
if (sa->sa_gpio != -1)
@ -216,8 +212,6 @@ sa11x0_search(parent, cf, aux)
sa.sa_iot = sc->sc_iot;
sa.sa_addr = cf->cf_loc[SAIPCF_ADDR];
sa.sa_size = cf->cf_loc[SAIPCF_SIZE];
sa.sa_membase = cf->cf_loc[SAIPCF_MEMBASE];
sa.sa_memsize = cf->cf_loc[SAIPCF_MEMSIZE];
sa.sa_intr = cf->cf_loc[SAIPCF_INTR];
sa.sa_gpio = cf->cf_loc[SAIPCF_GPIO];