From c0ff0095ab63dfc9e941995917a8029188efc6df Mon Sep 17 00:00:00 2001 From: proski Date: Wed, 8 Apr 2009 21:42:36 +0000 Subject: [PATCH] Remove check for AR2425, since the free HAL always supports it git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3989 0192ed92-7a03-0410-a25b-9323aeb14dbd --- ath/if_ath_pci.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/ath/if_ath_pci.c b/ath/if_ath_pci.c index c62d8bd..9154016 100644 --- a/ath/if_ath_pci.c +++ b/ath/if_ath_pci.c @@ -191,25 +191,6 @@ ath_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) goto bad1; } -/* - * Reject new MAC revisions if HAL doesn't support AR2425. Ideally, it could - * be done in the PCI ID table, but AR2424 and AR2425 share the same vendor ID - * 168c:001c. - */ -#ifndef AH_SUPPORT_2425 -#define AR5K_SREV 0x4020 /* MAC revision */ -#define AR5K_SREV_CUTOFF 0xE0 /* Cutoff revision */ - { - u_int32_t mac_rev = readl(mem + AR5K_SREV); - if (mac_rev > AR5K_SREV_CUTOFF) - { - printk(KERN_ERR "%s: HAL doesn't support MAC revision " - "0x%02x\n", dev_info, mac_rev); - goto bad2; - } - } -#endif - dev = alloc_netdev(sizeof(struct ath_pci_softc), "wifi%d", ether_setup); if (dev == NULL) { printk(KERN_ERR "%s: no memory for device state\n", dev_info); -- 2.35.1