Treat Linux 3.x like Linux 2.6 for PCI handling purposes.

This commit is contained in:
dholland 2012-05-23 05:08:00 +00:00
parent cd808e2531
commit 4b2e40d368
2 changed files with 19 additions and 1 deletions

View file

@ -1,9 +1,10 @@
$NetBSD: distinfo,v 1.26 2012/01/09 06:38:44 ryoon Exp $
$NetBSD: distinfo,v 1.27 2012/05/23 05:08:00 dholland Exp $
SHA1 (bochs-2.5.1.tar.gz) = e1052e943ebb8e3b84f407e0e3f17607268253b6
RMD160 (bochs-2.5.1.tar.gz) = 25b515d46032626921a8cf995183116e28eba9e2
Size (bochs-2.5.1.tar.gz) = 4126651 bytes
SHA1 (patch-.bochsrc) = df5b8879ec005fe44bca8bee42c549095012013d
SHA1 (patch-Makefile.in) = ca8d485a9f4901df15eb3e521105de2ae833cfcb
SHA1 (patch-configure) = b8ee4eb622e434472b4a6fa66088e15333ef291f
SHA1 (patch-iodev_soundosx.cc) = e53434c1796133b1275a167bcec606bb185e283d
SHA1 (patch-main.cc) = 77296af5e8101c7c9ded37ec77571dbc61f98e4b

View file

@ -0,0 +1,17 @@
$NetBSD: patch-configure,v 1.3 2012/05/23 05:08:00 dholland Exp $
Treat Linux 3.x like 2.6.
--- configure~ 2012-01-06 18:51:12.000000000 +0000
+++ configure
@@ -22005,6 +22005,10 @@ $as_echo "$as_me: Linux detected as host
PCIDEV_MODULE_MAKE_ALL="all-kernel26"
KERNEL_MODULE_SUFFIX="ko"
;;
+ 3*)
+ PCIDEV_MODULE_MAKE_ALL="all-kernel26"
+ KERNEL_MODULE_SUFFIX="ko"
+ ;;
*)
as_fn_error "Linux kernel 2.4 or 2.6 is required for PCI host device mapping" "$LINENO" 5
;;