Date: Thu, 23 Feb 2006 14:05:53 -0800 (PST) From: Purushotham Nayak <nayak_purushotham@yahoo.com> To: freebsd-mobile@freebsd.org Subject: Aircard 555 FreeBSD 6.0 patch Message-ID: <20060223220553.58255.qmail@web33302.mail.mud.yahoo.com>
next in thread | raw e-mail | index | archive | help
--0-68198852-1140732353=:55708 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Id: Content-Disposition: inline Hi All, Here's the patches ( I had to make two files because i still donno diff and patch that well, will combine when I get time ). These patches are for FreeBSD 6.0. It's easy to manually make the changes to other versions. To install the patch. # cd /sys/dev/pccard # patch pccarddevs [path to diff file]/ac555carddevs.diff # patch pccard_cis_quirks.c [path to diff file]/ac555quirks.diff Recompile the kernel and the Aircard AC555 should work. It needs to be activated before you can use ppp on it. Purushotham __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --0-68198852-1140732353=:55708 Content-Type: text/x-patch; name="ac555carddev.diff" Content-Description: 3558312126-ac555carddev.diff Content-Disposition: inline; filename="ac555carddev.diff" *** pccarddevs.60 Tue Dec 13 12:28:10 2005 --- pccarddevs.ac555 Tue Dec 13 12:25:34 2005 *************** *** 131,136 **** --- 131,137 ---- vendor KINGSTON 0x0186 Kingston vendor MELCO 0x018a Melco Corporation vendor GLOBALVILLAGE 0x018c Global Village + vendor SIERRA 0x0192 Sierra Wireless vendor DAYNA 0x0194 Dayna Corporation vendor RAYTHEON 0x01a6 Raytheon vendor RACORE 0x01bf Racore Computer Products *************** *** 538,543 **** --- 539,547 ---- /* Siemens */ product SIEMENS SS1021 0x0002 Siemens SpeedStream 1021 + + /* Sierra Wireless Aircard 555 */ + product SIERRA AC555 0xa555 Aircard 555 /* Simple Technology Products */ product SIMPLETECH COMMUNICATOR288 0x0100 Simple Technology 28.8 Communicator --0-68198852-1140732353=:55708 Content-Type: text/x-patch; name="ac555quirks.diff" Content-Description: 409079556-ac555quirks.diff Content-Disposition: inline; filename="ac555quirks.diff" *** pccard_cis_quirks.c.60 Tue Dec 13 12:27:58 2005 --- pccard_cis_quirks.c.ac555 Tue Dec 13 12:33:00 2005 *************** *** 53,58 **** --- 53,134 ---- /* these structures are just static templates which are then copied into "live" allocated structures */ + struct pccard_function pccard_ac555_func0 = { + 0, /* function number */ + PCCARD_FUNCTION_SERIAL, + 0x03, /* last cfe number */ + 0x700, /* ccr_base */ + 0x73, /* ccr_mask */ + }; + + + + struct pccard_config_entry pccard_ac555_func0_cfe0 = { + 0x20, /* cfe index*/ + PCCARD_CFE_IO8 | PCCARD_CFE_IRQLEVEL, + PCCARD_IFTYPE_IO, /* io card */ + 1, /* num_iospace */ + 6, /* iomask */ + { {0x0008, 0x03f8} }, /* iospace */ + 0x3fbc, /* irqmask */ + 0, /* num_memspace */ + {}, /* memspace */ + 0, /* maxtwins */ + }; + + struct pccard_config_entry pccard_ac555_func0_cfe1 = { + 0x21, /* cfe index*/ + PCCARD_CFE_IO8, + PCCARD_IFTYPE_IO, /* io card */ + 1, /* num_iospace */ + 6, /* iomask */ + { {0x0008, 0x02f8} }, /* iospace */ + 0xfff8, /* irqmask */ + 0, /* num_memspace */ + {}, /* memspace */ + 0, /* maxtwins */ + }; + + + struct pccard_config_entry pccard_ac555_func0_cfe2 = { + 0x22, /* cfe index*/ + PCCARD_CFE_IO8, + PCCARD_IFTYPE_IO, /* io card */ + 1, /* num_iospace */ + 6, /* iomask */ + { {0x0008, 0x03e8} }, /* iospace */ + 0xfff8, /* irqmask */ + 0, /* num_memspace */ + {}, /* memspace */ + 0, /* maxtwins */ + }; + + struct pccard_config_entry pccard_ac555_func0_cfe3 = { + 0x23, /* cfe index*/ + PCCARD_CFE_IO8, + PCCARD_IFTYPE_IO, /* io card */ + 1, /* num_iospace */ + 6, /* iomask */ + { {0x0008, 0x02e8} }, /* iospace */ + 0xfff8, /* irqmask */ + 0, /* num_memspace */ + {}, /* memspace */ + 0, /* maxtwins */ + }; + + struct pccard_config_entry pccard_ac555_func0_cfe4 = { + 0x24, /* cfe index*/ + PCCARD_CFE_IO8, + PCCARD_IFTYPE_IO, /* io card */ + 1, /* num_iospace */ + 6, /* iomask */ + { {0x0008, 0x0000} }, /* iospace */ + 0xfff8, /* irqmask */ + 0, /* num_memspace */ + {}, /* memspace */ + 0, /* maxtwins */ + }; + struct pccard_function pccard_3cxem556_func0 = { 0, /* function number */ PCCARD_FUNCTION_NETWORK, *************** *** 199,204 **** --- 275,290 ---- &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, PCMCIA_PRODUCT_SIERRA_AC555, PCMCIA_CIS_INVALID, + &pccard_ac555_func0, &pccard_ac555_func0_cfe0 }, + { PCMCIA_VENDOR_SIERRA, PCMCIA_PRODUCT_SIERRA_AC555, PCMCIA_CIS_INVALID, + &pccard_ac555_func0, &pccard_ac555_func0_cfe1 }, + { PCMCIA_VENDOR_SIERRA, PCMCIA_PRODUCT_SIERRA_AC555, PCMCIA_CIS_INVALID, + &pccard_ac555_func0, &pccard_ac555_func0_cfe2 }, + { PCMCIA_VENDOR_SIERRA, PCMCIA_PRODUCT_SIERRA_AC555, PCMCIA_CIS_INVALID, + &pccard_ac555_func0, &pccard_ac555_func0_cfe3 }, + { PCMCIA_VENDOR_SIERRA, PCMCIA_PRODUCT_SIERRA_AC555, PCMCIA_CIS_INVALID, + &pccard_ac555_func0, &pccard_ac555_func0_cfe4 }, }; static int n_pccard_cis_quirks = --0-68198852-1140732353=:55708--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060223220553.58255.qmail>