From pete@ns.altadena.net  Thu Jun 12 18:12:36 2003
Return-Path: <pete@ns.altadena.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 3540C37B405; Thu, 12 Jun 2003 18:12:36 -0700 (PDT)
Received: from ns.altadena.net (ns.altadena.net [207.151.161.2])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 6CC1C43FAF; Thu, 12 Jun 2003 18:12:35 -0700 (PDT)
	(envelope-from pete@ns.altadena.net)
Received: from ns.altadena.net (localhost [127.0.0.1])
	by ns.altadena.net (8.12.8p1/8.12.3) with ESMTP id h5D1CZbG023497;
	Thu, 12 Jun 2003 18:12:35 -0700 (PDT)
	(envelope-from pete@ns.altadena.net)
Received: (from pete@localhost)
	by ns.altadena.net (8.12.8p1/8.12.3/Submit) id h5D1CUJc023495;
	Thu, 12 Jun 2003 18:12:30 -0700 (PDT)
	(envelope-from pete)
Message-Id: <200306130112.h5D1CUJc023495@ns.altadena.net>
Date: Thu, 12 Jun 2003 18:12:30 -0700 (PDT)
From: Pete Carah <pete@altadena.net>
Reply-To: Pete Carah <pete@altadena.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc: rwatson@freebsd.org
Subject: Make Sierra A555 work in FreeBSD
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         53265
>Category:       kern
>Synopsis:       [pccard] [patch] Make Sierra A555 work in FreeBSD
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    imp
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 12 18:20:18 PDT 2003
>Closed-Date:    Sun Jun 01 15:55:31 UTC 2008
>Last-Modified:  Sun Jun 01 15:55:31 UTC 2008
>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@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:
Responsible-Changed-From-To: freebsd-bugs->imp 
Responsible-Changed-By: kris 
Responsible-Changed-When: Sat Jul 12 17:07:00 PDT 2003 
Responsible-Changed-Why:  
Assign to pccard maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=53265 

From: Dirk-Willem van Gulik <dirkx@webweaving.org>
To: bug-followup@FreeBSD.org, pete@altadena.net
Cc:  
Subject: Re: kern/53265: Make Sierra A555 work in FreeBSD
Date: Wed, 16 Nov 2005 14:16:16 -0800 (PST)

 I just reinvented this wheel (and only found the PR now that I know what
 to search for :-)
 
 	http://lists.freebsd.org/pipermail/freebsd-hackers/2005-November/014464.html
 
 but works.
 
 Dw.

From: Volker <volker@vwsoft.com>
To: bug-followup@FreeBSD.org, pete@altadena.net
Cc:  
Subject: Re: kern/53265: [pccard] [patch] Make Sierra A555 work in FreeBSD
Date: Sun, 10 Feb 2008 19:23:59 +0100

 Support for the Sierra A555 card is in the system for HEAD, RELENG_7
 and RELENG_6. See PR kern/110190
 
 added in: pccard_cis_quirks.c rev 1.17
 
 Pete: Do you agree to close this PR or do you need a merge into RELENG_5?
State-Changed-From-To: open->patched 
State-Changed-By: linimon 
State-Changed-When: Wed Feb 13 09:45:14 UTC 2008 
State-Changed-Why:  
Needs MFC to 5, if there is interest. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=53265 

From: Volker <volker@vwsoft.com>
To: bug-followup@FreeBSD.org, pete@altadena.net
Cc:  
Subject: Re: kern/53265: [pccard] [patch] Make Sierra A555 work in FreeBSD
Date: Thu, 14 Feb 2008 02:30:08 +0100

 Pete responded by private email message.
 
 He does not use 5.x anymore and also has no access to the hardware in
 question. We can close this PR.
 
 (thanks Pete for reporting back!)
State-Changed-From-To: patched->closed 
State-Changed-By: gavin 
State-Changed-When: Sun Jun 1 15:47:37 UTC 2008 
State-Changed-Why:  
Close this PR, it is fixed in all supported versions of FreeBSD, 
and submitter is happy to close it as no longer uses 5.x or has 
the hardware in question. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=53265 
>Unformatted:
