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/e616d3f695cd
branches: trunk
changeset: 758487:e616d3f695cd
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Sat Nov 06 01:24:55 2010 +0000
description:
Enable detachment.
Tested on nForce 4 IDE (compatiblity mapped) and SATA (native mapped).
diffstat:
sys/dev/pci/viaide.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r f93b85b1c340 -r e616d3f695cd sys/dev/pci/viaide.c
--- a/sys/dev/pci/viaide.c Sat Nov 06 00:35:44 2010 +0000
+++ b/sys/dev/pci/viaide.c Sat Nov 06 01:24:55 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: viaide.c,v 1.70 2010/11/05 18:07:24 jakllsch Exp $ */
+/* $NetBSD: viaide.c,v 1.71 2010/11/06 01:24:55 jakllsch Exp $ */
/*
* Copyright (c) 1999, 2000, 2001 Manuel Bouyer.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: viaide.c,v 1.70 2010/11/05 18:07:24 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: viaide.c,v 1.71 2010/11/06 01:24:55 jakllsch Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -63,7 +63,7 @@
static bool viaide_resume(device_t, const pmf_qual_t *);
CFATTACH_DECL_NEW(viaide, sizeof(struct pciide_softc),
- viaide_match, viaide_attach, NULL, NULL);
+ viaide_match, viaide_attach, pciide_detach, NULL);
static const struct pciide_product_desc pciide_amd_products[] = {
{ PCI_PRODUCT_AMD_PBC756_IDE,
Home |
Main Index |
Thread Index |
Old Index