Module Name: src Committed By: kiyohara Date: Sun Aug 1 07:38:17 UTC 2010
Modified Files: src/sys/dev/pci: mvsata_pci.c Log Message: Remove mvsata_pci_products's terminator(-1). Instead of it use __arraycount(). To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/pci/mvsata_pci.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/pci/mvsata_pci.c diff -u src/sys/dev/pci/mvsata_pci.c:1.4 src/sys/dev/pci/mvsata_pci.c:1.5 --- src/sys/dev/pci/mvsata_pci.c:1.4 Tue Jul 13 12:53:43 2010 +++ src/sys/dev/pci/mvsata_pci.c Sun Aug 1 07:38:17 2010 @@ -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 } };