make this build w/o SIISATA_DEBUG
This commit is contained in:
parent
a36955c23e
commit
77578bbc3a
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: siisata.c,v 1.3 2009/06/17 04:37:57 jakllsch Exp $ */
|
||||
/* $NetBSD: siisata.c,v 1.4 2009/06/17 19:12:48 cegger Exp $ */
|
||||
|
||||
/* from ahcisata_core.c */
|
||||
|
||||
@ -876,8 +876,10 @@ siisata_cmd_kill_xfer(struct ata_channel *chp, struct ata_xfer *xfer,
|
||||
int
|
||||
siisata_cmd_complete(struct ata_channel *chp, struct ata_xfer *xfer, int slot)
|
||||
{
|
||||
struct siisata_softc *sc = (struct siisata_softc *)chp->ch_atac;
|
||||
struct ata_command *ata_c = xfer->c_cmd;
|
||||
#ifdef SIISATA_DEBUG
|
||||
struct siisata_softc *sc = (struct siisata_softc *)chp->ch_atac;
|
||||
#endif
|
||||
|
||||
SIISATA_DEBUG_PRINT(
|
||||
("%s: %s\n", SIISATANAME(sc), __func__), DEBUG_FUNCS);
|
||||
|
Loading…
Reference in New Issue
Block a user