Make this compile with the TCX_CG8 option turned on (PR#26269).
This commit is contained in:
parent
fe028e1238
commit
9fb9c69cd9
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: tcx.c,v 1.15 2003/06/29 22:30:36 fvdl Exp $ */
|
||||
/* $NetBSD: tcx.c,v 1.16 2004/07/14 19:07:29 pk Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996,1998 The NetBSD Foundation, Inc.
|
||||
@ -45,7 +45,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: tcx.c,v 1.15 2003/06/29 22:30:36 fvdl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: tcx.c,v 1.16 2004/07/14 19:07:29 pk Exp $");
|
||||
|
||||
/*
|
||||
* define for cg8 emulation on S24 (24-bit version of tcx) for the SS5;
|
||||
@ -298,11 +298,11 @@ tcxattach(parent, self, args)
|
||||
#ifdef TCX_CG8
|
||||
if (!sc->sc_8bit) {
|
||||
if (sbus_bus_map(sa->sa_bustag,
|
||||
(bus_type_t)sc->sc_physadr[TCX_REG_RDFB32].oa_space,
|
||||
(bus_addr_t)sc->sc_physadr[TCX_REG_RDFB32].oa_base,
|
||||
sc->sc_physadr[TCX_REG_RDFB32].oa_space,
|
||||
sc->sc_physadr[TCX_REG_RDFB32].oa_base,
|
||||
TCX_SIZE_DFB32,
|
||||
BUS_SPACE_MAP_LINEAR,
|
||||
0, &bh) != 0) {
|
||||
&bh) != 0) {
|
||||
printf("tcxattach: cannot map control planes\n");
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user