Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Remove mvsata_pci_products's terminator(-1). In...
details: https://anonhg.NetBSD.org/src/rev/6704ef393bc2
branches: trunk
changeset: 756780:6704ef393bc2
user: kiyohara <kiyohara%NetBSD.org@localhost>
date: Sun Aug 01 07:38:17 2010 +0000
description:
Remove mvsata_pci_products's terminator(-1). Instead of it use __arraycount().
diffstat:
sys/dev/pci/mvsata_pci.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r d6f2dd5d1603 -r 6704ef393bc2 sys/dev/pci/mvsata_pci.c
--- a/sys/dev/pci/mvsata_pci.c Sun Aug 01 07:29:03 2010 +0000
+++ b/sys/dev/pci/mvsata_pci.c Sun Aug 01 07:38:17 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mvsata_pci.c,v 1.4 2010/07/13 12:53:43 kiyohara Exp $ */
+/* $NetBSD: mvsata_pci.c,v 1.5 2010/08/01 07:38:17 kiyohara Exp $ */
/*
* Copyright (c) 2008 KIYOHARA Takashi
* All rights reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mvsata_pci.c,v 1.4 2010/07/13 12:53:43 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mvsata_pci.c,v 1.5 2010/08/01 07:38:17 kiyohara Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -124,8 +124,6 @@
{ PCI_VP(ADP2, 1430SA), 1, 4, gen2e, 0 },
{ PCI_VP(TRIONES, ROCKETRAID_2310), 1, 4, gen2e, 0 },
#undef PCI_VP
-
- { -1, -1, 0, 0, gen_unknown, 0 }
};
Home |
Main Index |
Thread Index |
Old Index