Changeset 2704
- Timestamp:
- 09/05/07 01:25:35 (3 years ago)
- Files:
-
- branches/ath5k/ath5k_hw.c (modified) (1 diff)
- branches/madwifi-old-openhal/openhal/ath5k_hw.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/ath5k/ath5k_hw.c
r2703 r2704 277 277 hal->ah_mac_revision = AR5K_REG_MS(srev, AR5K_SREV_REV); 278 278 279 /* Return on unsupported devices */ 280 if((srev >= AR5K_SREV_VER_AR5416) || ((srev >= AR5K_SREV_VER_AR2424) 281 && (srev < AR5K_SREV_VER_AR5413))){ 282 printk(KERN_ERR "ath5k: Device not supported (0x%x)\n", srev); 283 ret = -ENODEV; 284 goto err_free; 285 } 286 279 287 switch (srev) { 280 case AR5K_SREV_VER_AR2424:281 case AR5K_SREV_VER_AR5424:282 288 case AR5K_SREV_VER_AR5413: 283 289 case AR5K_SREV_VER_AR5414: branches/madwifi-old-openhal/openhal/ath5k_hw.c
r2703 r2704 503 503 hal->ah_mac_version = AR5K_REG_MS(srev, AR5K_SREV_VER); 504 504 hal->ah_mac_revision = AR5K_REG_MS(srev, AR5K_SREV_REV); 505 506 /* Return on unsupported devices */ 507 if((srev >= AR5K_SREV_VER_AR5416)){ 508 printk(KERN_ERR "ath_hal: Device not supported (0x%x)\n", srev); 509 *status = AR5K_ENOTSUPP; 510 goto failed; 511 } 505 512 506 513 switch (srev) {
