kern/53265: Make Sierra A555 work in FreeBSD

Pete Carah pete at altadena.net
Thu Jun 12 18:20:20 PDT 2003


>Number:         53265
>Category:       kern
>Synopsis:       Make Sierra A555 work in FreeBSD
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 12 18:20:18 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Pete Carah
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
Altadena Internet
>Environment:
System: FreeBSD port2.altadena.net 5.1-CURRENT FreeBSD 5.1-CURRENT #6: Wed Jun 11 19:47:51 CDT 2003     pete at port2.altadena.net:/d/obj-c/usr/src/sys/PORT2  i386

>Description:
	Patch for pccard-quirks adapted from a Linux howto for the
	Sierra A555 (Verizon Express wireless card).  With this patch
	the card works but is rather slow (doesn't use the network
	interface, only serial).

>How-To-Repeat:
	see description.

>Fix:

*** sys/dev/pccard/pccarddevs.orig	Fri Apr 18 07:52:14 2003
--- sys/dev/pccard/pccarddevs	Thu Apr 17 22:50:23 2003
***************
*** 79,84 ****
--- 79,85 ----
  vendor PSION			0x016c	Psion
  vendor COMPAQ2			0x0183	Compaq
  vendor KINGSTON			0x0186	Kingston
+ vendor SIERRA_WIRELESS		0x0192	Sierra Wireless
  vendor DAYNA			0x0194	Dayna Corporation
  vendor RAYTHEON			0x01a6	Raytheon
  vendor IODATA			0x01bf	I-O DATA
***************
*** 361,366 ****
--- 362,370 ----
  /* Sandisk Products */
  product SANDISK SDCFB		0x0401 Sandisk CompactFlash Card
  
+ /* Sierra Wireless */
+ product SIERRA_WIRELESS A555	0xa555 Verizon Wireless Network
+ 
  /* Simple Technology Products */
  product SIMPLETECH COMMUNICATOR288 0x0100 Simple Technology 28.8 Communicator
  /* Simpletech ID also used by Symbol */
*** sys/dev/pccard/pccard_cis_quirks.c.orig	Fri Apr 18 13:48:54 2003
--- sys/dev/pccard/pccard_cis_quirks.c	Thu Apr 24 15:08:04 2003
***************
*** 182,187 ****
--- 182,208 ----
  	0,			/* maxtwins */
  };
  
+ static struct pccard_function pccard_sierra_555_func0 = {
+ 	0,			/* function number */
+ 	PCCARD_FUNCTION_SERIAL,
+ 	0x23,			/* last cfe number */
+ 	0x00,			/* ccr_base */
+ 	0x07,			/* ccr_mask */
+ };
+ 
+ static struct pccard_config_entry pccard_sierra_555_func0_cfe0 = {
+ 	0x20,			/* cfe number */
+ 	PCCARD_CFE_IO8 | PCCARD_CFE_IRQLEVEL,
+ 	PCCARD_IFTYPE_IO,
+ 	1,			/* num_iospace */
+ 	3,			/* iomask */
+ 	{ { 0x07, 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 },
***************
*** 201,206 ****
--- 222,230 ----
  	  &pccard_sveclancard_func0, &pccard_sveclancard_func0_cfe0 },
  	{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID, PCMCIA_CIS_NDC_ND5100_E,
  	  &pccard_ndc_nd5100_func0, &pccard_ndc_nd5100_func0_cfe0 },
+ 	{ PCMCIA_VENDOR_SIERRA_WIRELESS, PCMCIA_PRODUCT_SIERRA_WIRELESS_A555, 
+ 		PCMCIA_CIS_INVALID,
+ 	  &pccard_sierra_555_func0, &pccard_sierra_555_func0_cfe0 },
  };
  	
  static int n_pccard_cis_quirks =
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list