On Wed, Aug 08, 2018 at 04:40:48PM +0800, Kevin Lo wrote:
> ok?
>
OK with me. Don't forget to run 'make' in dev/pci as well
to regen the pci device table C files :)
> Index: sys/dev/pci/if_rtwn.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/pci/if_rtwn.c,v
> retrieving revision 1.30
> diff -u -p -u -p -r1.30 if_rtwn.c
> --- sys/dev/pci/if_rtwn.c 3 Sep 2017 16:20:46 -0000 1.30
> +++ sys/dev/pci/if_rtwn.c 8 Aug 2018 08:40:43 -0000
> @@ -201,7 +201,7 @@ extern int rtwn_debug;
> #define RTWN_PCI_MMBA 0x18 /* memory mapped base */
>
> static const struct pci_matchid rtwn_pci_devices[] = {
> - { PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8188 },
> + { PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RTL8188CE },
> { PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RTL8192CE }
> };
>
> Index: sys/dev/pci/pcidevs
> ===================================================================
> RCS file: /cvs/src/sys/dev/pci/pcidevs,v
> retrieving revision 1.1855
> diff -u -p -u -p -r1.1855 pcidevs
> --- sys/dev/pci/pcidevs 24 Jul 2018 21:16:59 -0000 1.1855
> +++ sys/dev/pci/pcidevs 8 Aug 2018 08:40:44 -0000
> @@ -6857,7 +6857,7 @@ product REALTEK RT8169 0x8169 8169
> product REALTEK RTL8192SE 0x8172 8192SE
> product REALTEK RT8180 0x8180 8180
> product REALTEK RT8185 0x8185 8185
> -product REALTEK RT8188 0x8176 8188CE
> +product REALTEK RTL8188CE 0x8176 8188CE
> product REALTEK RTL8192CE 0x8178 RTL8192CE
> product REALTEK RTL8188EE 0x8179 8188EE
> product REALTEK RTL8192EE 0x818b RTL8192EE
>