From 77113f167c741e3eff29b39abdd0cd4270233779 Mon Sep 17 00:00:00 2001 From: Reyk Floeter Date: Sun, 8 May 2005 14:46:51 +0000 Subject: fix silicon version number reporting. ie. ath0: mac 80.6 -> ath0: mac 5.6. --- sys/dev/ic/ar5210reg.h | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'sys/dev/ic/ar5210reg.h') diff --git a/sys/dev/ic/ar5210reg.h b/sys/dev/ic/ar5210reg.h index 4adf1011745..fbc6b913c94 100644 --- a/sys/dev/ic/ar5210reg.h +++ b/sys/dev/ic/ar5210reg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ar5210reg.h,v 1.8 2005/03/20 04:21:55 reyk Exp $ */ +/* $OpenBSD: ar5210reg.h,v 1.9 2005/05/08 14:46:50 reyk Exp $ */ /* * Copyright (c) 2004, 2005 Reyk Floeter @@ -311,14 +311,10 @@ typedef enum { * Silicon revision register */ #define AR5K_AR5210_SREV 0x4020 -#define AR5K_AR5210_SREV_ID_M 0x000000ff -#define AR5K_AR5210_SREV_FPGA 1 -#define AR5K_AR5210_SREV_PHYPLUS 2 -#define AR5K_AR5210_SREV_PHYPLUS_MS 3 -#define AR5K_AR5210_SREV_CRETE 4 -#define AR5K_AR5210_SREV_CRETE_MS 5 -#define AR5K_AR5210_SREV_CRETE_MS23 7 -#define AR5K_AR5210_SREV_CRETE_23 8 +#define AR5K_AR5210_SREV_REV 0x0000000f +#define AR5K_AR5210_SREV_REV_S 0 +#define AR5K_AR5210_SREV_VER 0x000000ff +#define AR5K_AR5210_SREV_VER_S 4 /* * EEPROM access registers -- cgit v1.2.3