summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2005-04-24 13:37:58 +0000
committerStefan Schweizer <genstef@gentoo.org>2005-04-24 13:37:58 +0000
commitb008c4779abba797b5b2ae14b6ee423b6fa84c21 (patch)
tree7507d90fcb910aa6ab102ea37c7180d5b135a92e /net-dialup/misdn/files
parentbump (diff)
downloadhistorical-b008c4779abba797b5b2ae14b6ee423b6fa84c21.tar.gz
historical-b008c4779abba797b5b2ae14b6ee423b6fa84c21.tar.bz2
historical-b008c4779abba797b5b2ae14b6ee423b6fa84c21.zip
New ebuild for the experimental mISDN driver, thanks to sbriesen and strafbomber for testing
Package-Manager: portage-1.586-cvs
Diffstat (limited to 'net-dialup/misdn/files')
-rw-r--r--net-dialup/misdn/files/change-pci_find_subsys-to-pci_get_subsys.patch12
-rw-r--r--net-dialup/misdn/files/digest-misdn-200504091
-rw-r--r--net-dialup/misdn/files/misdn.modulesd85
3 files changed, 98 insertions, 0 deletions
diff --git a/net-dialup/misdn/files/change-pci_find_subsys-to-pci_get_subsys.patch b/net-dialup/misdn/files/change-pci_find_subsys-to-pci_get_subsys.patch
new file mode 100644
index 000000000000..60631b5fded8
--- /dev/null
+++ b/net-dialup/misdn/files/change-pci_find_subsys-to-pci_get_subsys.patch
@@ -0,0 +1,12 @@
+diff -upr mISDN-CVS-2005-04-09.orig/drivers/isdn/hardware/mISDN/hfc_multi.c mISDN-CVS-2005-04-09/drivers/isdn/hardware/mISDN/hfc_multi.c
+--- mISDN-CVS-2005-04-09.orig/drivers/isdn/hardware/mISDN/hfc_multi.c 2005-04-24 12:54:38.000000000 +0200
++++ mISDN-CVS-2005-04-09/drivers/isdn/hardware/mISDN/hfc_multi.c 2005-04-24 12:54:55.000000000 +0200
+@@ -2799,7 +2799,7 @@ setup_pci(hfc_multi_t *hc)
+ if (debug & DEBUG_HFCMULTI_INIT)
+ printk(KERN_DEBUG "setup_pci(): investigating card entry %d (looking for type %d)\n", i, hc->type);
+ inuse:
+- tmp_dev = pci_find_subsys(id_list[i].vendor_id, id_list[i].device_id, id_list[i].vendor_sub, id_list[i].device_sub, tmp_dev);
++ tmp_dev = pci_get_subsys(id_list[i].vendor_id, id_list[i].device_id, id_list[i].vendor_sub, id_list[i].device_sub, tmp_dev);
+ if (tmp_dev) {
+ /* skip if already in use */
+ list_for_each_entry_safe(hc_tmp, next, &HFCM_obj.ilist, list) {
diff --git a/net-dialup/misdn/files/digest-misdn-20050409 b/net-dialup/misdn/files/digest-misdn-20050409
new file mode 100644
index 000000000000..a7f37b0a3c11
--- /dev/null
+++ b/net-dialup/misdn/files/digest-misdn-20050409
@@ -0,0 +1 @@
+MD5 c12e84e162054a090250648eef318723 mISDN-CVS-2005-04-09.tar.bz2 256956
diff --git a/net-dialup/misdn/files/misdn.modulesd b/net-dialup/misdn/files/misdn.modulesd
new file mode 100644
index 000000000000..5a358d04a730
--- /dev/null
+++ b/net-dialup/misdn/files/misdn.modulesd
@@ -0,0 +1,85 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/misdn/files/misdn.modulesd,v 1.1 2005/04/24 13:37:58 genstef Exp $
+
+# Options for the mISDN card drivers
+#
+# There's currently no documentation available. You should check
+# the comments in the source code for available parameters and
+# the possible values.
+#
+options avmfritz protocol=2
+options hfcpci protocol=2
+options hfcsusb protocol=2
+options hfcmulti protocol=2
+options sedlfax protocol=2
+options w6692pci protocol=2
+
+# mISDN framework
+install mISDN \
+/sbin/modprobe mISDN_core && \
+/sbin/modprobe mISDN_l1 && \
+/sbin/modprobe mISDN_l2 && \
+/sbin/modprobe l3udss1 && \
+/sbin/modprobe mISDN_capi && \
+/sbin/modprobe mISDN_x25dte
+remove mISDN \
+/sbin/modprobe -r mISDN_x25dte && \
+/sbin/modprobe -r mISDN_capi && \
+/sbin/modprobe -r l3udss1 && \
+/sbin/modprobe -r mISDN_l2 && \
+/sbin/modprobe -r mISDN_l1 && \
+/sbin/modprobe -r mISDN_core
+
+# Colognechip HFC PCI
+install hfcpci \
+/sbin/modprobe mISDN && \
+/sbin/modprobe --ignore-install hfcpci
+remove hfcpci \
+/sbin/modprobe -r --ignore-remove hfcpci && \
+/sbin/modprobe -r mISDN
+
+# Colognechip HFC-S USB
+install hfcsusb \
+/sbin/modprobe mISDN && \
+/sbin/modprobe --ignore-install hfcsusb
+remove hfcsusb \
+/sbin/modprobe -r --ignore-remove hfcsusb && \
+/sbin/modprobe -r mISDN
+
+# Colognechip HFC-4S / HFC-8S / HFC-E1
+install hfcmulti \
+/sbin/modprobe mISDN && \
+/sbin/modprobe --ignore-install hfcmulti
+remove hfcmulti \
+/sbin/modprobe -r --ignore-remove hfcmulti && \
+/sbin/modprobe -r mISDN
+
+# AVM Fritz!PCI and ISA PnP
+install avmfritz \
+/sbin/modprobe mISDN && \
+/sbin/modprobe --ignore-install avmfritz
+remove avmfritz \
+/sbin/modprobe -r --ignore-remove avmfritz && \
+/sbin/modprobe -r mISDN
+
+# Sedlbauer Speedfax+
+# Important: For the sedlbauer speed fax+ to work properly
+# you have to download the firmware 'ISAR.BIN' onto the card.
+install sedlfax \
+/sbin/modprobe mISDN && \
+/sbin/modprobe faxl3 && \
+/sbin/modprobe --ignore-install sedlfax
+remove sedlfax \
+/sbin/modprobe -r --ignore-remove sedlfax && \
+/sbin/modprobe -r faxl3 && \
+/sbin/modprobe -r mISDN
+
+# Winbond W6692 PCI
+install w6692pci \
+/sbin/modprobe mISDN && \
+/sbin/modprobe --ignore-install w6692pci
+remove w6692pci \
+/sbin/modprobe -r --ignore-remove w6692pci && \
+/sbin/modprobe -r mISDN
+