Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci It's a big job to write detachment hooks for pci...



details:   https://anonhg.NetBSD.org/src/rev/fd6dddabadc7
branches:  trunk
changeset: 747916:fd6dddabadc7
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Mon Oct 05 20:03:47 2009 +0000

description:
It's a big job to write detachment hooks for pciide(4) and all of
its derivatives, and I haven't the time myself.  In struct
pciide_product_desc, provide a tiny bit of commented-out code to
guide an enterprising developer who takes on the immense task.

diffstat:

 sys/dev/pci/pciidevar.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r e4d358060ec7 -r fd6dddabadc7 sys/dev/pci/pciidevar.h
--- a/sys/dev/pci/pciidevar.h   Mon Oct 05 19:04:14 2009 +0000
+++ b/sys/dev/pci/pciidevar.h   Mon Oct 05 20:03:47 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pciidevar.h,v 1.38 2009/05/06 10:34:33 cegger Exp $    */
+/*     $NetBSD: pciidevar.h,v 1.39 2009/10/05 20:03:47 dyoung Exp $    */
 
 /*
  * Copyright (c) 1998 Christopher G. Demetriou.  All rights reserved.
@@ -165,6 +165,9 @@
        const char *ide_name;
        /* map and setup chip, probe drives */
        void (*chip_map)(struct pciide_softc*, struct pci_attach_args*);
+#if 0
+       void (*chip_unmap)(struct pciide_softc *);
+#endif
 };
 
 /* Flags for ide_flags */



Home | Main Index | Thread Index | Old Index