=================================================================== RCS file: /cvs/funnyos/arch/testarm/dev/tacons.c,v retrieving revision 1.4 retrieving revision 1.6 diff -u -r1.4 -r1.6 --- funnyos/arch/testarm/dev/tacons.c 2007/10/16 22:33:24 1.4 +++ funnyos/arch/testarm/dev/tacons.c 2007/10/29 21:10:03 1.6 @@ -1,5 +1,5 @@ /* - * $Id: tacons.c,v 1.4 2007/10/16 21:33:24 init Exp $ + * $Id: tacons.c,v 1.6 2007/10/29 21:10:03 init Exp $ */ #include #include @@ -22,6 +22,7 @@ struct driver tacons_dr = { sizeof(struct tacons_dd), tacons_attach, + NULL, NULL }; @@ -74,7 +75,7 @@ */ struct tacons_dd *tdp = ddp; - return( bus_write_1(tdp->td_dhp, tdp->td_ioaddr, ch) ); + bus_write_1(tdp->td_bhp, tdp->td_ioaddr, ch); }