summaryrefslogtreecommitdiff
path: root/sys/dev/pci/ahci_pci.c
diff options
context:
space:
mode:
authorJonathan Matthew <jmatthew@cvs.openbsd.org>2017-05-27 14:16:46 +0000
committerJonathan Matthew <jmatthew@cvs.openbsd.org>2017-05-27 14:16:46 +0000
commit595f5e58e8c3d333ef28971a82e0a3bf73d22b7a (patch)
tree8c2a780261f117e40784fc878068d55704e0ec9d /sys/dev/pci/ahci_pci.c
parentba6de20e90515cc69a5c2e5fe2dc78c1ff28fd32 (diff)
remove #ifdef HIBERNATE section that declares stuff that lives in ahci.c
Diffstat (limited to 'sys/dev/pci/ahci_pci.c')
-rw-r--r--sys/dev/pci/ahci_pci.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/sys/dev/pci/ahci_pci.c b/sys/dev/pci/ahci_pci.c
index 0ab21607fee..36bf3098481 100644
--- a/sys/dev/pci/ahci_pci.c
+++ b/sys/dev/pci/ahci_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ahci_pci.c,v 1.12 2016/01/14 04:06:53 dlg Exp $ */
+/* $OpenBSD: ahci_pci.c,v 1.13 2017/05/27 14:16:45 jmatthew Exp $ */
/*
* Copyright (c) 2006 David Gwynne <dlg@openbsd.org>
@@ -163,24 +163,6 @@ void ahci_pci_attach(struct device *, struct device *,
int ahci_pci_detach(struct device *, int);
int ahci_pci_activate(struct device *, int);
-#ifdef HIBERNATE
-#include <sys/hibernate.h>
-#include <sys/disk.h>
-#include <sys/disklabel.h>
-
-#include <scsi/scsi_all.h>
-#include <scsi/scsiconf.h>
-
-void ahci_hibernate_io_start(struct ahci_port *,
- struct ahci_ccb *);
-int ahci_hibernate_io_poll(struct ahci_port *,
- struct ahci_ccb *);
-void ahci_hibernate_load_prdt(struct ahci_ccb *);
-
-int ahci_hibernate_io(dev_t dev, daddr_t blkno,
- vaddr_t addr, size_t size, int wr, void *page);
-#endif
-
struct cfattach ahci_pci_ca = {
sizeof(struct ahci_pci_softc),
ahci_pci_match,