diff options
author | Christopher Pascoe <pascoe@cvs.openbsd.org> | 2007-03-04 14:49:47 +0000 |
---|---|---|
committer | Christopher Pascoe <pascoe@cvs.openbsd.org> | 2007-03-04 14:49:47 +0000 |
commit | 68ba4bfb19a2adec8ca7ef3f4cc5a654b791f047 (patch) | |
tree | 9d7fe3c754dd96fdacdb872c9ec5b902421a3369 /sys | |
parent | 1957a371a891e39f2e4f956c4fb10bed28904bb4 (diff) |
Fix non AHCI_DEBUG build.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/ahci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/ahci.c b/sys/dev/pci/ahci.c index a7d2e739d0d..08cec427a88 100644 --- a/sys/dev/pci/ahci.c +++ b/sys/dev/pci/ahci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ahci.c,v 1.63 2007/03/04 14:46:38 pascoe Exp $ */ +/* $OpenBSD: ahci.c,v 1.64 2007/03/04 14:49:46 pascoe Exp $ */ /* * Copyright (c) 2006 David Gwynne <dlg@openbsd.org> @@ -344,6 +344,8 @@ struct ahci_port { #ifdef AHCI_DEBUG char ap_name[16]; #define PORTNAME(_ap) ((_ap)->ap_name) +#else +#define PORTNAME(_ap) DEVNAME((_ap)->ap_sc) #endif }; |