05-30-04 04:04 PM
Hi all,
the patches below add support for the Adaptec AWN-8030 WLAN pcmcia-card.
Perhaps somebody can tell me, if this is the right way to get it in the
sys-sources...
cheers,
andreas
--- sys/dev/pcmcia/pcmciadevs.h.orig 2004-05-30 13:42:09.533507456 +0200
+++ sys/dev/pcmcia/pcmciadevs.h 2004-05-30 14:03:24.753644528 +0200
@@ -104,6 +104,7 @@
#define PCMCIA_VENDOR_DUAL 0x890f /* Dual */
#define PCMCIA_VENDOR_COMPEX 0x8a01 /* Compex */
#define PCMCIA_VENDOR_MELCO 0x8a01 /* Melco Corporation */
+#define PCMCIA_VENDOR_ADAPTEC2 0x9005 /* Adaptec */
#define PCMCIA_VENDOR_CONTEC 0xc001 /* Contec */
#define PCMCIA_VENDOR_MACNICA 0xc00b /* MACNICA */
#define PCMCIA_VENDOR_ROLAND 0xc00c /* Roland */
@@ -150,6 +151,8 @@
#define PCMCIA_PRODUCT_ADAPTEC_APA1460_1 0x0001
#define PCMCIA_CIS_ADAPTEC_APA1460_2 { NULL, NULL, NULL, NULL
}
#define PCMCIA_PRODUCT_ADAPTEC_APA1460_2 0x0002
+#define PCMCIA_CIS_ADAPTEC2_AWN8030 { NULL, NULL, NULL, NUL
L }
+#define PCMCIA_PRODUCT_ADAPTEC2_AWN8030 0x0021
/* Aironet */
#define PCMCIA_CIS_AIRONET_PC4500 { NULL, NULL, NULL, NULL
}
--- sys/dev/pcmcia/pcmciadevs.orig 2004-05-30 13:41:23.278539280 +0200
+++ sys/dev/pcmcia/pcmciadevs 2004-05-30 14:00:31.717949952 +0200
@@ -106,6 +106,7 @@
vendor RATOC 0xc015 RATOC System Inc.
vendor EMTAC 0xc250 EMTAC Technology
vendor ELSA 0xd601 Elsa
+vendor ADAPTEC2 0x9005 Adaptec
/*
* List of known products. Grouped by vendor.
@@ -129,6 +130,7 @@
/* Adaptec */
product ADAPTEC APA1460_1 0x0001 Adaptec APA-1460/A
product ADAPTEC APA1460_2 0x0002 Adaptec APA-1460/B
+product ADAPTEC2 AWN8030 0x0021 Adaptec AWN-8030
/* Aironet */
product AIRONET PC4500 0x0005 Aironet PC4500
--- sys/dev/pcmcia/if_wi_pcmcia.c.orig 2004-05-30 13:44:03.143236152 +0200
+++ sys/dev/pcmcia/if_wi_pcmcia.c 2004-05-30 14:05:14.283993384 +0200
@@ -248,6 +248,10 @@
{ PCMCIA_VENDOR_MICROSOFT,
PCMCIA_PRODUCT_MICROSOFT_MN520,
PCMCIA_CIS_MICROSOFT_MN520
+ },
+ { PCMCIA_VENDOR_ADAPTEC2,
+ PCMCIA_PRODUCT_ADAPTEC2_AWN8030,
+ PCMCIA_CIS_ADAPTEC2_AWN8030
}
};
[ Post a follow-up to this message ]
|