% cd work/kame/netbsd/sys/dev/usb % patch -p1 -f < ugen_isochronous.diff
% make -f Makefile.usbdevs
% config YOUR_KERNEL_CONFIG % cd ../compile/YOUR_KERNEL_CONFIG % make depend && make # make install
% cd work/kame/netbsd/sys % patch -p1 -f < fw_update.diff
Add your configuration fwohci* at pci? dev ? function ? fw* at fwohci? fwnode* at fwbus? idhi ? idlo ? fwscsi* at fwnode? scsibus* at fwscsi? pseudo-device fwiso 4 recompile % config YOUR_KERNEL_CONFIG % cd ../compile/YOUR_KERNEL_CONFIG % make depend && make # make install
third arg depends on your sys/arch/i386/i386/conf.c configuration # cd /dev # mknod fwiso0 c 76 0 # mknod fwiso1 c 76 1 # mknod fwiso2 c 76 2 # mknod fwiso3 c 76 3
sys/dev/pci/if_wi_pci.c
sys/dev/pcmcia/if_wi_pcmcia.c
sys/dev/ic/wi{.c,reg.h,var.h,_ieee.h}
# Intersil Prism2.5 Mini-PCI attach wi at pci with wi_pci file dev/pci/if_wi_pci.c wi_pci
before: pci_intr_map(pa, &ih); after: pci_intr_map(pa->pa_pc, pa->pa_intrtag, pa->pa_intrpin, pa->pa_intrline, &ih);
vendor INTERSIL 0x1260 Intersil vendor EUMITCOM 0x1638 Eumitcom vendor GLOBALSUN 0x16ab Global Sun Tech product 3COM 3CRWE777A 0x7770 3crwe777a AirConnect product NETGEAR MA301 0x4100 MA301 PCI IEEE 802.11b /* Eumitcom products */ product EUMITCOM WL11000P 0x1100 WL11000P PCI WaveLAN/IEEE 802.11 /* Global Sun Tech products */ product GLOBALSUN GL24110P 0x1101 GL24110P PCI IEEE 802.11b product GLOBALSUN GL24110P02 0x1102 GL24110P PCI IEEE 802.11b /* Intersil products */ product INTERSIL MINI_PCI_WLAN 0x3873 Intersil PRISM2.5 Mini-PCI WLAN
% make -f Makefile.pcidevs
#device wi: arp, ether, ifnet attach wi at pcmcia with wi_pcmcia file dev/pcmcia/if_wi_pcmcia.c wi_pcmcia
vendor ERICSSON 0x016b Ericsson
vendor SYMBOL 0x026c Symbol
vendor BUFFALO 0x026f BUFFALO (Melco Corporation)
vendor LINKSYS2 0x0274 The Linksys Group
vendor IODATA2 0x028a I-O DATA
vendor SAMSUNG 0x0250 Samsung
vendor ACTIONTEC 0x1668 ACTIONTEC
vendor EMTAC 0xc250 EMTAC Technology Corporation
vendor ELSA 0xd601 Elsa
vendor GEMTEK -1 Gem Tek
product COMPAQ NC5004 0x0002 Compaq Agency NC5004 Wireless Card
product INTEL PRO_WLAN_2011 0x0001 Intel PRO/Wireless 2011 LAN PC Card
product IODATA2 WNB11PCM 0x0002 I-O DATA WN-B11/PCM
product TDK LAK_CD011WL 0x0000 TDK LAK-CD011WL
product BAY EMOBILITY_11B 0x080a e-Mobility 11Mb Wireless LAN
product LINKSYS2 IWN 0x1612 Instant Wireless Network PC Card
product LINKSYS2 IWN3 0x1613 Instant Wireless Network PC Card, Versin 3
product LINKSYS2 WCF11 0x3301 Instant Wireless Network CF Card
/* ACTIONTEC Products */
product ACTIONTEC PRISM 0x0101 PRISM Wireless LAN PC Card
/* BUFFALO */
product BUFFALO WLI_PCM_S11 0x0305 BUFFALO AirStation 11Mbps WLAN
product BUFFALO WLI_CF_S11G 0x030b BUFFALO AirStation 11Mbps CF WLAN
/* Contec C-NET(PC) */
product CONTEC FX_DS110_PCC 0x0008 Contec FLEXLAN/FX-DS110-PCC
/* ELSA Products */
product ELSA XI300_IEEE 0x0002 XI300 Wireless LAN
product ELSA XI800_IEEE 0x0004 XI800 CF Wireless LAN
/* EMTAC */
product EMTAC WLAN 0x0002 EMTAC A2424i 11Mbps WLAN Card
/* Ericsson */
product ERICSSON WIRELESSLAN 0x0001 DSSS Wireless LAN PC Card
/* Symbol */
product SYMBOL LA4100 0x0001 Symbol Spectrum24 LA4100 Series WLAN
/* Samsung */
product SAMSUNG SWL_2000N 0x0002 Samsung MagicLAN SWL-2000N
product SIMPLETECH SPECTRUM24_ALT { "Symbol&spTechnologies", "LA4111&spSpectrum24&spWireless&spLAN&spPC&spCard", NULL, NULL } LA4111 Spectrum24 Wireless LAN PC Card
product SMC 2632W { "SMC", "SMC2632W", "Version&sp01.02", NULL } SMC 2632 EZ Connect Wireless PC Card
product NANOSPEED PRISM2 { "NANOSPEED", "HFA384x/IEEE", "Version&sp01.02", NULL } NANOSPEED ROOT-RZ2000 WLAN Card
product NEC CMZ_RT_WP { "NEC", "Wireless&spCard&spCMZ-RT-WP", "Version&sp01.01", NULL } NEC Wireless Card CMZ-RT-WP
product NTT_ME WLAN { "NTT-ME", "11Mbps&spWireless&spLAN&spPC&spCard", NULL, NULL } NTT-ME 11Mbps Wireless LAN PC Card
product PLANEX GWNS11H { "PLANEX", "GW-NS11H&spWireless&spLAN&spPC&spCard", NULL, NULL } PLANEX GW-NS11H Wireless LAN PC Card
product COREGA WIRELESS_LAN_PCCA_11 { "corega&spK.K.", "Wireless&spLAN&spPCCA-11", NULL, NULL } Corega Wireless LAN PCCA-11
product COREGA WIRELESS_LAN_PCCB_11 { "corega_K.K.", "Wireless_LAN_PCCB-11", NULL, NULL } Corega Wireless LAN PCCB-11
product GEMTEK WLAN { "Intersil", "PRISM&sp2_5&spPCMCIA&spADAPTER", "ISL37300P", "Eval-RevA" } GEMTEK Prism2_5 WaveLAN Card
product INTERSIL PRISM2 { "INTERSIL", "HFA384x/IEEE", "Version&sp01.02", NULL } Intersil Prism II
% make -f Makefile.pcmciadevs
#if !(defined(__NetBSD__) && __NetBSD_Version__ >= 105001000)
#undef bus_space_read_multi_2
#undef bus_space_write_multi_2
#define bus_space_read_multi_2(t, h, o, ptr, cnt) \
do { \
__BUS_SPACE_ADDRESS_SANITY((ptr), u_int16_t, "buffer"); \
__BUS_SPACE_ADDRESS_SANITY((h) + (o), u_int16_t, "bus addr"); \
if ((t) == I386_BUS_SPACE_IO) { \
insw((h) + (o), (ptr), (cnt)); \
} else { \
void *dummy1; \
int dummy2; \
void *dummy3; \
int __x; \
__asm __volatile(" \
cld ; \
1: movw (%2),%%ax ; \
stosw ; \
loop 1b" : \
"=D" (dummy1), "=c" (dummy2), "=r" (dummy3), "=&a" (__x) : \
"0" ((ptr)), "1" ((cnt)), "2" ((h) + (o)) : \
"memory"); \
} \
} while (/* CONSTCOND */ 0)
#define bus_space_write_multi_2(t, h, o, ptr, cnt) \
do { \
__BUS_SPACE_ADDRESS_SANITY((ptr), u_int16_t, "buffer"); \
__BUS_SPACE_ADDRESS_SANITY((h) + (o), u_int16_t, "bus addr"); \
if ((t) == I386_BUS_SPACE_IO) { \
outsw((h) + (o), (ptr), (cnt)); \
} else { \
void *dummy1; \
int dummy2; \
void *dummy3; \
int __x; \
__asm __volatile(" \
cld ; \
1: lodsw ; \
movw %%ax,(%2) ; \
loop 1b" : \
"=S" (dummy1), "=c" (dummy2), "=r" (dummy3), "=&a" (__x) : \
"0" ((ptr)), "1" ((cnt)), "2" ((h) + (o))); \
} \
} while (/* CONSTCOND */ 0)
#endif
Add your configuration wi* at pci? dev ? function?