summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2007-11-28 16:01:35 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2007-11-28 16:01:35 +0000
commitcafab0798510bdb9091386811d67ea266013ded4 (patch)
tree775792460a82afe91858e5e924fe6a9e72dd5ec7 /sys/dev
parent41d412659aa928b0c5d70258231bb257d36e94de (diff)
the ccb lists protect themselves, so we dont have to check if we're at
splbio when getting and putting ata xfers.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/ahci.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/pci/ahci.c b/sys/dev/pci/ahci.c
index aaebba7f7b0..5138abaa268 100644
--- a/sys/dev/pci/ahci.c
+++ b/sys/dev/pci/ahci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ahci.c,v 1.135 2007/11/28 13:47:09 dlg Exp $ */
+/* $OpenBSD: ahci.c,v 1.136 2007/11/28 16:01:34 dlg Exp $ */
/*
* Copyright (c) 2006 David Gwynne <dlg@openbsd.org>
@@ -2217,8 +2217,6 @@ ahci_ata_get_xfer(void *aaa_cookie, int port)
struct ahci_port *ap = sc->sc_ports[port];
struct ahci_ccb *ccb;
- splassert(IPL_BIO);
-
ccb = ahci_get_ccb(ap);
if (ccb == NULL) {
DPRINTF(AHCI_D_XFER, "%s: ahci_ata_get_xfer: NULL ccb\n",
@@ -2237,8 +2235,6 @@ ahci_ata_put_xfer(struct ata_xfer *xa)
{
struct ahci_ccb *ccb = (struct ahci_ccb *)xa;
- splassert(IPL_BIO);
-
DPRINTF(AHCI_D_XFER, "ahci_ata_put_xfer slot %d\n", ccb->ccb_slot);
ahci_put_ccb(ccb);