-/* $OpenBSD: isapnpdebug.c,v 1.3 2002/12/15 13:17:04 henning Exp $ */
+/* $OpenBSD: isapnpdebug.c,v 1.4 2022/01/03 09:48:41 jsg Exp $ */
/* $NetBSD: isapnpdebug.c,v 1.4 1997/08/03 08:12:23 mikel Exp $ */
/*
* Print a memory tag
*/
void
-isapnp_print_mem(str, mem)
- const char *str;
- const struct isapnp_region *mem;
+isapnp_print_mem(const char *str, const struct isapnp_region *mem)
{
printf("%sMemory: %s,%sshadowable,decode-%s,%scacheable,%s", str,
(mem->flags & ISAPNP_MEMATTR_ROM) ? "ROM," : "RAM,",
* Print an io tag
*/
void
-isapnp_print_io(str, io)
- const char *str;
- const struct isapnp_region *io;
+isapnp_print_io(const char *str, const struct isapnp_region *io)
{
printf("%d %sIO Ports: %d address bits, alignment %d ",
io->length, str, (io->flags & ISAPNP_IOFLAGS_16) ? 16 : 10,
* Print an irq tag
*/
void
-isapnp_print_irq(str, irq)
- const char *str;
- const struct isapnp_pin *irq;
+isapnp_print_irq(const char *str, const struct isapnp_pin *irq)
{
int i;
* Print a drq tag
*/
void
-isapnp_print_drq(str, drq)
- const char *str;
- const struct isapnp_pin *drq;
+isapnp_print_drq(const char *str, const struct isapnp_pin *drq)
{
int i;
u_char flags = drq->flags;
* Print a start dependencies tag
*/
void
-isapnp_print_dep_start(str, pref)
- const char *str;
- const u_char pref;
+isapnp_print_dep_start(const char *str, const u_char pref)
{
printf("%sconfig: ", str);
}
void
-isapnp_print_attach(pa)
- const struct isa_attach_args *pa;
+isapnp_print_attach(const struct isa_attach_args *pa)
{
int i;
* Get the current configuration of the card
*/
void
-isapnp_get_config(sc, pa)
- struct isapnp_softc *sc;
- struct isa_attach_args *pa;
+isapnp_get_config(struct isapnp_softc *sc, struct isa_attach_args *pa)
{
int i;
u_char v0, v1, v2, v3;
* Print the current configuration of the card
*/
void
-isapnp_print_config(pa)
- const struct isa_attach_args *pa;
+isapnp_print_config(const struct isa_attach_args *pa)
{
int i;
const struct isapnp_region *r;