kern/110190: Sierra Wireless PCMCIA drivers

Pascal Vizeli pvizeli at yahoo.de
Sun Mar 11 14:30:03 UTC 2007


>Number:         110190
>Category:       kern
>Synopsis:       Sierra Wireless PCMCIA drivers
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 11 14:30:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Pascal Vizeli
>Release:        FreeBSD 6.2
>Organization:
>Environment:
FreeBSD booknix.dragonbsd.ch 6.2-RELEASE FreeBSD 6.2-RELEASE #7: Mon Mar  5 15:11:14 CET 2007     pascal at booknix.dragonbsd.ch:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
This patch add support of Sierra Wireless PCMCIA Cards.

I have ported the drivers from OpenBSD src.
The "Hack" with com3 and cfe number have found in the
mailling list from freebsd 2005[1]. But it isn't the same patch.

Sunrise is the provider from switzerland which resells the card AC850 for
umts service in switzerland. This patch is also for all swiss people which have
sunrise and want use that service.

Supported Sierra Wireless cards:
AC710/AC750/AC850/A550/A555/A710/A750

[1] http://lists.freebsd.org/pipermail/freebsd-hackers/2005-November/014464.html
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- sys/dev/pccard/pccarddevs.org	Sat Mar  3 15:28:57 2007
+++ sys/dev/pccard/pccarddevs	Sat Mar  3 15:33:32 2007
@@ -117,6 +117,7 @@
 vendor GREY_CELL		0x0143	Grey Cell Systems, Ltd
 vendor LINKSYS			0x0149	Linksys Corporation
 vendor NETGEAR			0x0149	Netgear
+vendor SIERRA			0x0192	Sierra
 vendor SIMPLETECH		0x014d	Simple Technology
 vendor SYMBOL2			0x014d	Symbol
 vendor LUCENT			0x0156	Lucent Technologies
@@ -544,6 +545,12 @@
 
 /* Siemens */
 product SIEMENS SS1021		0x0002 Siemens SpeedStream 1021
+
+/* Sierra */
+product SIERRA AC710		0x0710 AC710/AC750/AC850
+product SIERRA A550		0xa550 A550
+product SIERRA A555		0xa555 A555
+product SIERRA A710		0xa710 A710/A750
 
 /* Simple Technology Products */
 product SIMPLETECH COMMUNICATOR288 0x0100 Simple Technology 28.8 Communicator
--- sys/dev/pccard/pccard_cis_quirks.c.org	Sat Mar  3 16:17:46 2007
+++ sys/dev/pccard/pccard_cis_quirks.c	Mon Mar  5 15:02:24 2007
@@ -180,6 +180,27 @@
 	0,			/* maxtwins */
 };
 
+static struct pccard_function pccard_sierra_a555_func1 = {
+	1,			/* function number */
+	PCCARD_FUNCTION_SERIAL,
+	0x24,			/* last cfe number */
+	0x700,			/* ccr_base */
+	0x73,			/* ccr_mask */
+};
+
+static struct pccard_config_entry pccard_sierra_a555_func1_cfe0 = {
+	0x22,			/* cfe number */
+	PCCARD_CFE_IO8 | PCCARD_CFE_IRQLEVEL, 
+	PCCARD_IFTYPE_IO,
+	1,			/* num_iospace */
+	0,			/* iomask */
+	{ { 0x0008, 0x3e8 } },	/* iospace */
+	0x3fbc,			/* irqmask */
+	0,			/* num_memspace */
+	{ },			/* memspace */
+	0,			/* maxtwins */
+};
+
 static struct pccard_cis_quirk pccard_cis_quirks[] = {
 	{ PCMCIA_VENDOR_3COM, PCMCIA_PRODUCT_3COM_3CXEM556, PCMCIA_CIS_INVALID, 
 	  &pccard_3cxem556_func0, &pccard_3cxem556_func0_cfe0 },
@@ -195,6 +216,18 @@
 	{ PCMCIA_VENDOR_3COM, PCMCIA_PRODUCT_3COM_3CCFEM556BI,
 	  PCMCIA_CIS_INVALID,
 	  &pccard_3ccfem556bi_func1, &pccard_3ccfem556bi_func1_cfe0 },
+	{ PCMCIA_VENDOR_SIERRA, PCMCIA_PRODUCT_SIERRA_A550,
+	  PCMCIA_CIS_INVALID,
+	  &pccard_sierra_a555_func1, &pccard_sierra_a555_func1_cfe0 },
+	{ PCMCIA_VENDOR_SIERRA, PCMCIA_PRODUCT_SIERRA_A555,
+	  PCMCIA_CIS_INVALID,
+	  &pccard_sierra_a555_func1, &pccard_sierra_a555_func1_cfe0 },
+	{ PCMCIA_VENDOR_SIERRA, PCMCIA_PRODUCT_SIERRA_A710,
+	  PCMCIA_CIS_INVALID,
+	  &pccard_sierra_a555_func1, &pccard_sierra_a555_func1_cfe0 },
+	{ PCMCIA_VENDOR_SIERRA, PCMCIA_PRODUCT_SIERRA_AC710,
+	  PCMCIA_CIS_INVALID,
+	  &pccard_sierra_a555_func1, &pccard_sierra_a555_func1_cfe0 },
 	{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID, PCMCIA_CIS_SVEC_LANCARD,
 	  &pccard_sveclancard_func0, &pccard_sveclancard_func0_cfe0 },
 	{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID, PCMCIA_CIS_NDC_ND5100_E,

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list