Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Enable detachment.
details: https://anonhg.NetBSD.org/src/rev/d4252c666647
branches: trunk
changeset: 758488:d4252c666647
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Sat Nov 06 01:25:32 2010 +0000
description:
Enable detachment.
Tested on SiI 0680 (native mapped).
diffstat:
sys/dev/pci/cmdide.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e616d3f695cd -r d4252c666647 sys/dev/pci/cmdide.c
--- a/sys/dev/pci/cmdide.c Sat Nov 06 01:24:55 2010 +0000
+++ b/sys/dev/pci/cmdide.c Sat Nov 06 01:25:32 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cmdide.c,v 1.30 2010/11/05 18:07:24 jakllsch Exp $ */
+/* $NetBSD: cmdide.c,v 1.31 2010/11/06 01:25:32 jakllsch Exp $ */
/*
* Copyright (c) 1999, 2000, 2001 Manuel Bouyer.
@@ -25,7 +25,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cmdide.c,v 1.30 2010/11/05 18:07:24 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cmdide.c,v 1.31 2010/11/06 01:25:32 jakllsch Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -42,7 +42,7 @@
static void cmdide_attach(device_t, device_t, void *);
CFATTACH_DECL_NEW(cmdide, sizeof(struct pciide_softc),
- cmdide_match, cmdide_attach, NULL, NULL);
+ cmdide_match, cmdide_attach, pciide_detach, NULL);
static void cmd_chip_map(struct pciide_softc*, struct pci_attach_args*);
static void cmd0643_9_chip_map(struct pciide_softc*, struct pci_attach_args*);
Home |
Main Index |
Thread Index |
Old Index