summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-09-21 15:18:05 +0400
committerIgor Pashev <pashev.igor@gmail.com>2013-09-21 15:18:05 +0400
commit639ae532e72686415aeff8e38873e9d328809593 (patch)
tree8856d64c1f641bfc133dc844d76dca207d46ad1d
downloaddriverdb-639ae532e72686415aeff8e38873e9d328809593.tar.gz
driverdb v0.1.0dyson/0.1.0
-rw-r--r--debian/changelog5
-rw-r--r--debian/clean1
-rw-r--r--debian/compat1
-rw-r--r--debian/control27
-rw-r--r--debian/copyright25
-rw-r--r--debian/db/etc/devlink.tab11
-rw-r--r--debian/db/etc/driver_aliases1064
-rw-r--r--debian/db/etc/driver_classes27
-rw-r--r--debian/db/etc/minor_perm321
-rw-r--r--debian/db/etc/name_to_major328
-rw-r--r--debian/db/etc/security/device_policy20
-rw-r--r--debian/db/etc/security/extra_privs14
-rw-r--r--debian/dirs2
-rwxr-xr-xdebian/drivers.pl240
-rw-r--r--debian/install4
-rw-r--r--debian/iu.ap17
-rw-r--r--debian/mach9
-rw-r--r--debian/master428
-rw-r--r--debian/postinst33
-rwxr-xr-xdebian/rules38
-rw-r--r--debian/sock2path.d/default32
-rw-r--r--debian/source/format1
22 files changed, 2648 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4279304
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+driverdb (0.1.0) unstable; urgency=low
+
+ * Initial release.
+
+ -- Igor Pashev <pashev.igor@gmail.com> Sat, 21 Sep 2013 15:15:57 +0400
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..0180663
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+debian/illumos-kernel.conffiles
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..206788f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,27 @@
+Source: driverdb
+Section: kernel
+Priority: required
+Maintainer: Igor Pashev <pashev.igor@gmail.com>
+Build-Depends:
+ debhelper,
+Standards-Version: 3.9.3
+Homepage: http://illumos.org/
+Vcs-Git: http://cgit.osdyson.org/illumos/driverdb.git
+Vcs-Browser: http://cgit.osdyson.org/illumos/driverdb.git/
+
+Package: driverdb
+Architecture: all
+Section: kernel
+Pre-Depends: bootadm (>= 2.10-3)
+Replaces: illumos-kernel (<< 2.10+6)
+Recommends: drvtools
+Depends: ${misc:Depends}
+Description: illumos kernel driver database
+ This package provides metadata for illumos kernel modules, such as mapping
+ devices to drivers, modules major numbers, links in the /dev directory,
+ and driver device permissions.
+ .
+ This package creates and manages some special files such as
+ /etc/driver_aliases, /etc/driver_classes, /etc/name_to_major, /etc/minor_perm,
+ and others.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..6ca5c3d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,25 @@
+Files: debian/*
+Copyright: 2012, Igor Pashev <pashev.igor@gmail.com>
+License: WTFPL-2
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ Version 2, December 2004
+ .
+ Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
+ .
+ Everyone is permitted to copy and distribute verbatim or modified
+ copies of this license document, and changing it is allowed as long
+ as the name is changed.
+ .
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+ .
+ 0. You just DO WHAT THE FUCK YOU WANT TO.
+
+Files: debian/db/boot/solaris/devicedb/master
+Copyright: 2009, Sun Microsystems, Inc.
+License: CDDL
+ .
+ On Dyson system, the full text of the CDDL license
+ can be found in the file `/usr/share/common-licenses/CDDL-1.0'.
+
+
diff --git a/debian/db/etc/devlink.tab b/debian/db/etc/devlink.tab
new file mode 100644
index 0000000..4430ac6
--- /dev/null
+++ b/debian/db/etc/devlink.tab
@@ -0,0 +1,11 @@
+type=ddi_ctl:devctl;minor1=t4nex t4nex\M2
+type=ddi_pseudo;minor1=cpqary3 cpqary3\M2
+type=ddi_pseudo;name=ii \D
+type=ddi_pseudo;name=ncall \D
+type=ddi_pseudo;name=nsctl \D
+type=ddi_pseudo;name=nskern \D
+type=ddi_pseudo;name=rdc \D
+type=ddi_pseudo;name=sdbc \D
+type=ddi_pseudo;name=sv \D
+type=ddi_pseudo;name=tpm \D
+type=ddi_pseudo;name=xsvc \M0
diff --git a/debian/db/etc/driver_aliases b/debian/db/etc/driver_aliases
new file mode 100644
index 0000000..cb6d3a9
--- /dev/null
+++ b/debian/db/etc/driver_aliases
@@ -0,0 +1,1064 @@
+aac "pci1028,3"
+aac "pci1028,a"
+aac "pci9005,285"
+aac "pci9005,286"
+aac "pciex9005,285"
+aac "pciex9005,286"
+acpinex "acpivirtnex"
+adpu320 "pci9005,8000"
+adpu320 "pci9005,800f.9005.5f"
+adpu320 "pci9005,8010"
+adpu320 "pci9005,8011"
+adpu320 "pci9005,8012"
+adpu320 "pci9005,8014"
+adpu320 "pci9005,8015"
+adpu320 "pci9005,8016"
+adpu320 "pci9005,8017"
+adpu320 "pci9005,801d"
+adpu320 "pci9005,801e"
+adpu320 "pci9005,801f"
+adpu320 "pci9005,808f"
+afe "pci10b7,9300"
+afe "pci1113,1216"
+afe "pci1317,1985"
+afe "pci1317,9511"
+afe "pci1317,9513"
+afe "pci1317,981"
+afe "pci1317,985"
+afe "pci13d1,ab02"
+afe "pci13d1,ab03"
+afe "pci13d1,ab08"
+afe "pci1737,ab08"
+agptarget "pci1022,7454"
+agptarget "pci8086,1130"
+agptarget "pci8086,2560"
+agptarget "pci8086,2570"
+agptarget "pci8086,2580"
+agptarget "pci8086,2590"
+agptarget "pci8086,2770"
+agptarget "pci8086,27a0"
+agptarget "pci8086,27ac"
+agptarget "pci8086,2970"
+agptarget "pci8086,2980"
+agptarget "pci8086,2990"
+agptarget "pci8086,29a0"
+agptarget "pci8086,29b0"
+agptarget "pci8086,29c0"
+agptarget "pci8086,29d0"
+agptarget "pci8086,2a00"
+agptarget "pci8086,2a10"
+agptarget "pci8086,2a40"
+agptarget "pci8086,2e00"
+agptarget "pci8086,2e10"
+agptarget "pci8086,2e20"
+agptarget "pci8086,2e30"
+agptarget "pci8086,2e40"
+agptarget "pci8086,3575"
+agptarget "pci8086,3580"
+agptarget "pci8086,40"
+agptarget "pci8086,44"
+agptarget "pci8086,62"
+agptarget "pci8086,6a"
+agptarget "pci8086,7120"
+agptarget "pci8086,7122"
+agptarget "pci8086,7124"
+ahci "pciclass,010601"
+amd64_gart "pci1022,1103"
+amd8111s "pci1022,7462"
+amd_iommu "pci1002,5a23"
+amd_iommu "pci1022,11ff"
+amr "pci1000,532"
+amr "pci1028,493"
+amr "pci1028,518"
+amr "pci1028,520"
+amr "pci1028,e"
+amr "pci1028,f"
+arcmsr "pci17d3,1110"
+arcmsr "pci17d3,1120"
+arcmsr "pci17d3,1130"
+arcmsr "pci17d3,1160"
+arcmsr "pci17d3,1170"
+arcmsr "pci17d3,1201"
+arcmsr "pci17d3,1210"
+arcmsr "pci17d3,1220"
+arcmsr "pci17d3,1230"
+arcmsr "pci17d3,1260"
+arcmsr "pci17d3,1270"
+arcmsr "pci17d3,1280"
+arcmsr "pci17d3,1380"
+arcmsr "pci17d3,1381"
+arcmsr "pci17d3,1680"
+arcmsr "pci17d3,1681"
+arcmsr "pci17d3,1880"
+arn "pciex168c,2a"
+arn "pciex168c,2b"
+asy "pci11c1,480"
+ata "ide"
+atge "pciex1969,1026"
+atge "pciex1969,1048"
+atge "pciex1969,1062"
+atge "pciex1969,1063"
+atge "pciex1969,1073"
+atge "pciex1969,1083"
+atge "pciex1969,2060"
+atge "pciex1969,2062"
+ath "pci168c,1014"
+ath "pci168c,12"
+ath "pci168c,13"
+ath "pci168c,1a"
+ath "pci168c,1b"
+ath "pci168c,23"
+ath "pciex168c,1c"
+ath "pciex168c,24"
+atiatom "pci1002,4752"
+atu "usb1915,2233"
+audio1575 "pci10b9,5455"
+audio810 "pci1022,7445"
+audio810 "pci1022,746d"
+audio810 "pci1039,7012"
+audio810 "pci10de,1b1"
+audio810 "pci10de,26b"
+audio810 "pci10de,3a"
+audio810 "pci10de,59"
+audio810 "pci10de,6a"
+audio810 "pci10de,8a"
+audio810 "pci10de,da"
+audio810 "pci10de,ea"
+audio810 "pci8086,2415"
+audio810 "pci8086,2425"
+audio810 "pci8086,2445"
+audio810 "pci8086,2485"
+audio810 "pci8086,24c5"
+audio810 "pci8086,24d5"
+audio810 "pci8086,25a6"
+audio810 "pci8086,266e"
+audio810 "pci8086,2698"
+audio810 "pci8086,27de"
+audio810 "pci8086,7195"
+audiocmi "pci13f6,100"
+audiocmi "pci13f6,101"
+audiocmi "pci13f6,111"
+audiocmihd "pci13f6,8788"
+audioemu10k "pci1102,2"
+audioemu10k "pci1102,4"
+audioemu10k "pci1102,8"
+audioens "pci1274,1371"
+audioens "pci1274,5880"
+audiohd "pci10de,371"
+audiohd "pci8086,2668"
+audiohd "pciclass,0403"
+audiohd "pciexclass,0403"
+audioixp "pci1002,4341"
+audioixp "pci1002,4361"
+audioixp "pci1002,4370"
+audiols "pci1102,7"
+audiop16x "pci1102,6"
+audiopci "pci1274,5000"
+audiosolo "pci125d,1969"
+audiots "pci10b9,5451"
+audiovia823x "pci1106,3059"
+audiovia97 "pci1106,3058"
+av1394 "firewire00a02d,010000"
+av1394 "firewire00a02d,010001"
+bcm_sata "pci1166,24a"
+bfe "pci14e4,170c"
+bfe "pci14e4,4401"
+bfe "pci14e4,4402"
+bge "SUNW,bge"
+bge "pci108e,1647"
+bge "pci108e,1648"
+bge "pci108e,16a7"
+bge "pci108e,16a8"
+bge "pci14e4,1600"
+bge "pci14e4,1601"
+bge "pci14e4,1644"
+bge "pci14e4,1645"
+bge "pci14e4,1647"
+bge "pci14e4,1648"
+bge "pci14e4,1649"
+bge "pci14e4,1653"
+bge "pci14e4,1654"
+bge "pci14e4,1659"
+bge "pci14e4,165d"
+bge "pci14e4,165e"
+bge "pci14e4,1668"
+bge "pci14e4,1669"
+bge "pci14e4,166a"
+bge "pci14e4,166e"
+bge "pci14e4,1677"
+bge "pci14e4,1678"
+bge "pci14e4,1679"
+bge "pci14e4,167d"
+bge "pci14e4,1693"
+bge "pci14e4,1696"
+bge "pci14e4,1699"
+bge "pci14e4,169b"
+bge "pci14e4,169c"
+bge "pci14e4,16a6"
+bge "pci14e4,16a7"
+bge "pci14e4,16a8"
+bge "pci14e4,16c7"
+bge "pciex14e4,1655"
+bge "pciex14e4,1656"
+bge "pciex14e4,165a"
+bge "pciex14e4,165b"
+bge "pciex14e4,165c"
+bge "pciex14e4,1673"
+bge "pciex14e4,1674"
+bge "pciex14e4,1677"
+bge "pciex14e4,167a"
+bge "pciex14e4,167b"
+bge "pciex14e4,1680"
+bge "pciex14e4,1681"
+bge "pciex14e4,1684"
+bge "pciex14e4,1692"
+bge "pciex14e4,169d"
+bge "pciex14e4,16fd"
+bge "pciex14e4,1713"
+bnx "pci14e4,1639"
+bnx "pci14e4,163a"
+bnx "pci14e4,163b"
+bnx "pci14e4,163c"
+bnx "pci14e4,164a"
+bnx "pci14e4,164c"
+bnx "pci14e4,16aa"
+bnx "pci14e4,16ac"
+bnxe "pci14e4,164e"
+bnxe "pci14e4,164f"
+bnxe "pci14e4,1650"
+bnxe "pciex14e4,164e"
+bnxe "pciex14e4,164f"
+bnxe "pciex14e4,1650"
+bscbus "SVI0101"
+chxge "pci1425,7"
+chxge "pci1425,a"
+cpqary3 "pci103c,3211"
+cpqary3 "pci103c,3212"
+cpqary3 "pci103c,3223"
+cpqary3 "pci103c,3225"
+cpqary3 "pci103c,3234"
+cpqary3 "pci103c,3235"
+cpqary3 "pci103c,3237"
+cpqary3 "pci103c,323d"
+cpqary3 "pci103c,3241"
+cpqary3 "pci103c,3243"
+cpqary3 "pci103c,3245"
+cpqary3 "pci103c,3247"
+cpqary3 "pci103c,3249"
+cpqary3 "pci103c,324a"
+cpqary3 "pci103c,324b"
+cpqary3 "pcie11,4070"
+cpqary3 "pcie11,4080"
+cpqary3 "pcie11,4082"
+cpqary3 "pcie11,4083"
+cpqary3 "pcie11,4091"
+cpqary3 "pcie11,409a"
+cpqary3 "pcie11,409b"
+cpqary3 "pcie11,409c"
+cpqary3 "pcie11,409d"
+cpudrv "cpu"
+cpunex "cpus"
+cxgbe "cxgbe"
+dca "pci108e,5454"
+dca "pci108e,5455"
+dca "pci108e,5456"
+dca "pci108e,5457"
+dca "pci14e4,5820"
+dca "pci14e4,5821"
+dca "pci14e4,5822"
+dca "pci14e4,5825"
+dcam1394 "firewire000104,000100"
+dcam1394 "firewire00a02d,000100"
+dmfe "pci108e,9102"
+dmfe "pci1282,9102"
+dmfe "pci128h,9102"
+dnet "pci1011,14"
+dnet "pci1011,19"
+dnet "pci1011,2"
+dnet "pci1011,9"
+dnet "pci10b8,2001"
+dnet "pci1109,1400"
+dnet "pci1109,2400"
+dnet "pci2646,1"
+dr "acpidr_sbd"
+e1000g "pci8086,1000"
+e1000g "pci8086,1001"
+e1000g "pci8086,1004.0e11.49"
+e1000g "pci8086,1004.0e11.b1a4"
+e1000g "pci8086,1004.1014.10f2"
+e1000g "pci8086,1004.8086.1004"
+e1000g "pci8086,1004.8086.2004"
+e1000g "pci8086,1008"
+e1000g "pci8086,1009"
+e1000g "pci8086,100c"
+e1000g "pci8086,100d"
+e1000g "pci8086,100e"
+e1000g "pci8086,100f"
+e1000g "pci8086,1010"
+e1000g "pci8086,1011"
+e1000g "pci8086,1012"
+e1000g "pci8086,1013"
+e1000g "pci8086,1014"
+e1000g "pci8086,1015"
+e1000g "pci8086,1016"
+e1000g "pci8086,1017"
+e1000g "pci8086,1018"
+e1000g "pci8086,1019"
+e1000g "pci8086,101a"
+e1000g "pci8086,101d"
+e1000g "pci8086,101e"
+e1000g "pci8086,1026"
+e1000g "pci8086,1027"
+e1000g "pci8086,1028"
+e1000g "pci8086,1049"
+e1000g "pci8086,104a"
+e1000g "pci8086,104b"
+e1000g "pci8086,104c"
+e1000g "pci8086,104d"
+e1000g "pci8086,105a"
+e1000g "pci8086,105b"
+e1000g "pci8086,105c"
+e1000g "pci8086,105e"
+e1000g "pci8086,105f"
+e1000g "pci8086,1060"
+e1000g "pci8086,1061"
+e1000g "pci8086,1062"
+e1000g "pci8086,1063"
+e1000g "pci8086,1075"
+e1000g "pci8086,1076"
+e1000g "pci8086,1077"
+e1000g "pci8086,1078"
+e1000g "pci8086,1079"
+e1000g "pci8086,107a"
+e1000g "pci8086,107b"
+e1000g "pci8086,107c"
+e1000g "pci8086,107d"
+e1000g "pci8086,107e"
+e1000g "pci8086,107f"
+e1000g "pci8086,108a"
+e1000g "pci8086,108b"
+e1000g "pci8086,108c"
+e1000g "pci8086,1096"
+e1000g "pci8086,1098"
+e1000g "pci8086,1099"
+e1000g "pci8086,109a"
+e1000g "pci8086,10a4"
+e1000g "pci8086,10a5"
+e1000g "pci8086,10b5"
+e1000g "pci8086,10b9"
+e1000g "pci8086,10ba"
+e1000g "pci8086,10bb"
+e1000g "pci8086,10bc"
+e1000g "pci8086,10bd"
+e1000g "pci8086,10bf"
+e1000g "pci8086,10c0"
+e1000g "pci8086,10c2"
+e1000g "pci8086,10c3"
+e1000g "pci8086,10c4"
+e1000g "pci8086,10c5"
+e1000g "pci8086,10cb"
+e1000g "pci8086,10cc"
+e1000g "pci8086,10cd"
+e1000g "pci8086,10ce"
+e1000g "pci8086,10d3"
+e1000g "pci8086,10d5"
+e1000g "pci8086,10d9"
+e1000g "pci8086,10da"
+e1000g "pci8086,10de"
+e1000g "pci8086,10df"
+e1000g "pci8086,10e5"
+e1000g "pci8086,10ea"
+e1000g "pci8086,10eb"
+e1000g "pci8086,10ef"
+e1000g "pci8086,10f0"
+e1000g "pci8086,10f5"
+e1000g "pci8086,10f6"
+e1000g "pci8086,1502"
+e1000g "pci8086,1503"
+e1000g "pci8086,150c"
+e1000g "pci8086,294c"
+e1000g "pci8086,f0fe"
+e1000g "pciex8086,1049"
+e1000g "pciex8086,104a"
+e1000g "pciex8086,104b"
+e1000g "pciex8086,104c"
+e1000g "pciex8086,104d"
+e1000g "pciex8086,105e"
+e1000g "pciex8086,105f"
+e1000g "pciex8086,1060"
+e1000g "pciex8086,107d"
+e1000g "pciex8086,107e"
+e1000g "pciex8086,107f"
+e1000g "pciex8086,108b"
+e1000g "pciex8086,108c"
+e1000g "pciex8086,1096"
+e1000g "pciex8086,1098"
+e1000g "pciex8086,109a"
+e1000g "pciex8086,10a4"
+e1000g "pciex8086,10a5"
+e1000g "pciex8086,10b9"
+e1000g "pciex8086,10ba"
+e1000g "pciex8086,10bb"
+e1000g "pciex8086,10bc"
+e1000g "pciex8086,10bd"
+e1000g "pciex8086,10bf"
+e1000g "pciex8086,10c0"
+e1000g "pciex8086,10c2"
+e1000g "pciex8086,10c3"
+e1000g "pciex8086,10c4"
+e1000g "pciex8086,10c5"
+e1000g "pciex8086,10cb"
+e1000g "pciex8086,10cc"
+e1000g "pciex8086,10cd"
+e1000g "pciex8086,10ce"
+e1000g "pciex8086,10d3"
+e1000g "pciex8086,10d5"
+e1000g "pciex8086,10d9"
+e1000g "pciex8086,10da"
+e1000g "pciex8086,10de"
+e1000g "pciex8086,10df"
+e1000g "pciex8086,10e5"
+e1000g "pciex8086,10ea"
+e1000g "pciex8086,10eb"
+e1000g "pciex8086,10ef"
+e1000g "pciex8086,10f0"
+e1000g "pciex8086,10f5"
+e1000g "pciex8086,10f6"
+e1000g "pciex8086,1502"
+e1000g "pciex8086,1503"
+e1000g "pciex8086,150c"
+e1000g "pciex8086,294c"
+e1000g "pciex8086,f0fe"
+ecpp "lp"
+efe "pci10b8,5"
+ehci "pciclass,0c0320"
+elxl "pci10b7,9000"
+elxl "pci10b7,9001"
+elxl "pci10b7,9004"
+elxl "pci10b7,9005"
+elxl "pci10b7,9006"
+elxl "pci10b7,9050"
+elxl "pci10b7,9051"
+elxl "pci10b7,9055"
+elxl "pci10b7,9056"
+elxl "pci10b7,905a"
+elxl "pci10b7,9200"
+elxl "pci10b7,9201"
+elxl "pci10b7,9202"
+elxl "pci10b7,9800"
+elxl "pci10b7,9805"
+emlxs "lpfs"
+emlxs "pci10df,f0a5"
+emlxs "pci10df,f800"
+emlxs "pci10df,f900"
+emlxs "pci10df,f980"
+emlxs "pci10df,fa00"
+emlxs "pci10df,fc00"
+emlxs "pci10df,fc10"
+emlxs "pci10df,fc20"
+emlxs "pci10df,fd00"
+emlxs "pci10df,fe00"
+emlxs "pciex10df,f100"
+emlxs "pciex10df,f111"
+emlxs "pciex10df,f112"
+emlxs "pciex10df,fc20"
+emlxs "pciex10df,fc40"
+emlxs "pciex10df,fe00"
+emlxs "pciex10df,fe05"
+emlxs "pciex19a2,704"
+emlxs "pciex19a2,714"
+fipe "pci8086,25f0"
+fipe "pci8086,360c"
+glm "pci1000,b"
+hci1394 "pciclass,0c0010"
+heci "pci8086,2974"
+heci "pci8086,2984"
+heci "pci8086,2994"
+heci "pci8086,29a4"
+heci "pci8086,29b4"
+heci "pci8086,29c4"
+heci "pci8086,2e04"
+heci "pci8086,2e14"
+hermon "pciex15b3,6340"
+hermon "pciex15b3,634a"
+hermon "pciex15b3,6732"
+hermon "pciex15b3,673c"
+hermon "pciex15b3,6746"
+hid "usbif,class3"
+hme "pci108e,1001"
+hubd "usbif,class9"
+hwahc "usbif,classe0.2.1"
+hwarc "usbif,classe0.1.2"
+hxge "pci108e,aaaa"
+i915 "pci8086,2562"
+i915 "pci8086,2572"
+i915 "pci8086,2582"
+i915 "pci8086,2592"
+i915 "pci8086,2772"
+i915 "pci8086,27a2"
+i915 "pci8086,27ae"
+i915 "pci8086,2972"
+i915 "pci8086,2982"
+i915 "pci8086,2992"
+i915 "pci8086,29a2"
+i915 "pci8086,29b2"
+i915 "pci8086,29c2"
+i915 "pci8086,29d2"
+i915 "pci8086,2a02"
+i915 "pci8086,2a12"
+i915 "pci8086,2a42"
+i915 "pci8086,2e02.8086.2e02"
+i915 "pci8086,2e12"
+i915 "pci8086,2e22"
+i915 "pci8086,2e32"
+i915 "pci8086,2e42"
+i915 "pci8086,42"
+i915 "pci8086,46"
+ibp "ib.ipib"
+igb "pciex8086,10a7"
+igb "pciex8086,10a9"
+igb "pciex8086,10c9"
+igb "pciex8086,10d6"
+igb "pciex8086,10e6"
+igb "pciex8086,10e7"
+igb "pciex8086,10e8"
+igb "pciex8086,150a"
+igb "pciex8086,150d"
+igb "pciex8086,150e"
+igb "pciex8086,150f"
+igb "pciex8086,1510"
+igb "pciex8086,1511"
+igb "pciex8086,1516"
+igb "pciex8086,1518"
+igb "pciex8086,1521"
+igb "pciex8086,1523"
+igb "pciex8086,1526"
+intel_nb5000 "pci8086,25c0"
+intel_nb5000 "pci8086,25d0"
+intel_nb5000 "pci8086,25d4"
+intel_nb5000 "pci8086,25d8"
+intel_nb5000 "pci8086,3600"
+intel_nb5000 "pci8086,4000"
+intel_nb5000 "pci8086,4001"
+intel_nb5000 "pci8086,4003"
+intel_nb5000 "pci8086,65c0"
+intel_nhm "pci8086,3423"
+intel_nhm "pci8086,372a"
+intel_nhmex "pci8086,3438"
+ioat "pciex8086,1a38"
+ioat "pciex8086,360b"
+ioat "pciex8086,402f"
+iprb "pci8086,1029"
+iprb "pci8086,1030"
+iprb "pci8086,1031"
+iprb "pci8086,1032"
+iprb "pci8086,1038"
+iprb "pci8086,1039"
+iprb "pci8086,103d"
+iprb "pci8086,1050"
+iprb "pci8086,1059"
+iprb "pci8086,1068"
+iprb "pci8086,1069"
+iprb "pci8086,1092"
+iprb "pci8086,1209"
+iprb "pci8086,1229"
+iprb "pci8086,2449"
+iprb "pci8086,27dc"
+ipw "pci8086,1043"
+isa "pciclass,060100"
+iwh "pciex8086,4232"
+iwh "pciex8086,4235"
+iwh "pciex8086,4236"
+iwh "pciex8086,4236.8086.1011"
+iwh "pciex8086,4237"
+iwh "pciex8086,423a"
+iwh "pciex8086,423b"
+iwh "pciex8086,423c"
+iwh "pciex8086,423d"
+iwi "pci8086,4220"
+iwi "pci8086,4223"
+iwi "pci8086,4223.8086.1000"
+iwi "pci8086,4223.8086.1001"
+iwi "pci8086,4224"
+iwi "pci8086,4224.8086.1010"
+iwi "pci8086,4224.8086.1011"
+iwk "pciex8086,4229"
+iwk "pciex8086,4230"
+iwp "pciex8086,008d"
+iwp "pciex8086,008e"
+iwp "pciex8086,422b"
+iwp "pciex8086,422c"
+iwp "pciex8086,4238"
+iwp "pciex8086,4239"
+ixgb "pci8086,1048"
+ixgb "pci8086,109e"
+ixgb "pci8086,1a48"
+ixgb "pci8086,a11f"
+ixgbe "pciex8086,10b6"
+ixgbe "pciex8086,10c6"
+ixgbe "pciex8086,10c7"
+ixgbe "pciex8086,10c8"
+ixgbe "pciex8086,10db"
+ixgbe "pciex8086,10dd"
+ixgbe "pciex8086,10e1"
+ixgbe "pciex8086,10ec"
+ixgbe "pciex8086,10f1"
+ixgbe "pciex8086,10f4"
+ixgbe "pciex8086,10f7"
+ixgbe "pciex8086,10f8"
+ixgbe "pciex8086,10f9"
+ixgbe "pciex8086,10fb"
+ixgbe "pciex8086,10fc"
+ixgbe "pciex8086,1507"
+ixgbe "pciex8086,1508"
+ixgbe "pciex8086,150b"
+ixgbe "pciex8086,1514"
+ixgbe "pciex8086,1517"
+ixgbe "pciex8086,151c"
+ixgbe "pciex8086,1528"
+ixgbe "pciex8086,154d"
+ixgbe "pciex8086,1557"
+kb8042 "pnpPNP,303"
+lsimega "pci1000,1960"
+lsimega "pci1000,407"
+lsimega "pci1000,407.1000.532"
+lsimega "pci1000,408"
+lsimega "pci1000,408.1000.2"
+lsimega "pci1000,409"
+lsimega "pci1028,13"
+marvell88sx "pci11ab,5040"
+marvell88sx "pci11ab,5041"
+marvell88sx "pci11ab,5080"
+marvell88sx "pci11ab,5081"
+marvell88sx "pci11ab,6041.9"
+marvell88sx "pci11ab,6081.9"
+mc-amd "pci1022,1100"
+mc-amd "pci1022,1101"
+mc-amd "pci1022,1102"
+mega_sas "pci1000,411.1000.1001"
+mega_sas "pci1000,411.1000.1002"
+mega_sas "pci1000,411.1000.1003"
+mega_sas "pci1000,411.1000.1004"
+mega_sas "pci1000,411.1000.1008"
+mega_sas "pci1000,411.1000.100c"
+mega_sas "pci1000,411.1000.100d"
+mega_sas "pci1000,411.1000.2004"
+mega_sas "pci1000,411.1000.2005"
+mega_sas "pci1000,411.1033.8287"
+mega_sas "pci1000,411.1054.3016"
+mega_sas "pci1000,411.1734.1081"
+mega_sas "pci1000,411.1734.10a3"
+mega_sas "pci1000,411.8086.1001"
+mega_sas "pci1000,411.8086.1003"
+mega_sas "pci1000,411.8086.1008"
+mega_sas "pci1000,411.8086.3490"
+mega_sas "pci1000,411.8086.3500"
+mega_sas "pci1000,411.8086.3501"
+mega_sas "pci1000,411.8086.3504"
+mega_sas "pci1000,411.8086.3507"
+mega_sas "pci1000,413.1000.1005"
+mega_sas "pci1000,57.8086.3002"
+mega_sas "pci1000,60.1000.1006"
+mega_sas "pci1000,60.1000.100a"
+mega_sas "pci1000,60.1000.100e"
+mega_sas "pci1000,60.1000.100f"
+mega_sas "pci1000,60.1000.1010"
+mega_sas "pci1000,60.1000.1011"
+mega_sas "pci1000,60.1000.1012"
+mega_sas "pci1000,60.1000.1013"
+mega_sas "pci1000,60.1000.1014"
+mega_sas "pci1000,60.1000.1015"
+mega_sas "pci1000,60.1000.1016"
+mega_sas "pci1000,60.1000.1017"
+mega_sas "pci1000,60.1000.1018"
+mega_sas "pci1000,60.1000.1019"
+mega_sas "pci1000,60.1000.101a"
+mega_sas "pci1000,60.1000.101b"
+mega_sas "pci1000,60.1000.1021"
+mega_sas "pci1000,60.1000.1022"
+mega_sas "pci1000,60.1014.363"
+mega_sas "pci1000,60.1014.364"
+mega_sas "pci1000,60.1014.365"
+mega_sas "pci1000,60.1014.379"
+mega_sas "pci1000,60.1014.3a2"
+mega_sas "pci1000,60.1014.3ac"
+mega_sas "pci1000,60.1028.1f0a"
+mega_sas "pci1000,60.1028.1f0b"
+mega_sas "pci1000,60.1028.1f0c"
+mega_sas "pci1000,60.1028.1f0d"
+mega_sas "pci1000,60.1028.1f11"
+mega_sas "pci1000,60.1033.835a"
+mega_sas "pci1000,60.1033.836e"
+mega_sas "pci1000,60.1043.824d"
+mega_sas "pci1000,60.1054.3019"
+mega_sas "pci1000,60.1170.2f"
+mega_sas "pci1000,60.1170.34"
+mega_sas "pci1000,60.1170.36"
+mega_sas "pci1000,60.1458.1000"
+mega_sas "pci1000,60.15d9.c080"
+mega_sas "pci1000,60.1734.10f9"
+mega_sas "pci1000,60.1734.1102"
+mega_sas "pci1000,60.1734.114b"
+mega_sas "pci1000,60.17aa.6b7c"
+mega_sas "pci1000,60.18a1.3"
+mega_sas "pci1000,60.19e5.2001"
+mega_sas "pci1000,60.19e5.2002"
+mega_sas "pci1000,60.19e5.2003"
+mega_sas "pci1000,60.19e5.2004"
+mega_sas "pci1000,60.19e5.2005"
+mega_sas "pci1000,60.19e5.2006"
+mega_sas "pci1000,60.19e5.2010"
+mega_sas "pci1000,60.19e5.2011"
+mega_sas "pci1000,60.19e5.2012"
+mega_sas "pci1000,60.19e5.2013"
+mega_sas "pci1000,60.19e5.2014"
+mega_sas "pci1000,60.19e5.2015"
+mega_sas "pci1000,60.19e5.2016"
+mega_sas "pci1000,60.19e5.2017"
+mega_sas "pci1000,60.19e5.2018"
+mega_sas "pci1000,60.19e5.2019"
+mega_sas "pci1000,60.19e5.201a"
+mega_sas "pci1000,60.19e5.d203"
+mega_sas "pci1000,60.1b0a.14"
+mega_sas "pci1000,60.1fca.2163"
+mega_sas "pci1000,60.1fca.2164"
+mega_sas "pci1000,60.8086.1006"
+mega_sas "pci1000,60.8086.100a"
+mega_sas "pci1000,60.8086.1010"
+mega_sas "pci1000,60.8086.1013"
+mega_sas "pci1000,60.8086.1021"
+mega_sas "pci1000,60.8086.34cc"
+mega_sas "pci1000,60.8086.34cd"
+mega_sas "pci1000,60.8086.34e4"
+mega_sas "pci1000,60.8086.3505"
+mega_sas "pci1000,60.8086.3508"
+mega_sas "pci1000,7c.1000.101c"
+mega_sas "pci1000,7c.1000.101d"
+mega_sas "pci1000,7c.1014.395"
+mega_sas "pci1028,15.1028.1f01"
+mega_sas "pci1028,15.1028.1f02"
+mega_sas "pci1028,15.1028.1f03"
+mouse8042 "pnpPNP,f03"
+mpt "pci1000,30"
+mpt "pci1000,50"
+mpt "pci1000,54"
+mpt "pci1000,56"
+mpt "pci1000,58"
+mpt "pci1000,62"
+mpt "pciex1000,56"
+mpt "pciex1000,58"
+mpt "pciex1000,62"
+mpt_sas "pci1000,64"
+mpt_sas "pci1000,70"
+mpt_sas "pci1000,72"
+mpt_sas "pci1000,76"
+mpt_sas "pciex1000,64"
+mpt_sas "pciex1000,70"
+mpt_sas "pciex1000,72"
+mpt_sas "pciex1000,76"
+mpt_sas "pciex1000,86"
+mpt_sas "pciex1000,87"
+mr_sas "pciex1000,5b"
+mr_sas "pciex1000,5d"
+mr_sas "pciex1000,71"
+mr_sas "pciex1000,73"
+mr_sas "pciex1000,78"
+mr_sas "pciex1000,79"
+mwl "pci11ab,2a0a"
+mwl "pci11ab,2a24"
+mxfe "pci10d9,512"
+mxfe "pci10d9,531"
+mxfe "pci11ad,c115"
+mxfe "pci11fc,9881"
+myri10ge "pci14c1,8"
+myri10ge "pci14c1,9"
+myri10ge "pciex14c1,8"
+myri10ge "pciex14c1,9"
+nge "pci10de,268"
+nge "pci10de,269"
+nge "pci10de,37"
+nge "pci10de,372"
+nge "pci10de,373"
+nge "pci10de,38"
+nge "pci10de,3ee"
+nge "pci10de,3ef"
+nge "pci10de,56"
+nge "pci10de,57"
+nge "pci10de,760"
+nge "pci10de,ab0"
+nge "pci10de,df"
+nge "pci10de,e6"
+npe "pciex_root_complex"
+ntxn "pci4040,1"
+ntxn "pci4040,100"
+ntxn "pci4040,2"
+ntxn "pci4040,24"
+ntxn "pci4040,25"
+ntxn "pci4040,3"
+ntxn "pci4040,4"
+ntxn "pci4040,5"
+nulldriver "scsa,nodev"
+nulldriver "scsa,probe"
+nv_sata "pci10de,266"
+nv_sata "pci10de,267"
+nv_sata "pci10de,37f"
+nv_sata "pci10de,54"
+nv_sata "pci10de,55"
+nxge "SUNW,niusl"
+nxge "pciex108e,abcd"
+oce "pciex19a2,700"
+oce "pciex19a2,710"
+ohci "pciclass,0c0310"
+pcan "pccard15f,7"
+pcan "pccard15f,a"
+pcan "pci14b9,5000"
+pcan "pci14b9,a504"
+pcata "pccard,disk"
+pci_pci "pci1011,1"
+pci_pci "pci1011,21"
+pci_pci "pci1014,22"
+pci_pci "pciclass,060400"
+pci_pci "pciclass,060401"
+pcic "pciclass,060500"
+pcic "pciclass,060700"
+pcieb "pciexclass,060400"
+pcieb "pciexclass,060401"
+pcn "pci1022,2000"
+pcn "pci103c,104c"
+pcser "pccard,Intel_MODEM_2400+_iNC110US_A-"
+pcser "pccard,serial"
+pcser "pccard102,2"
+pcser "pccard102,5"
+pcwl "pccard138,2"
+pcwl "pccard156,2"
+pcwl "pccardb,7300"
+pcwl "pci1260,3872"
+pcwl "pci1260,3873"
+pcwl "pci1385,4105"
+pit_beep "SUNW,pit_beep"
+pmcs "pciex11f8,8001"
+pseudo "zconsnex"
+qlc "pci1077,2200"
+qlc "pci1077,2300"
+qlc "pci1077,2312"
+qlc "pci1077,2322"
+qlc "pci1077,2422"
+qlc "pciex1077,2432"
+qlc "pciex1077,2532"
+qlc "pciex1077,5432"
+qlc "pciex1077,8001"
+qlc "pciex1077,8021"
+qlge "pciex1077,8000"
+ral "pci1814,201"
+rge "pci10ec,8136"
+rge "pci10ec,8167"
+rge "pci10ec,8168"
+rge "pci10ec,8169"
+rge "pci16ec,116"
+rge "pciex10ec,8136"
+rtls "pci10ec,8139"
+rtls "pci1113,1211"
+rtls "pci1186,1300"
+rtls "pci1186,1301"
+rtw "pci10ec,8180"
+rum "usb1044,800a"
+rum "usb13b1,20"
+rum "usb148f,2573"
+rum "usb15a9,4"
+rum "usb7d1,3c03"
+rum "usb7d1,3c04"
+rum "usbb05,1723"
+rwd "pci1814,401"
+rwn "pci1814,601"
+rwn "pci1814,681"
+rwn "pci1814,701"
+rwn "pci1814,781"
+rwn "pci1a3b,1059"
+scsa1394 "firewire00609e,010483"
+scsa2usb "usb584,222"
+scsa2usb "usbif,class8"
+sd "scsiclass,00"
+sd "scsiclass,05"
+sdhost "pciclass,080500"
+sdhost "pciclass,080501"
+ses "scsiclass,03S"
+ses "scsiclass,0d"
+sfe "pci100b,20"
+sfe "pci1039,7016"
+sfe "pci1039,900"
+sgen "scsa,08.bfcp"
+sgen "scsa,08.bvhci"
+si3124 "pci1095,3124"
+si3124 "pci1095,3132"
+si3124 "pci1095,3531"
+st "scsiclass,01"
+t4nex "pciex1425,4400"
+t4nex "pciex1425,4401"
+t4nex "pciex1425,4402"
+t4nex "pciex1425,4403"
+t4nex "pciex1425,4404"
+t4nex "pciex1425,4405"
+t4nex "pciex1425,4406"
+t4nex "pciex1425,4407"
+t4nex "pciex1425,4408"
+t4nex "pciex1425,4409"
+t4nex "pciex1425,440a"
+t4nex "pciex1425,440d"
+t4nex "pciex1425,440e"
+tavor "pci15b3,5a44"
+tavor "pci15b3,5a45"
+tavor "pci15b3,6278"
+tavor "pci15b3,6279"
+tavor "pciex15b3,6278"
+tavor "pciex15b3,6279"
+uath "usb1385,4251"
+uath "usb1385,4252"
+uath "usbcf3,2"
+uath "usbcf3,3"
+uhci "pciclass,0c0300"
+ural "usb1044,8007"
+ural "usb13b1,d"
+ural "usb2001,3c00"
+ural "usb411,67"
+urtw "usb114b,150"
+urtw "usb1371,9401"
+urtw "usb50d,705e"
+urtw "usb769,11f2"
+urtw "usb789,10c"
+urtw "usb846,4260"
+urtw "usb846,6a00"
+urtw "usbbda,8187"
+urtw "usbbda,8189"
+urtw "usbbda,8197"
+urtw "usbbda,8198"
+urtw "usbdf6,28"
+usb_ac "usbif,class1.1"
+usb_as "usbif,class1.2"
+usb_ia "usb,ia"
+usb_mid "usb,device"
+usbecm "usb,class2.6.0"
+usbecm "usb430,a4a2"
+usbecm "usbif,class2.6"
+usbftdi "usb403,6001"
+usbftdi "usb403,cc48"
+usbftdi "usb403,cc49"
+usbftdi "usb403,cc4a"
+usbftdi "usb403,e888"
+usbftdi "usb403,e889"
+usbftdi "usb403,e88b"
+usbftdi "usb403,e88c"
+usbftdi "usb403,fa00"
+usbftdi "usb403,fa01"
+usbftdi "usb403,fa02"
+usbftdi "usb403,fa03"
+usbftdi "usb403,fa04"
+usbftdi "usb403,fc08"
+usbftdi "usb403,fc09"
+usbftdi "usb403,fc0b"
+usbftdi "usb403,fc0c"
+usbftdi "usb403,fc0d"
+usbftdi "usb403,fc82"
+usbftdi "usb411,00b3"
+usbftdi "usb7cc,0421"
+usbftdi "usb856,ac01"
+usbftdi "usb93c,0601"
+usbftdi "usb93c,0701"
+usbftdi "usbif403,6010.config1.1"
+usbftdi "usbif9e88,9e8f.config1.1"
+usbprn "usbif,class7.1"
+usbsacm "usb,class2.2.0"
+usbsacm "usb1410,1110"
+usbsacm "usbc88,17da"
+usbsacm "usbif,class2.2"
+usbser_edge "usbif1608,1.100.config1.0"
+usbser_edge "usbif1608,1.config1.0"
+usbser_edge "usbif1608,10.config1.0"
+usbser_edge "usbif1608,11.config1.0"
+usbser_edge "usbif1608,12.config1.0"
+usbser_edge "usbif1608,13.config1.0"
+usbser_edge "usbif1608,14.config1.0"
+usbser_edge "usbif1608,201.config1.0"
+usbser_edge "usbif1608,205.config1.0"
+usbser_edge "usbif1608,206.config1.0"
+usbser_edge "usbif1608,207.config1.0"
+usbser_edge "usbif1608,20c.config1.0"
+usbser_edge "usbif1608,20d.config1.0"
+usbser_edge "usbif1608,215.config1.0"
+usbser_edge "usbif1608,217.config1.0"
+usbser_edge "usbif1608,21a.config1.0"
+usbser_edge "usbif1608,240.config1.0"
+usbser_edge "usbif1608,241.config1.0"
+usbser_edge "usbif1608,242.config1.0"
+usbser_edge "usbif1608,243.config1.0"
+usbser_edge "usbif1608,244.config1.0"
+usbser_edge "usbif1608,247.config1.0"
+usbser_edge "usbif1608,3.config1.0"
+usbser_edge "usbif1608,4.config1.0"
+usbser_edge "usbif1608,5.config1.0"
+usbser_edge "usbif1608,6.config1.0"
+usbser_edge "usbif1608,7.config1.0"
+usbser_edge "usbif1608,c.config1.0"
+usbser_edge "usbif1608,d.config1.0"
+usbser_edge "usbif1608,e.config1.0"
+usbser_edge "usbif1608,f.config1.0"
+usbsksp "usb6cd,11a"
+usbsksp "usb6cd,121"
+usbsksp "usb6cd,12a"
+usbsksp "usb6cd,131"
+usbsprl "usb557,2008"
+usbsprl "usb56e,5004"
+usbsprl "usb5ad,fba"
+usbsprl "usb6189,2068"
+usbsprl "usb67b,2303"
+usbsprl "usb67b,aaa2"
+usbvc "usbia,classe"
+usbvc "usbia46d,8c1.config1.0"
+usbvc "usbia46d,8c2.config1.0"
+usbvc "usbia46d,8c3.config1.0"
+usbvc "usbia46d,8c5.config1.0"
+vboxguest "pci80ee,cafe"
+vgatext "pciclass,000100"
+vgatext "pciclass,030000"
+vgatext "pciclass,030001"
+vgatext "pnpPNP,900"
+vioblk "pci1af4,1001"
+vr "pci1106,3043"
+vr "pci1106,3053"
+vr "pci1106,3065"
+vr "pci1106,3106"
+wpi "pciex8086,4222"
+wpi "pciex8086,4222.8086.1000"
+wpi "pciex8086,4222.8086.1001"
+wpi "pciex8086,4222.8086.1005"
+wpi "pciex8086,4222.8086.1034"
+wpi "pciex8086,4222.8086.1040"
+wpi "pciex8086,4222.8086.1041"
+wpi "pciex8086,4222.8086.1044"
+wpi "pciex8086,4222.8086.1050"
+wpi "pciex8086,4222.8086.1053"
+wpi "pciex8086,4227"
+wpi "pciex8086,4227.8086.1011"
+wpi "pciex8086,4227.8086.1012"
+wpi "pciex8086,4227.8086.1014"
+wusb_ca "usbif,classef.3.1"
+wusb_df "usb15a9,5"
+wusb_df "usb3495,3007"
+xge "pci17d5,5731"
+xge "pci17d5,5831"
+xge "pci17d5,5832"
+xnbe "xnb,ioemu"
+xnbo "xnb"
+xnbo "xnb,SUNW_mac"
+xnbu "xnb,netfront"
+xpv "pci5853,1.1"
+yge "pciex1148,9e00"
+yge "pciex1186,4b00"
+yge "pciex11ab,4354"
+yge "pciex11ab,4355"
+yge "pciex11ab,4362"
+yge "pciex11ab,4363"
+yge "pciex11ab,4364"
+yge "pciex11ab,436a"
+zyd "usb13b1,24"
+zyd "usbace,1211"
+zyd "usbace,1215"
diff --git a/debian/db/etc/driver_classes b/debian/db/etc/driver_classes
new file mode 100644
index 0000000..e36a49d
--- /dev/null
+++ b/debian/db/etc/driver_classes
@@ -0,0 +1,27 @@
+aac scsi
+adpu320 scsi
+ahci scsi-self-identifying
+amr scsi
+arcmsr scsi
+ata dada
+ata scsi
+bcm_sata scsi-self-identifying
+cpqary3 scsi
+emlxs fibre-channel
+glm scsi
+isa sysbus
+iscsi scsi-self-identify
+lsimega scsi
+marvell88sx scsi-self-identifying
+mega_sas scsi
+mpt scsi
+mpt_sas scsi-self-identifying
+mr_sas scsi-self-identifying
+nv_sata scsi-self-identifying
+pci pci
+pci_pci pci
+pcic pcmcia
+pmcs scsi-self-identifying
+qlc fibre-channel
+scsi_vhci scsi-self-identifying
+si3124 scsi-self-identifying
diff --git a/debian/db/etc/minor_perm b/debian/db/etc/minor_perm
new file mode 100644
index 0000000..2a3f704
--- /dev/null
+++ b/debian/db/etc/minor_perm
@@ -0,0 +1,321 @@
+acpi_drv:* 0666 root sys
+adpu320:adpu320ctl 0666 root root
+afe:* 0666 root sys
+aggr:* 0666 root sys
+agpgart:* 0644 root sys
+agptarget:* 0644 root sys
+ahci:* 0644 root sys
+amd64_gart:* 0644 root sys
+amd_iommu:* 0644 root sys
+arcmsr:* 0600 root sys
+arn:* 0666 root sys
+arp:arp 0666 root sys
+asy:* 0666 root sys
+asy:*,cu 0600 uucp uucp
+ath:* 0666 root sys
+atiatom:* 0644 root sys
+atu:* 0666 root sys
+audio1575:* 0660 root audio
+audio810:* 0660 root audio
+audio:* 0660 root audio
+audio:* 0666 root sys
+audiocmi:* 0660 root audio
+audiocmihd:* 0660 root audio
+audioemu10k:* 0660 root audio
+audioens:* 0660 root audio
+audiohd:* 0660 root audio
+audioixp:* 0660 root audio
+audiols:* 0660 root audio
+audiop16x:* 0660 root audio
+audiopci:* 0660 root audio
+audiosolo:* 0660 root audio
+audiots:* 0660 root audio
+audiovia823x:* 0660 root audio
+av1394:* 0600 root sys
+balloon:* 0444 root sys
+bcm_sata:* 0644 root sys
+bge:* 0666 root sys
+bl:* 0666 root sys
+blkdev:* 0640 root root
+bnx:* 0644 root sys
+bnxe:* 0666 root sys
+bofi:* 0600 bin bin
+bpf:bpf 0666 root sys
+chxge:* 0666 root sys
+clone:afe 0666 root sys
+clone:arn 0666 root sys
+clone:ath 0666 root sys
+clone:atu 0666 root sys
+clone:bge 0666 root sys
+clone:bridge 0666 root sys
+clone:chxge 0666 root sys
+clone:cxgbe 0666 root sys
+clone:dmfe 0666 root sys
+clone:dnet 0666 root sys
+clone:e1000g 0666 root sys
+clone:efe 0666 root sys
+clone:elxl 0666 root sys
+clone:eoib 0666 root sys
+clone:ibp 0666 root sys
+clone:igb 0666 root sys
+clone:iprb 0666 root sys
+clone:ipw 0666 root sys
+clone:iwh 0666 root sys
+clone:iwi 0666 root sys
+clone:iwk 0666 root sys
+clone:iwp 0666 root sys
+clone:ixgbe 0666 root sys
+clone:llc1 0666 root sys
+clone:mwl 0666 root sys
+clone:mxfe 0666 root sys
+clone:myri10ge 0666 root sys
+clone:nge 0666 root sys
+clone:pcan 0666 root sys
+clone:pcn 0666 root sys
+clone:pcwl 0666 root sys
+clone:ptmx 0666 root sys
+clone:ral 0666 root sys
+clone:rge 0666 root sys
+clone:rtls 0666 root sys
+clone:rtw 0666 root sys
+clone:rum 0666 root sys
+clone:rwd 0666 root sys
+clone:rwn 0666 root sys
+clone:simnet 0666 root sys
+clone:t4nex 0666 root sys
+clone:ticlts 0666 root sys
+clone:ticots 0666 root sys
+clone:ticotsord 0666 root sys
+clone:uath 0666 root sys
+clone:ural 0666 root sys
+clone:urtw 0666 root sys
+clone:vioblk 0666 root sys
+clone:vnic 0666 root sys
+clone:wpi 0666 root sys
+clone:xge 0666 root sys
+clone:zyd 0666 root sys
+cmdk:* 0640 root sys
+cn:* 0620 root tty
+conskbd:kbd 0666 root sys
+consms:mouse 0666 root sys
+cpc:shared 0666 root sys
+cpuid:self 0644 root sys
+crypto:crypto 0666 root sys
+cryptoadm:cryptoadm 0644 root sys
+cxgbe:* 0666 root sys
+daplt:* 0644 root sys
+dcam1394:* 0666 root sys
+devinfo:devinfo 0640 root sys
+devinfo:devinfo,ro 0444 root sys
+dld:* 0666 root sys
+dlpistub:* 0666 root sys
+dmfe:* 0666 root sys
+dnet:* 0666 root sys
+domcaps:* 0444 root sys
+dtrace:* 0666 root sys
+dump:dump 0660 root sys
+e1000g:* 0666 root sys
+ecpp:* 0666 root sys
+efe:* 0666 root sys
+ehci:* 0644 root sys
+eibnx:* 0666 root sys
+elxl:* 0666 root sys
+emlxs:* 0666 root sys
+eoib:* 0666 root sys
+evtchn:* 0666 root sys
+fasttrap:fasttrap 0666 root sys
+fbt:fbt 0644 root sys
+fcip:* 0600 root sys
+fcoe:* 0600 root sys
+fcoei:* 0600 root sys
+fcoet:* 0600 root sys
+fcp:* 0600 root sys
+fcsm:* 0600 root sys
+fct:* 0666 root sys
+fd:* 0666 root sys
+fm:* 0644 root sys
+fp:* 0600 root sys
+fssnap:* 0640 root sys
+fssnap:ctl 0666 root sys
+glm:* 0755 root sys
+hci1394:* 0600 root sys
+heci:* 0644 root sys
+hermon:* 0666 root sys
+hid:* 0600 root sys
+hubd:* 0644 root sys
+hwahc:* 0644 root sys
+hwarc:* 0644 root sys
+hxge:* 0600 root sys
+i915:* 0644 root sys
+ib:* 0644 root sys
+ibp:* 0666 root sys
+icmp6:icmp6 0666 root sys
+icmp:icmp 0666 root sys
+igb:* 0666 root sys
+ii:* 0666 root sys
+ip6:ip6 0666 root sys
+ip:ip 0666 root sys
+ipf:* 0666 root sys
+ipmi:* 0600 root sys
+ipnet:lo0 0666 root sys
+iprb:* 0666 root sys
+ipsecah:ipsecah 0666 root sys
+ipsecesp:ipsecesp 0666 root sys
+ipw:* 0666 root sys
+iscsi:* 0600 root sys
+iscsit:* 0600 root sys
+iser:* 0600 root sys
+iwh:* 0666 root sys
+iwi:* 0666 root sys
+iwk:* 0666 root sys
+iwp:* 0666 root sys
+ixgb:* 0666 root root
+ixgbe:* 0666 root sys
+keysock:keysock 0666 root sys
+kssl:* 0666 root sys
+kstat:* 0666 root sys
+ksyms:* 0666 root sys
+lockstat:* 0644 root sys
+lofi:* 0600 root sys
+lofi:ctl 0644 root sys
+log:conslog 0666 root sys
+log:log 0640 root sys
+marvell88sx:* 0644 root sys
+md:* 0640 root sys
+md:admin 0644 root sys
+mm:allkmem 0600 root sys
+mm:kmem 0640 root sys
+mm:mem 0640 root sys
+mm:null 0666 root sys
+mm:zero 0666 root sys
+mwl:* 0666 root sys
+mxfe:* 0666 root sys
+myri10ge:* 0666 root sys
+ncall:* 0666 root sys
+nge:* 0666 root sys
+nsctl:* 0666 root sys
+nskern:* 0666 root sys
+nsmb:* 0666 root sys
+nv_sata:* 0644 root sys
+nxge:* 0600 root sys
+oce:* 0666 root sys
+ohci:* 0644 root sys
+openeepr:openprom 0640 root sys
+pcan:* 0666 root sys
+pcn:* 0666 root sys
+pcser:* 0666 uucp uucp
+pcwl:* 0666 root sys
+physmem:* 0600 root sys
+pm:* 0666 root sys
+pmcs:* 0600 root sys
+poll:* 0666 root sys
+pool:pool 0666 root sys
+pool:poolctl 0666 root sys
+pppt:* 0666 root sys
+privcmd:* 0666 root sys
+profile:profile 0644 root sys
+ptc:* 0666 root sys
+pts:* 0644 root sys
+pts:0 0620 root tty
+pts:1 0620 root tty
+pts:2 0620 root tty
+pts:3 0620 root tty
+ptsl:* 0666 root sys
+qlc:* 0666 root sys
+qlge:* 0666 root sys
+qlt:* 0666 root sys
+ral:* 0666 root sys
+ramdisk:* 0600 root sys
+ramdisk:ctl 0644 root sys
+random:* 0644 root sys
+rdc:* 0666 root sys
+rds:* 0644 root sys
+rdsib:* 0644 root sys
+rdsv3:* 0644 root sys
+rge:* 0666 root sys
+rpcib:* 0644 root sys
+rsm:* 0666 root sys
+rtls:* 0666 root sys
+rts:rts 0666 root sys
+rtw:* 0666 root sys
+rum:* 0666 root sys
+rwd:* 0666 root sys
+rwn:* 0666 root sys
+sad:admin 0666 root sys
+sad:user 0666 root sys
+scsa1394:* 0666 root sys
+scsi_vhci:* 0666 root sys
+sd:* 0640 root sys
+sdbc:* 0666 root sys
+sdhost:* 0644 root root
+sdp:* 0644 root sys
+sdp:sdp 0666 root sys
+sdpib:* 0644 root sys
+sdt:sdt 0644 root sys
+ses:* 0666 bin bin
+sfe:* 0666 root root
+sgen:* 0600 root sys
+si3124:* 0644 root sys
+simnet:* 0666 root sys
+smbios:smbios 0444 root sys
+smbsrv:* 0640 root sys
+smp:* 0644 root sys
+sol_ucma:* 0666 root sys
+sol_umad:* 0666 root sys
+sol_uverbs:* 0666 root sys
+spdsock:spdsock 0666 root sys
+srpt:* 0644 root sys
+st:* 0666 root sys
+stmf:* 0666 root sys
+stmf_sbd:* 0666 root sys
+sv:* 0666 root sys
+sy:tty 0666 root tty
+sysevent:* 0600 root sys
+sysmsg:msglog 0600 root sys
+sysmsg:sysmsg 0600 root sys
+systrace:systrace 0644 root sys
+t4nex:* 0666 root sys
+tavor:* 0666 root sys
+tcp6:tcp6 0666 root sys
+tcp:tcp 0666 root sys
+tl:* 0666 root sys
+tnf:tnfctl 0600 root sys
+tnf:tnfmap 0600 root sys
+tpm:* 0600 root sys
+uath:* 0666 root sys
+ucode:* 0644 root sys
+udp6:udp6 0666 root sys
+udp:udp 0666 root sys
+ugen:* 0644 root sys
+uhci:* 0644 root sys
+ural:* 0666 root sys
+urtw:* 0666 root sys
+usb_ac:* 0600 root sys
+usb_as:* 0600 root sys
+usbecm:* 0666 root sys
+usbftdi:* 0666 root sys
+usbprn:* 0666 root sys
+usbsacm:* 0666 root sys
+usbser_edge:* 0666 root sys
+usbsksp:* 0666 root sys
+usbsprl:* 0666 root sys
+usbvc:* 0666 root sys
+vboxguest:* 0666 root sys
+vboxms:* 0666 root sys
+vioblk:* 0666 root sys
+vnic:* 0666 root sys
+vr:* 0666 root sys
+vscan:* 0640 root sys
+wc:* 0600 root sys
+winlock:* 0666 root sys
+wpi:* 0666 root sys
+wusb_ca:* 0666 root sys
+wusb_df:* 0666 root sys
+xenbus:* 0666 root sys
+xge:* 0666 root sys
+xpvtap:* 0666 root sys
+yge:* 0666 root sys
+zfs:* 0600 root sys
+zfs:zfs 0666 root sys
+zut:* 0666 root sys
+zyd:* 0666 root sys
diff --git a/debian/db/etc/name_to_major b/debian/db/etc/name_to_major
new file mode 100644
index 0000000..6e0f17a
--- /dev/null
+++ b/debian/db/etc/name_to_major
@@ -0,0 +1,328 @@
+iscsit 1
+ixgb 2
+nca 3
+ugen 4
+dmfe 5
+aac 6
+audio810 7
+audio 8
+audio1575 9
+audioens 10
+audiopci 11
+audiots 12
+audiocmi 13
+dr 14
+urtw 15
+uath 16
+rwn 17
+elxl 18
+xpv 19
+hci1394 20
+nge 21
+vscan 22
+srpt 23
+pmcs 24
+usbser_edge 25
+xsvc 26
+hme 27
+mega_sas 28
+usbsprl 29
+iwp 30
+bge 31
+pcan 32
+nsmb 33
+bcm_sata 34
+rdc 35
+iser 36
+ncall 37
+nsctl 38
+nskern 39
+sdbc 40
+qlc 41
+qlge 42
+vr 43
+audiohd 44
+ata 45
+pci-ide 46
+atiatom 47
+wpi 48
+amd8111s 49
+ibp 50
+chxge 51
+tnf 52
+tavor 53
+ses 54
+iprb 55
+ipmi 56
+fcsm 57
+mr_sas 58
+i915 59
+smp 60
+rtw 61
+ath 62
+audioixp 63
+sfe 64
+ahci 65
+fcoet 66
+emlxs 67
+oce 68
+audiocmihd 69
+arn 70
+scsa1394 71
+acpi_drv 72
+aggr 73
+arp 74
+bl 75
+bridge 76
+bscbus 77
+bscv 78
+clone 79
+cn 80
+conskbd 81
+consms 82
+cpuid 83
+cpunex 84
+md 85
+crypto 86
+cryptoadm 87
+devinfo 88
+dld 89
+dlpistub 90
+i8042 91
+icmp 92
+icmp6 93
+intel_nb5000 94
+intel_nhm 95
+intel_nhmex 96
+ip 97
+ip6 98
+ipnet 99
+ippctl 100
+ipsecah 101
+ipsecesp 102
+iptun 103
+iwscn 104
+kb8042 105
+asy 106
+keysock 107
+kmdb 108
+kssl 109
+llc1 110
+lofi 111
+log 112
+mc-amd 113
+mm 114
+mouse8042 115
+mpt 116
+nulldriver 117
+openeepr 118
+options 119
+pci_pci 120
+pcieb 121
+physmem 122
+poll 123
+power 124
+pseudo 125
+ptc 126
+ptsl 127
+ramdisk 128
+random 129
+rts 130
+sad 131
+scsi_vhci 132
+sd 133
+sgen 134
+simnet 135
+smbios 136
+softmac 137
+spdsock 138
+st 139
+sy 140
+sysevent 141
+sysmsg 142
+tcp 143
+tcp6 144
+tl 145
+tzmon 146
+ucode 147
+udp 148
+udp6 149
+vgatext 150
+vnic 151
+wc 152
+av1394 153
+iscsi 154
+pm 155
+heci 156
+ixgbe 157
+mpt_sas 158
+blkdev 159
+amd64_gart 160
+agpgart 161
+agptarget 162
+zut 163
+winlock 164
+dca 165
+hxge 166
+ipw 167
+usbsksp 168
+ipf 169
+sppp 170
+sppptun 171
+rge 172
+hermon 173
+bfe 174
+cmdk 175
+ecpp 176
+fd 177
+fdc 178
+atu 179
+fct 180
+pppt 181
+qlt 182
+stmf 183
+stmf_sbd 184
+mxfe 185
+fcoei 186
+sol_ucma 187
+sol_umad 188
+sol_uverbs 189
+audiosolo 190
+ural 191
+iwh 192
+srn 193
+zfs 194
+rum 195
+rds 196
+rdsib 197
+pcser 198
+bofi 199
+rdsv3 200
+si3124 201
+dnet 202
+audiovia823x 203
+glm 204
+iwi 205
+usbftdi 206
+xge 207
+ib 208
+dump 209
+fssnap 210
+kstat 211
+ksyms 212
+logindmux 213
+ptm 214
+pts 215
+pcn 216
+iwk 217
+xdt 218
+adpu320 219
+rtls 220
+bpf 221
+nv_sata 222
+pool 223
+smbsrv 224
+marvell88sx 225
+pcic 226
+pcs 227
+sdhost 228
+ii 229
+fcoe 230
+ntxn 231
+fp 232
+dcpc 233
+dtrace 234
+fasttrap 235
+fbt 236
+lockstat 237
+profile 238
+did 239
+sdt 240
+systrace 241
+e1000g 242
+usbvc 243
+nxge 244
+rsm 245
+rwd 246
+fcip 247
+bnxe 248
+audiop16x 249
+audioemu10k 250
+fipe 251
+efe 252
+arcmsr 253
+ioat 254
+audiols 255
+cpc 256
+fm 257
+sdp 258
+afe 259
+rpcib 260
+ral 261
+dcam1394 262
+sdpib 263
+zyd 264
+amr 265
+sv 266
+mwl 267
+eibnx 268
+eoib 269
+bnx 270
+lsimega 271
+audiovia97 272
+pcwl 273
+cpqary3 274
+atge 275
+ehci 276
+hid 277
+hubd 278
+hwahc 279
+hwarc 280
+ohci 281
+scsa2usb 282
+uhci 283
+usb_ac 284
+usb_as 285
+usb_ia 286
+usb_mid 287
+usbprn 288
+wusb_ca 289
+wusb_df 290
+tpm 291
+usbecm 292
+fcp 293
+zcons 294
+pcata 295
+daplt 296
+usbsacm 297
+acpinex 298
+acpippm 299
+amd_iommu 300
+balloon 301
+cpudrv 302
+domcaps 303
+evtchn 304
+isa 305
+npe 306
+pci 307
+pit_beep 308
+ppm 309
+privcmd 310
+rootnex 311
+xdb 312
+xdf 313
+xenbus 314
+xencons 315
+xnbe 316
+xnbo 317
+xnbu 318
+xnf 319
+xpvd 320
+xpvtap 321
+yge 322
+myri10ge 323
+igb 324
+vboxvideo 325
+vboxguest 326
+vboxms 327
+fuse 328
diff --git a/debian/db/etc/security/device_policy b/debian/db/etc/security/device_policy
new file mode 100644
index 0000000..2337dff
--- /dev/null
+++ b/debian/db/etc/security/device_policy
@@ -0,0 +1,20 @@
+* read_priv_set=none write_priv_set=none
+bridge:* read_priv_set=net_rawaccess write_priv_set=net_rawaccess
+fssnap:ctl read_priv_set=sys_config write_priv_set=sys_config
+icmp6:* read_priv_set=net_icmpaccess write_priv_set=net_icmpaccess
+icmp:* read_priv_set=net_icmpaccess write_priv_set=net_icmpaccess
+ip6:* read_priv_set=net_rawaccess write_priv_set=net_rawaccess
+ip:* read_priv_set=net_rawaccess write_priv_set=net_rawaccess
+ipf:* read_priv_set=sys_ip_config write_priv_set=sys_ip_config
+ipnet:* read_priv_set=net_observability write_priv_set=net_observability
+ipsecah:* read_priv_set=sys_ip_config write_priv_set=sys_ip_config
+ipsecesp:* read_priv_set=sys_ip_config write_priv_set=sys_ip_config
+keysock:* read_priv_set=sys_ip_config write_priv_set=sys_ip_config
+md:admin write_priv_set=sys_config
+mm:allkmem read_priv_set=all write_priv_set=all
+mm:kmem read_priv_set=none write_priv_set=all
+mm:mem read_priv_set=none write_priv_set=all
+openeepr:* write_priv_set=all
+random:* write_priv_set=sys_devices
+scsi_vhci:devctl write_priv_set=sys_devices
+spdsock:* read_priv_set=sys_ip_config write_priv_set=sys_ip_config
diff --git a/debian/db/etc/security/extra_privs b/debian/db/etc/security/extra_privs
new file mode 100644
index 0000000..9ce1ac0
--- /dev/null
+++ b/debian/db/etc/security/extra_privs
@@ -0,0 +1,14 @@
+ii:sys_config
+ii:sys_devices
+ncall:sys_config
+ncall:sys_devices
+nsctl:sys_config
+nsctl:sys_devices
+nskern:sys_config
+nskern:sys_devices
+rdc:sys_config
+rdc:sys_devices
+sdbc:sys_config
+sdbc:sys_devices
+sv:sys_config
+sv:sys_devices
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..f9d7bd1
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,2 @@
+/etc
+/etc/security
diff --git a/debian/drivers.pl b/debian/drivers.pl
new file mode 100755
index 0000000..71a4785
--- /dev/null
+++ b/debian/drivers.pl
@@ -0,0 +1,240 @@
+#!/usr/bin/perl
+
+# Extract data from IPS manifests
+# and write driver configuration files:
+# /etc/driver_aliases,
+# /etc/driver_classes,
+# /etc/minor_perm,
+# /etc/devlink.tab,
+# /etc/name_to_major,
+# /etc/security/device_policy,
+# /etc/security/extra_privs.
+
+use strict;
+use warnings FATAL => 'all';
+use Getopt::Long qw(:config no_ignore_case);
+
+# All these array contain strings ending with "\n":
+my @driver_aliases = (); # strings like 'e1000g "pci8086,1010"'
+my @driver_classes = (); # strings like 'adpu320<tab>scsi'
+my @minor_perm = (); # strings like 'devinfo:devinfo,ro 0444 root sys'
+my @device_policy =
+ (); # strings like 'mm:* read_priv_set=none write_priv_set=none'
+my @devlink_tab =
+ (); # strings like 'type=ddi_pseudo;minor1=cpqary3<tab>cpqary3\M2'
+my @extra_privs = (); # strings like 'nskern:sys_devices'
+my @name_to_major = (); # strings like 'mm 16'
+
+# Drivers' major numbers:
+my %major2name = (); # id => name
+my %name2major = (); # name => id
+
+# Default open privileges, must be first entry in the file:
+push @device_policy, "* read_priv_set=none write_priv_set=none\n";
+
+# -D i386_ONLY=
+my %defs = ();
+my $rootdir = '/tmp';
+my $majors = 'debian/name_to_major';
+my $arch = 'i386';
+my @archs = qw/i386 sparc/;
+
+sub usage() {
+ print <<USAGE;
+Usage: $0 [options] [manifests] ...
+ or: cat manifest | $0 [options]
+
+Options:
+ -D var=value Define a variable to substitute in manifests
+ E. g. if you want x86 drivers, set i386_ONLY
+ to empty string: -D i386_ONLY=
+
+ -r directory Create file tree under this directory ($rootdir)
+ This script will create all required directories,
+ including /etc. Every file will be overwritten.
+
+ -m file initial name2major file with predefined
+ major numbers ($majors)
+
+ -a arch Consider drivers for this architecture only ($arch),
+ supported values: @archs
+
+ --help, -h Show this message
+
+USAGE
+ exit 1;
+}
+
+GetOptions(
+ 'r=s' => \$rootdir,
+ 'D=s' => \%defs,
+ 'm=s' => \$majors,
+ 'a=s' => \$arch,
+ 'help|h' => sub { usage() },
+) or usage();
+
+sub set_major($$) {
+ my ( $name, $id ) = @_;
+ die "`$name' already defined ($name2major{$name})"
+ if exists $name2major{$name};
+ die "`$id' already defined ($major2name{$id})" if exists $major2name{$id};
+ $name2major{$name} = $id;
+ $major2name{$id} = $name;
+}
+
+sub new_major($) {
+ my ($name) = @_;
+ return if exists $name2major{$name};
+
+ my $newid = 1;
+ $newid++ while exists $major2name{$newid};
+ set_major( $name, $newid );
+}
+
+sub collect($) {
+ my $drv = $_[0];
+ my $name = '';
+
+ # For the case when name= does not go first:
+ if ( $drv =~ m/\bname=([a-zA-Z0-9_-]+)\b/ ) {
+ $name = $1;
+ }
+ else {
+ die "could not get a driver name from line `$drv'";
+ }
+
+# http://stackoverflow.com/questions/168171/regular-expression-for-parsing-name-value-pairs
+ while (
+ $drv =~ s/((?:\\.|[^= ]+)*)=("(?:\\.|[^"\\]+)*"|(?:\\.|[^ "\\]+)*)// )
+ {
+ my ( $k, $v ) = ( $1, $2 );
+ $v =~ s/^"(.+)"$/$1/;
+ $v =~ s/^'(.+)'$/$1/;
+ if ( $k eq 'name' ) {
+ $name eq $v
+ or die
+"We've read name= again and it differs from the previous: `$name' != `$v'";
+ }
+ elsif ( $k eq "alias" ) {
+ push @driver_aliases, qq($name "$v"\n);
+ }
+ elsif ( $k eq "perms" ) {
+ push @minor_perm, qq($name:$v\n);
+ }
+ elsif ( $k eq "clone_perms" ) {
+ push @minor_perm, qq(clone:$v\n); # Fuck you, IPS.
+ }
+ elsif ( $k eq "class" ) {
+ push @driver_classes, qq($name\t$v\n);
+ }
+ elsif ( $k eq "policy" ) {
+ my ($first_token) = split( /\s+/, $v );
+ $v = "* $v" if $first_token =~ /=/;
+ push @device_policy, qq($name:$v\n);
+ }
+ elsif ( $k eq "devlink" ) {
+ $v =~ s/\\t/\t/g;
+ push @devlink_tab, qq($v\n);
+ }
+ elsif ( $k eq "privs" ) {
+ push @extra_privs, qq($name:$v\n);
+ }
+ else {
+ die "Do not know what to do with `$k=$v'";
+ }
+ }
+
+ # Do it here to ensure $name is correct:
+ new_major($name);
+}
+
+sub read_manifest($) {
+ open( MF, '<', $_[0] ) or die "Could not open `$_[0]' for reading: $!";
+
+# http://stackoverflow.com/questions/12799907/how-to-read-multi-line-values-from-a-file-using-perl
+ while (<MF>) {
+
+ # Maybe multiline:
+ $_ .= <MF> while s/\\\n// and not eof;
+
+ # Substitute variables:
+ foreach my $k ( keys %defs ) {
+ s/\Q$($k)\E/$defs{$k}/g;
+ }
+
+ # Ignore comments:
+ next if /^#/;
+
+ # Skip sparc drivers on i386 and vice versa.
+ # For common drivers variable ARCH must be defined
+ # (i386 or sparc, e. g. -D ARCH=i386)
+ if (/^set\s+name=variant\.arch\s+value=(\S+)/) {
+ $1 ~~ @archs
+ or die "arch `$1' is not within supported list: @archs";
+ last if $1 ne $arch;
+ }
+
+ if (/^driver/) {
+ chomp;
+ collect($_);
+ }
+ }
+ close(MF);
+}
+
+$arch ~~ @archs or die "Architecture `$arch' is not supported";
+
+-d "$rootdir" or die "`$rootdir': not such directory.";
+
+open( N2M, '<', $majors ) or die "Could not open `$majors' for reading: $!";
+while (<N2M>) {
+ my ( $n, $m ) = split( /\s+/, $_ );
+ set_major( $n, $m );
+}
+close(N2M);
+
+# Reading IPS manifests given in command line:
+if (@ARGV) {
+ read_manifest($_) foreach (@ARGV);
+}
+else { # or from stdin:
+ while (<STDIN>) {
+ chomp;
+ read_manifest($_);
+ }
+}
+
+-d "$rootdir/etc"
+ or mkdir "$rootdir/etc"
+ or die "Could not mkdir `$rootdir/etc': $!";
+-d "$rootdir/etc/security"
+ or mkdir "$rootdir/etc/security"
+ or die "Could not mkdir `$rootdir/etc/security': $!";
+
+sub write_file($$) {
+ my ( $fname, $array_ref ) = @_;
+ open( DA, ">$fname" ) or die "Could not open `$fname' for writing: $!";
+ print DA foreach @{$array_ref};
+ close(DA);
+}
+
+# Asterisk (*) will go first. It is important for device_policy.
+@device_policy = sort { $a cmp $b } @device_policy;
+@devlink_tab = sort { $a cmp $b } @devlink_tab;
+@driver_aliases = sort { $a cmp $b } @driver_aliases;
+@driver_classes = sort { $a cmp $b } @driver_classes;
+@extra_privs = sort { $a cmp $b } @extra_privs;
+@minor_perm = sort { $a cmp $b } @minor_perm;
+@name_to_major =
+ map { "$major2name{$_} $_\n" } sort { $a <=> $b } keys %major2name;
+
+write_file( "$rootdir/etc/driver_aliases", \@driver_aliases );
+write_file( "$rootdir/etc/driver_classes", \@driver_classes );
+write_file( "$rootdir/etc/minor_perm", \@minor_perm );
+write_file( "$rootdir/etc/name_to_major", \@name_to_major );
+write_file( "$rootdir/etc/devlink.tab", \@devlink_tab );
+write_file( "$rootdir/etc/security/device_policy", \@device_policy );
+write_file( "$rootdir/etc/security/extra_privs", \@extra_privs );
+
+exit(0);
+
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..92c0d2e
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,4 @@
+debian/iu.ap /etc/
+debian/mach /etc/
+debian/master /boot/solaris/devicedb/
+debian/sock2path.d /etc/
diff --git a/debian/iu.ap b/debian/iu.ap
new file mode 100644
index 0000000..4a86599
--- /dev/null
+++ b/debian/iu.ap
@@ -0,0 +1,17 @@
+# /dev/console and /dev/contty autopush setup
+#
+# major minor lastminor modules
+
+ wc -1 0 ldterm ttcompat
+ asy -1 0 ldterm ttcompat
+ xencons 0 0 ldterm ttcompat
+ ptsl 0 47 ldterm ttcompat
+ usbsacm -1 0 ldterm ttcompat
+ usbser_edge -1 0 ldterm ttcompat
+ usbsprl -1 0 ldterm ttcompat
+ usbsksp -1 0 ldterm ttcompat
+ usbftdi -1 0 ldterm ttcompat
+ ipsecesp -1 0 ipsecesp
+ ipsecah -1 0 ipsecah
+ pcser 0 255 ldterm ttcompat
+
diff --git a/debian/mach b/debian/mach
new file mode 100644
index 0000000..0c3f3b5
--- /dev/null
+++ b/debian/mach
@@ -0,0 +1,9 @@
+# Load platform specific modules
+# Order is reversed and is important
+# Without pcplusmp only one CPU will be used
+# (via module "uppc")
+# XXX No more is known about this file and these modules
+pcplusmp
+apix
+xpv_psm
+
diff --git a/debian/master b/debian/master
new file mode 100644
index 0000000..b860e1b
--- /dev/null
+++ b/debian/master
@@ -0,0 +1,428 @@
+version 1.0
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# Device tree database
+# - Records in this file can be in an arbitrary order.
+# - Records are terminated by newlines, and fields are separated
+# by any number of spaces and/or tabs.
+# - Quotes can be used in any field to allow white space.
+# - Other than comments (lines such as this beginning with '#")
+# and the "Version" string no other tokens are understood.
+#
+# Database format:-
+#
+# <dev ids> <name> <dev type> <bus> <realmode dvr> <dev desc> <properties>
+#
+# Where:-
+# dev ids List of unique device identifiers, separated by the
+# "or" character '|' when more than one ID should
+# match the same entry.
+#
+# name The device name. When the device ID matches
+# an entry in the device database, the "name"
+# property is set to this value, and the "compatible"
+# property is set to the device ID. If no device
+# database entry matched, then the node will just have
+# the device ID for the "name" property. This allows
+# us to specify the Solaris driver name for a device
+# when we know what it is. PCI devices are typically
+# listed in /etc/driver_aliases so we just map the
+# name back to the device ID and let driver_aliases
+# take care of the driver name mapping.
+#
+# dev type The device type. Valid values are:
+#
+# com ... Serial ports
+# mem ... Memory extender cards
+# mfc ... Multi-function card
+# msd ... Mass storage device (eg scsi or ide)
+# net ... Network devices
+# plat ... Platform bef
+# oth ... Miscellaneous (including sound cards)
+# ptr ... Mice, etc.
+# vid ... Video/graphics cards
+# prt ... Parallel ports
+#
+# bus The bus type (eg all, isa, pnpisa, eisa, pci)
+#
+# realmode dvr The realmode driver for bootable devices,
+# otherwise "none".
+# Note, realmode driver is no longer being used.
+# The entry is there for backward compatibility.
+#
+# dev desc Freeform descriptive device text
+#
+# properties Optional additional device properties of the form
+# name=value eg ipl=3. Properties are added to the
+# device tree node passed to the kernel. This field
+# is also used to make this database "extensible".
+# Properties which begin with a dollar sign are
+# are used to pass information to the Configuration
+# Assistant, but are not added to the device tree.
+# For example, the $forceload property tells the
+# Configuration Assistant that it must always load
+# the specified bef in order for that bef to set
+# additional properties on the node.
+#
+#
+# ISA/EISA devices
+# id is the config file name (without leading "!" and trailing ".cfg")
+#
+SVI0101 SVI0101 oth all none "Sun Fire B100x BSC"
+PNP0300 keyboard key all none "IBM PC/XT keyboard controller (83-key)"
+PNP0302 keyboard key all none "IBM PC/XT keyboard controller (84-key)"
+PNP0301 keyboard key all none "IBM PC/AT keyboard controller (86-key)"
+PNP0303 keyboard key all none "IBM Enhanced (101/102-key, PS/2 mouse support)"
+PNP0304 keyboard key all none "Olivetti Keyboard (83-key)"
+PNP0305 keyboard key all none "Olivetti Keyboard (102-key)"
+PNP0306 keyboard key all none "Olivetti Keyboard (86-key)"
+PNP0307 keyboard key all none "Microsoft Windows(R) Keyboard"
+PNP0308 keyboard key all none "General Input Device Emulation Interface (GIDEI) legacy"
+PNP0309 keyboard key all none "Olivetti Keyboard (A101/102 key)"
+PNP030A keyboard key all none "AT&T 302 keyboard"
+PNP030B keyboard key all none "Reserved by Microsoft"
+PNP0320 keyboard key all none "Japanese 101-key keyboard"
+PNP0321 keyboard key all none "Japanese AX keyboard"
+PNP0322 keyboard key all none "Japanese 106-key keyboard A01"
+PNP0323 keyboard key all none "Japanese 106-key keyboard 002/003"
+PNP0324 keyboard key all none "Japanese 106-key keyboard 001"
+PNP0325 keyboard key all none "Japanese Toshiba Desktop keyboard"
+PNP0326 keyboard key all none "Japanese Toshiba Laptop keyboard"
+PNP0327 keyboard key all none "Japanese Toshiba Notebook keyboard"
+PNP0340 keyboard key all none "Korean 84-key keyboard"
+PNP0341 keyboard key all none "Korean 86-key keyboard"
+PNP0342 keyboard key all none "Korean Enhanced keyboard"
+PNP0343 keyboard key all none "Korean Enhanced keyboard 101b"
+PNP0343 keyboard key all none "Korean Enhanced keyboard 101c"
+PNP0344 keyboard key all none "Korean Enhanced keyboard 103"
+PNP0400 lp prt all none "Standard LPT printer port"
+PNP0401 lp prt all none "ECP printer port"
+PNP0500 asy com all none "Standard PC COM port"
+PNP0501 asy com all none "16550A-compatible COM port"
+# IRDA device is untested
+# PNP0510 asy com all none "Generic IRDA-compatible device"
+PNP0700 fdc oth all none "PC standard floppy disk controller"
+PNP0701 fdc oth all none "Standard floppy controller supporting MS Device Bay Spec"
+PNP0C31|ATM1200|IFX0102|BCM0101|NSC1200 tpm oth all none "Generic Trusted Platform Module"
+PNP0F00 msm ptr all none "Microsoft bus mouse"
+PNP0F01 mouse ptr all none "Microsoft Serial Mouse"
+PNP0F02 mouse ptr all none "Microsoft InPort Mouse"
+PNP0F03 mouse ptr all none "Microsoft PS/2-style Mouse"
+PNP0F04 mouse ptr all none "Mouse Systems Mouse"
+PNP0F05 mouse ptr all none "Mouse Systems 3-Button Mouse (COM2)"
+PNP0F06 mouse ptr all none "Genius Mouse (COM1)"
+PNP0F07 mouse ptr all none "Genius Mouse (COM2)"
+PNP0F08 mouse ptr all none "Logitech Serial Mouse"
+PNP0F09 mouse ptr all none "Microsoft BallPoint Serial Mouse"
+PNP0F0A mouse ptr all none "Microsoft Plug and Play Mouse"
+PNP0F0B mouse ptr all none "Microsoft Plug and Play BallPoint Mouse"
+PNP0F0C mouse ptr all none "Microsoft-compatible Serial Mouse"
+PNP0F0D mouse ptr all none "Microsoft-compatible InPort-compatible Mouse"
+PNP0F0E mouse ptr all none "Microsoft-compatible PS/2-style Mouse"
+PNP0F0F mouse ptr all none "Microsoft-compatible Serial BallPoint-compatible Mouse"
+PNP0F10 mouse ptr all none "Texas Instruments QuickPort Mouse"
+PNP0F11 mouse ptr all none "Microsoft-compatible Bus Mouse"
+PNP0F12 mouse ptr all none "Logitech PS/2-style Mouse"
+PNP0F13 mouse ptr all none "PS/2 Port for PS/2-style Mice"
+PNP0F14 mouse ptr all none "Microsoft Kids Mouse"
+PNP0F15 logi ptr all none "Logitech bus mouse"
+PNP0F16 mouse ptr all none "Logitech SWIFT device"
+PNP0F17 mouse ptr all none "Logitech-compatible serial mouse"
+PNP0F18 mouse ptr all none "Logitech-compatible bus mouse"
+PNP0F19 mouse ptr all none "Logitech-compatible PS/2-style Mouse"
+PNP0F1A mouse ptr all none "Logitech-compatible SWIFT Device"
+PNP0F1B mouse ptr all none "HP Omnibook Mouse"
+PNP0F1C mouse ptr all none "Compaq LTE Trackball PS/2-style Mouse"
+PNP0F1D mouse ptr all none "Compaq LTE Trackball Serial Mouse"
+PNP0F1E mouse ptr all none "Microsoft Kids Trackball Mouse"
+PNP0F1F mouse ptr all none "Reserved by Microsoft Input Device Group"
+PNP0F20 mouse ptr all none "Reserved by Microsoft Input Device Group"
+PNP0F21 mouse ptr all none "Reserved by Microsoft Input Device Group"
+PNP0F22 mouse ptr all none "Reserved by Microsoft Input Device Group"
+PNP0F23 mouse ptr all none "Reserved by Microsoft Input Device Group"
+PNP0FFF mouse ptr all none "Reserved by Microsoft Systems"
+SYN010B mouse ptr all none "Synaptics mouse pad"
+ICU1900|PNP0E00|PNP0E01|PNP0E02 pcic oth all pcic.bef "PCMCIA controller"
+ADS7180 sbpro oth all sbpro.bef "ADS Sound Blaster"
+AZT1008 sbpro oth all sbpro.bef "Aztech AZT1008 Sound Device"
+CSC0000 sbpro oth all sbpro.bef "Sound Blaster"
+PNPB002 sbpro oth all sbpro.bef "Sound Blaster"
+PNPB003 sbpro oth all sbpro.bef "Sound Blaster"
+CTL0001 sbpro oth all sbpro.bef "Sound Blaster"
+CTL0031 sbpro oth all sbpro.bef "Sound Blaster"
+CTL0041 sbpro oth all sbpro.bef "Sound Blaster"
+CTL0043 sbpro oth all sbpro.bef "Creative Labs Sound Blaster 16 Vibra"
+CTL0044 sbpro oth all sbpro.bef "Creative Labs Sound Blaster AWE64 Gold"
+CTL0045 sbpro oth all sbpro.bef "Sound Blaster"
+ESS1681 sbpro oth all sbpro.bef "Sound Blaster"
+ESS1868 sbpro oth all sbpro.bef "ESS ES1868 AudioDrive"
+ESS6881 sbpro oth all sbpro.bef "Sound Blaster"
+CSC0001|PNPB02F|CTL7001|CTL7002 joyst oth all joyst.bef "Game port (Joy stick)"
+PNPB006 none oth all none "Audio MIDI interface (MPU401 UART)"
+ALRB200 none oth eisa none "ALR math coprocessor"
+AST8250 none mem eisa none "AST Premmia GX Extended Memory Configuration"
+CPQ4411|CPQ4410|SNIAAC1 ncrs msd eisa ncrs.bef "Compaq 32-Bit Fast-SCSI-2 Controller"
+CPQ4020 csa msd eisa none "Compaq SMART Array Controller"
+ICU01F0 mwss oth all mwss.bef "Windows Sound System Compatible"
+ICU0210 logi ptr all none "Logitech bus mouse"
+ICU0211 msm ptr all none "Microsoft bus mouse"
+ICU0580 tmc msd all none "Future Domain TMC-850 SCSI controller"
+ICU05F0 usc msd all none "Ultrastor ULTRA14F SCSI Controller"
+SUN0005 display vid all none "Sub-VGA Display Adapter"
+SUN0006 display vid all none "XGA Display Adapter" compatible="pnpPNP,900"
+PNP0900|ISY0010 display vid all none "VGA Compatible Display Adapter" compatible="pnpPNP,900"
+PNP0931 display vid all none "Chips & Tech VGA Display Adapter" compatible="pnpPNP,900"
+ISY0020 asy com all com.bef "Serial port"
+SUN0030 asy com all boca.bef "Boca board serial port" $forceload=yes
+USR0006|USR0002|SUP1381|HSM0240 asy com pnpisa none "Serial port w/ built in modem"
+ISY0030 mouse ptr all ps2ms.bef "PS/2 mouse"
+ISY0040|PNP0600|PNP0680 ata msd all ata.bef "IDE controller"
+ISY0050 fdc oth all fdc.bef "Floppy disk controller"
+ISY0060 lp prt all lpt.bef "Parallel port"
+SUN0010 p9000 vid all none "P9000 VLB VGA graphics adapter"
+SUN0020 p9100 vid all none "P9100 VLB VGA graphics adapter"
+PNP0902 display vid all none "VGA w/ 8514/A compatible graphics adapter" compatible="pnpPNP,900"
+WYS7901 none oth eisa none "CPU board"
+WYS7D01 none mem eisa none "Memory board"
+SUN0001 none oth all none "ISA Plug and play configuration ports"
+PNP8231|ATK1500|ADV55AA|PNP828C|CSI2203 pcn net all pcn.bef "AMD PCnet-ISA 79C960/PCnet-32 79C965 Ethernet"
+PNP0300|PNP0301|PNP0302|PNP0303|PNP0304|PNP0305|PNP0306|PNP0307|PNP0308|PNP0309|PNP030A|PNP030B|PNP0320|PNP0321|PNP0322|PNP0323|PNP0324|PNP0325|PNP0326|PNP0327|PNP0340|PNP0341|PNP0342|PNP0343|PNP0344 keyboard key all key.bef "System keyboard"
+PNP0C01 motherboard oth all none "Motherboard"
+CTL0051|PNPFFFF none oth pnpisa none "Unspecified device"
+#
+# PCI devices
+# IEEE 1275 defined name format: pciVVVV,DDDD
+# where VVVV and DDDD are the vendor and device id fields from
+# the configuration space.
+#
+# Only add entries for devices with befs.
+# Please keep in numeric order.
+#
+pci1000,1 pci1000,1 msd pci ncrs.bef "Symbios Logic 53c810 SCSI"
+pci1000,2 pci1000,2 msd pci ncrs.bef "Symbios Logic 53c820 SCSI"
+pci1000,3 pci1000,3 msd pci ncrs.bef "Symbios Logic 53c825 SCSI"
+pci1000,4 pci1000,4 msd pci ncrs.bef "Symbios Logic 53c815 SCSI"
+pci1000,6 pci1000,6 msd pci ncrs.bef "Symbios Logic 53c865 SCSI"
+pci1000,c pci1000,c msd pci ncrs.bef "Symbios Logic 53c895 SCSI"
+pci1000,f pci1000,f msd pci ncrs.bef "Symbios Logic 53c875 SCSI"
+pci1000,8f pci1000,8f msd pci ncrs.bef "Diamond Fireport 40 (SYM53C876)"
+pci1011,2 pci1011,2 net pci dnet.bef "DEC 21040 Ethernet"
+pci1011,9 pci1011,9 net pci dnet.bef "DEC 21140 Fast Ethernet"
+pci1011,14 pci1011,14 net pci dnet.bef "DEC 21041 Ethernet"
+pci1011,19 pci1011,19 net pci dnet.bef "DEC 21142/21143 Fast Ethernet"
+pci1022,2000 pci1022,2000 net pci pcn.bef "AMD 79C970 PCnet Ethernet"
+pci103c,104c pci103c,104c net pci pcn.bef "HP 'Tweety' PCnet Fast Ethernet"
+pci10b7,9000 pci10b7,9000 net pci elxl.bef "3Com 3C900-TPO Etherlink XL"
+pci10b7,9001 pci10b7,9001 net pci elxl.bef "3Com 3C900-COMBO Etherlink XL"
+pci10b7,9004 pci10b7,9004 net pci elxl.bef "3Com 3C900B-TPO Etherlink XL"
+pci10b7,9005 pci10b7,9005 net pci elxl.bef "3Com 3C900B-COMBO Etherlink XL"
+pci10b7,9006 pci10b7,9006 net pci elxl.bef "3Com 3C900B-TPC Etherlink XL"
+pci10b7,9050 pci10b7,9050 net pci elxl.bef "3Com 3C905-TX Fast Etherlink XL 10/100"
+pci10b7,9051 pci10b7,9051 net pci elxl.bef "3Com 3C905-T4 Fast Etherlink XL 10/100"
+pci10b7,9055 pci10b7,9055 net pci elxl.bef "3Com 3C905B-TX Fast Etherlink XL 10/100"
+pci10b7,9056 pci10b7,9056 net pci elxl.bef "3Com 3C905B-T4 Fast Etherlink XL 10/100"
+pci10b7,9200 pci10b7,9200 net pci elxl.bef "3Com 3C905C-TX-M Fast Etherlink XL 10/100"
+pci10b7,9800 pci10b7,9800 net pci elxl.bef "3Com 3C980-TX Fast Etherlink Server 10/100"
+pci10b7,9805 pci10b7,9805 net pci elxl.bef "3Com 3C980C-TXM Fast Etherlink Server 10/100"
+pci10b8,2001 pci10b8,2001 net pci dnet.bef "SMC9332BDT Fast Ethernet"
+pci1109,1400 pci1109,1400 net pci dnet.bef "Cogent EM110TX Fast Ethernet"
+pci1109,2400 pci1109,2400 net pci dnet.bef "Cogent EM440 Fast Ethernet"
+pci14e4,1644 pci14e4,1644 net pci none "Broadcom 5700 Gigabit Ethernet"
+pci14e4,1645 pci14e4,1645 net pci none "Broadcom 5701 Gigabit Ethernet"
+pci14e4,1647 pci14e4,1647 net pci none "Broadcom 5703C Gigabit Ethernet"
+pci14e4,1648 pci14e4,1648 net pci none "Broadcom 5704C Gigabit Ethernet"
+pci14e4,16a7 pci14e4,16a7 net pci none "Broadcom 5703S Gigabit Ethernet"
+pci14e4,16c7 pci14e4,16c7 net pci none "Broadcom 5703 Gigabit Ethernet"
+pci14e4,16a8 pci14e4,16a8 net pci none "Broadcom 5704S Gigabit Ethernet"
+pci14e4,165d pci14e4,165d net pci none "Broadcom 5705M Gigabit Ethernet"
+pci14e4,165e pci14e4,165e net pci none "Broadcom 5705MA3 Gigabit Ethernet"
+pci14e4,1677 pci14e4,1677 net pci none "Broadcom 5751 Gigabit Ethernet"
+pci14e4,167d pci14e4,167d net pci none "Broadcom 5751M Gigabit Ethernet"
+pci14e4,1659 pci14e4,1659 net pci none "Broadcom 5721 Gigabit Ethernet"
+pci14e4,1696 pci14e4,1696 net pci none "Broadcom 5782 Gigabit Ethernet"
+pci14e4,169c pci14e4,169c net pci none "Broadcom 5788 Gigabit Ethernet"
+pci10de,57 pci10de,cb84 net pci none "NVIDIA CK8-04 Gigabit Ethernet"
+pci10de,56 pci10de,cb84 net pci none "NVIDIA CK8-04 Gigabit Ethernet"
+pci10de,57 pci10f1,2865 net pci none "NVIDIA CK8-04 Gigabit Ethernet"
+pci10de,56 pci10f1,2865 net pci none "NVIDIA CK8-04 Gigabit Ethernet"
+pci10de,57 pci10f1,2895 net pci none "NVIDIA CK8-04 Gigabit Ethernet"
+pci10de,56 pci10f1,2895 net pci none "NVIDIA CK8-04 Gigabit Ethernet"
+pci10de,268 pci10de,268 net pci none "NVIDIA MCP51 Gigabit Ethernet"
+pci10de,269 pci10de,269 net pci none "NVIDIA MCP51 Gigabit Ethernet"
+pci10de,372 pci10de,372 net pci none "NVIDIA MCP55 Gigabit Ethernet"
+pci10de,373 pci10de,373 net pci none "NVIDIA MCP55 Gigabit Ethernet"
+pci10de,37 pci10de,37 net pci none "NVIDIA MCP04 Gigabit Ethernet"
+pci10de,38 pci10de,38 net pci none "NVIDIA MCP04 Gigabit Ethernet"
+pci10de,3ee pci10de,3ee net pci none "NVIDIA MCP61 Gigabit Ethernet"
+pci10de,38 pci10de,3ef net pci none "NVIDIA MCP61 Gigabit Ethernet"
+pci10de,38 pci10de,e6 net pci none "NVIDIA nForce3 250Gb Gigabit Ethernet"
+pci10de,38 pci10de,df net pci none "NVIDIA nForce3 250Gb Gigabit Ethernet"
+pci10ec,8139 pci10ec,8139 net pci none "Realtek 8139 Fast Ethernet"
+pci8086,1029 pci8086,1029 net pci iprb.bef "Intel Pro/100 Network Adapter"
+pci8086,1030 pci8086,1030 net pci iprb.bef "Intel InBusiness 10/100 Network Adapter"
+pci8086,1031 pci8086,1031 net pci iprb.bef "Intel Pro/100 VE Ethernet"
+pci8086,1032 pci8086,1032 net pci iprb.bef "Intel Pro/100 VE Ethernet"
+pci8086,1038 pci8086,1038 net pci iprb.bef "Intel 82559 PRO/100 VM Ethernet"
+pci8086,1039 pci8086,1039 net pci iprb.bef "Intel 82801DB Ethernet 82562ET/EZ PHY"
+pci8086,103d pci8086,103d net pci iprb.bef "Intel 82801DB PRO/100 VE Ethernet"
+pci8086,1050 pci8086,1050 net pci iprb.bef "Intel 82562EZ PRO/100 VE Ethernet"
+pci8086,1059 pci8086,1059 net pci iprb.bef "Intel 82551QM PRO/100 VE Ethernet"
+pci8086,1068 pci8086,1068 net pci iprb.bef "Intel 82562ET/EZ/GT/GZ - PRO/100 VE Ethernet"
+pci8086,1069 pci8086,1069 net pci iprb.bef "Intel 82562EM/EX/GX - PRO/100 VM Ethernet"
+pci8086,1229 pci8086,1229 net pci iprb.bef "Intel Pro100/B Fast Ethernet"
+pci8086,1229.8086.1009 pci8086,1229 net pci iprb.bef "Intel Pro100/B Fast Ethernet"
+pci8086,1229.8086.100c pci8086,1229 net pci iprb.bef "Intel Pro100/B Fast Ethernet"
+pci8086,1229.8086.1012 pci8086,1229 net pci iprb.bef "Intel Pro100/B Fast Ethernet"
+pci8086,1229.8086.1013 pci8086,1229 net pci iprb.bef "Intel Pro100/B Fast Ethernet"
+pci8086,1229.8086.1015 pci8086,1229 net pci iprb.bef "Intel Pro100/B Fast Ethernet"
+pci8086,1229.8086.1016 pci8086,1229 net pci iprb.bef "Intel Pro100/B Fast Ethernet"
+pci8086,1229.8086.1017 pci8086,1229 net pci iprb.bef "Intel Pro100/B Fast Ethernet"
+pci8086,2449 pci8086,2449 net pci iprb.bef "Intel i815/82559 Ethernet"
+pci8086,27dc pci8086,27dc net pci iprb.bef "Intel ICH7 82801G Ethernet"
+pci101a,f2d scsi msd pci none "NCR PDS/PQS 53C896-based PCI SCSI Adapter" compatible="pci101a,f2d"
+pci101a,f2e scsi msd pci none "NCR PDS/PQS 53C896-based PCI SCSI Adapter" compatible="pci101a,f2e"
+pci101a,f2f scsi msd pci none "NCR PDS/PQS 53C896-based PCI SCSI Adapter" compatible="pci101a,f2f"
+#
+# Special entry for ncrpqs: node and driver are both named 'ncrpqs'
+# deviceid is vid=illegal PCI vid, did=NCR PQS's vid
+# On resulting devinfo node with no SSVID/SSID:
+# name="ncrpqs"
+# compatible="ncrpqs\0pci1000,f\0pciclass..."
+# on nodes with:
+# compatible="ncrpqs\0pci1000,1000\0pci1000,f\0pciclass..."
+pciffff,101a ncrpqs msd pci none "NCR PDS/PQS 53C875-based PCI SCSI Adapter"
+#
+# pci class entries:
+#
+# PCI Class entries with 2 byte class codes are treated as wildcard class
+# specifiers (with the 3rd byte (programming interface) as the wildcard). Hence,
+# the following entry will match ALL devices whose pci classes begin with "0101"
+# (any programming interface version)
+pciclass,0101 pci-ide msd pciclass ata.bef "IDE controller"
+pci1095,3112 pci-ide msd pci ata.bef "Silicon Image 3112 SATA Controller"
+pci1095,3114 pci-ide msd pci ata.bef "Silicon Image 3114 SATA Controller"
+pci1095,3512 pci-ide msd pci ata.bef "Silicon Image 3512 SATA Controller"
+pciclass,030000|pciclass,000100 display vid pciclass none "VGA compatible display adapter"
+pciclass,030001 display vid pciclass none "VGA+8514 compatible display adapter"
+pci1000,b pci1000,b msd pci symhisl.bef "Symbios SYM53C896 Ultra2 SCSI"
+pci1000,12 pci1000,12 msd pci symhisl.bef "Symbios SYM53C895A Ultra2 SCSI"
+pci1000,20 pci1000,20 msd pci symhisl.bef "Symbios SYM53C1010 Ultra3 SCSI"
+pci1000,21 pci1000,21 msd pci symhisl.bef "Symbios SYM53C1010-66 Ultra3 SCSI"
+pci1000,30 pci1000,30 msd pci none "LSI Logic 1020/1030 Ultra320 SCSI HBA"
+pci1000,50 pci1000,50 msd pci none "LSI Logic 1064 SAS/SATA HBA"
+pci8086,1000 pci8086,1000 net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,1001 pci8086,1001 net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,1004 pci8086,1004 net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,1008 pci8086,1008 net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,1009 pci8086,1009 net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,100d pci8086,100d net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,100e pci8086,100e net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,100f pci8086,100f net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,1010 pci8086,1010 net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,1011 pci8086,1011 net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,1012 pci8086,1012 net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,1013 pci8086,1013 net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,1014 pci8086,1014 net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,1015 pci8086,1015 net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,1016 pci8086,1016 net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,1017 pci8086,1017 net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,1018 pci8086,1018 net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,1019 pci8086,1019 net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,101a pci8086,101a net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,101d pci8086,101d net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,101e pci8086,101e net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,1026 pci8086,1026 net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,1027 pci8086,1027 net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,1028 pci8086,1028 net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,105a pci8086,105a net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,105b pci8086,105b net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,105c pci8086,105c net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,105e pci8086,105e net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,105f pci8086,105f net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,1060 pci8086,1060 net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,1061 pci8086,1061 net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,1062 pci8086,1062 net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,1063 pci8086,1063 net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,1075 pci8086,1075 net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,1076 pci8086,1076 net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,1077 pci8086,1077 net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,1079 pci8086,1079 net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,107a pci8086,107a net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,107b pci8086,107b net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,107c pci8086,107c net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,107d pci8086,107d net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,107e pci8086,107e net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci8086,108a pci8086,108a net pci none "Intel(R) PRO/1000 Server Adapter Driver"
+pci9005,8000 pci9005,8000 msd pci adpu320.bef "Adaptec SCSI Card 29320A(H1B) - Ultra320 SCSI"
+pci9005,8010 pci9005,8010 msd pci adpu320.bef "Adaptec SCSI Card 39320 - Ultra320 SCSI"
+pci9005,8011 pci9005,8011 msd pci adpu320.bef "Adaptec SCSI Card 39320D - Ultra320 SCSI"
+pci9005,8012 pci9005,8012 msd pci adpu320.bef "Adaptec SCSI Card 29320 - Ultra320 SCSI"
+pci9005,8014 pci9005,8014 msd pci adpu320.bef "Adaptec SCSI Card 29320LP - Ultra320 SCSI"
+pci9005,8015 pci9005,8015 msd pci adpu320.bef "Adaptec SCSI Card 39320(H2B) - Ultra320 SCSI"
+pci9005,8016 pci9005,8016 msd pci adpu320.bef "Adaptec SCSI Card 39320A - Ultra320 SCSI"
+pci9005,8017 pci9005,8017 msd pci adpu320.bef "Adaptec SCSI Card 29320ALP(H1B) - Ultra320 SCSI"
+pci9005,801d pci9005,801d msd pci adpu320.bef "Adaptec SCSI Card AIC-7902B - Ultra320 SCSI"
+pci9005,801e pci9005,801e msd pci adpu320.bef "Adaptec SCSI Card AIC-7901A - Ultra320 SCSI"
+pci9005,801f pci9005,801f msd pci adpu320.bef "Adaptec AIC-7902 - Ultra320 SCSI"
+pci9005,285 pci9005,285 msd pci none "Adaptec AdvancedRAID Controller"
+pci1028,a pci1028,a msd pci none "PERC 3/DI RAID Controller"
+pci1028,e pci1028,e msd pci none "PERC 4/DI RAID Controller"
+pci1028,f pci1028,f msd pci none "PERC 4/DI RAID Controller"
+pci1028,493 pci1028,493 msd pci none "PERC 3/DC RAID Controller"
+pci1028,518 pci1028,518 msd pci none "PERC 4/DC RAID Controller"
+pci1028,520 pci1028,520 msd pci none "PERC 4/SC RAID Controller"
+pci1000,532 pci1000,532 msd pci none "MegaRAID SCSI 320-2x"
+pci9005,cf pci9005,cf msd pci cadp160.bef "Adaptec AIC-7899 Ultra160 SCSI"
+pci9005,8f pci9005,8f msd pci cadp160.bef "Adaptec AIC-7892 Ultra160 SCSI"
+pci9005,c0 pci9005,c0 msd pci cadp160.bef "Adaptec 39160 Ultra160 SCSI HBA"
+pci9005,80 pci9005,80 msd pci cadp160.bef "Adaptec 29160/N/LP Ultra160 SCSI HBA"
+pci9004,5078 pci9004,5078 msd pci adp.bef "Adaptec AIC-7850 SCSI"
+pci9004,5578 pci9004,5578 msd pci adp.bef "Adaptec AIC-7855 SCSI"
+pci9004,6075 pci9004,6075 msd pci adp.bef "Adaptec AHA-7560 SCSI"
+pci9004,6078 pci9004,6078 msd pci adp.bef "Adaptec AHA-7860 SCSI"
+pci9004,6178 pci9004,6178 msd pci adp.bef "Adaptec AHA-7861 SCSI"
+pci9004,6278 pci9004,6278 msd pci adp.bef "Adaptec AHA-7862 SCSI"
+pci9004,7078 pci9004,7078 msd pci adp.bef "Adaptec AIC-7870 SCSI"
+pci9004,7178 pci9004,7178 msd pci adp.bef "Adaptec AHA-2940/2940W SCSI"
+pci9004,7278 pci9004,7278 msd pci adp.bef "Adaptec AHA-3940/3940W SCSI"
+pci9004,7478 pci9004,7478 msd pci adp.bef "Adaptec AHA-2944W Differential SCSI"
+pci9004,7578 pci9004,7578 msd pci adp.bef "Adaptec AHA-7875 SCSI"
+pci9004,8078 pci9004,8078 msd pci adp.bef "Adaptec AIC-7880 UltraSCSI"
+pci9004,8178 pci9004,8178 msd pci adp.bef "Adaptec AHA-2940U/2940UW UltraSCSI"
+pci9004,8278 pci9004,8278 msd pci adp.bef "Adaptec AHA-7882 UltraSCSI"
+pci9004,8478 pci9004,8478 msd pci adp.bef "Adaptec AHA-7884 SCSI"
+pci9004,8578 pci9004,8578 msd pci adp.bef "Adaptec AHA-7885 SCSI"
+pci9004,7860 pci9004,7860 msd pci adp.bef "Adaptec AHA-2940W/2940UW Rev B Ultra SCSI Adapter"
+pci9004,7880 pci9004,7880 msd pci adp.bef "Adaptec AHA-2940W/2940UW Rev B Ultra SCSI Adapter"
+pci9004,7881 pci9004,7881 msd pci adp.bef "Adaptec AHA-2940W/2940UW Rev B Ultra SCSI Adapter"
+pci9004,7891 pci9004,7891 msd pci adp.bef "Adaptec AHA-2940W/2940UW Dual Ultra SCSI Adapter"
+pci9004,7892 pci9004,7892 msd pci adp.bef "Adaptec AHA-3940AUW Dual-channel Ultra/Wide SCSI Adapter"
+pci9004,7895 pci9004,7895 msd pci adp.bef "Adaptec AIC-7895 Ultra SCSI Controller"
+pci9005,a180 pci9005,a180 msd pci cadp.bef "Adaptec AHA-2940U2W Ultra-II SCSI Controller"
+pci9005,e100 pci9005,e100 msd pci cadp.bef "Adaptec AHA-2950U2B Ultra-II SCSI Controller"
+pci9005,f500 pci9005,f500 msd pci cadp.bef "Adaptec AHA-3950U2B Dual Ultra-II SCSI Controller"
+pci9005,5f pci9005,5f msd pci cadp.bef "Adaptec AIC-7896 SCSI"
+pci9005,1f pci9005,1f msd pci cadp.bef "Adaptec AIC-7890AB SCSI Controller"
+pci9005,a100 pci9005,a100 msd pci cadp.bef "Adaptec AHA-2940u2b Scsi Controller"
+pci9005,2180 pci9005,2180 msd pci cadp.bef "Adaptec AHA-2940u2-OEM Scsi Controller"
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..e01c7d8
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,33 @@
+#!/bin/sh
+
+set -e
+
+seed=/usr/share/driverdb
+
+
+configure_file () {
+ if ! [ -e "$1" ]; then
+ echo "Installing new default file \`$1'"
+ gzip -d -c "$seed/$1.gz" > "$1"
+ fi
+}
+
+do_configure() {
+ configure_file /etc/devlink.tab
+ configure_file /etc/driver_aliases
+ configure_file /etc/driver_classes
+ configure_file /etc/minor_perm
+ configure_file /etc/name_to_major
+ configure_file /etc/security/device_policy
+ configure_file /etc/security/extra_privs
+}
+
+case "$1" in
+ configure)
+ do_configure
+ dpkg-trigger boot-archive
+ ;;
+esac
+
+exit 0
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..be15bb7
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,38 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpkg/architecture.mk
+
+binary binary-arch binary-indep: binary-stamp
+build build-arch build-indep:
+install: install-stamp
+
+install-stamp:
+ dh_testdir
+ rm -rf debian/driverdb
+ mkdir -p debian/driverdb/usr/share/driverdb
+ cp -r debian/db/* debian/driverdb/usr/share/driverdb/
+ find debian/driverdb/usr/share/driverdb -type f -print -exec gzip -f -9 {} \;
+ dh_installdirs
+ dh_install
+ dh_installdocs
+ dh_installexamples
+ dh_installchangelogs
+ dh_link
+ touch $@
+
+binary-stamp: install-stamp
+ dh_testdir
+ dh_testroot
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb -- -Zxz
+ touch $@
+
+clean:
+ dh_testdir
+ dh_clean
+ rm -rf usr
+
diff --git a/debian/sock2path.d/default b/debian/sock2path.d/default
new file mode 100644
index 0000000..710beae
--- /dev/null
+++ b/debian/sock2path.d/default
@@ -0,0 +1,32 @@
+# See soconfig(1M) and sock2path.d(4)
+#
+# <family> <type> <protocol> <modules name or path (/dev/foo)>
+#
+ 1 1 0 /dev/ticlts
+ 1 2 0 /dev/ticotsord
+ 1 6 0 /dev/ticotsord
+ 2 1 0 udp
+ 2 1 17 udp
+ 2 2 0 tcp
+ 2 2 132 socksctp
+ 2 2 257 socksdp
+ 2 2 6 tcp
+ 2 4 0 icmp
+ 2 6 132 socksctp
+ 24 4 0 rts
+ 26 1 0 udp
+ 26 1 17 udp
+ 26 2 0 tcp
+ 26 2 132 socksctp
+ 26 2 257 socksdp
+ 26 2 6 tcp
+ 26 4 0 icmp
+ 26 6 132 socksctp
+ 27 4 2 /dev/keysock
+ 28 2 0 /dev/nca
+ 29 4 1 /dev/spdsock
+ 30 1 0 /dev/rds
+ 30 6 0 sockrds
+ 31 1 0 trill
+ 32 1 0 sockpfp
+ 32 4 0 sockpfp
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..89ae9db
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)