Use aprint_*, device_xname.
This commit is contained in:
parent
cf7d73cb17
commit
67b202aca8
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: hd64461pcmcia.c,v 1.40 2008/02/17 05:38:30 uwe Exp $ */
|
||||
/* $NetBSD: hd64461pcmcia.c,v 1.41 2008/02/17 06:03:13 uwe Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2001, 2002, 2004 The NetBSD Foundation, Inc.
|
||||
@ -37,7 +37,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: hd64461pcmcia.c,v 1.40 2008/02/17 05:38:30 uwe Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: hd64461pcmcia.c,v 1.41 2008/02/17 06:03:13 uwe Exp $");
|
||||
|
||||
#include "opt_hd64461pcmcia.h"
|
||||
|
||||
@ -260,15 +260,18 @@ hd64461pcmcia_attach(struct device *parent, struct device *self, void *aux)
|
||||
|
||||
sc->sc_module_id = ha->ha_module_id;
|
||||
|
||||
printf("\n");
|
||||
aprint_naive("\n");
|
||||
aprint_normal("\n");
|
||||
|
||||
#ifdef HD64461PCMCIA_DEBUG
|
||||
hd64461pcmcia_info(sc);
|
||||
#endif
|
||||
/* Channel 0/1 common CSC event queue */
|
||||
SIMPLEQ_INIT (&sc->sc_event_head);
|
||||
error = kthread_create(PRI_NONE, 0, NULL, hd64461pcmcia_event_thread,
|
||||
sc, &sc->sc_event_thread, "%s", sc->sc_dev.dv_xname);
|
||||
error = kthread_create(PRI_NONE, 0, NULL,
|
||||
hd64461pcmcia_event_thread, sc,
|
||||
&sc->sc_event_thread,
|
||||
"%s", device_xname(self));
|
||||
KASSERT(error == 0);
|
||||
|
||||
#if !defined(HD64461PCMCIA_REORDER_ATTACH)
|
||||
|
Loading…
Reference in New Issue
Block a user