aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/atm/he.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/atm/he.h')
-rw-r--r--drivers/atm/he.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/drivers/atm/he.h b/drivers/atm/he.h
index 1dc277547a73..b87d6ccabac1 100644
--- a/drivers/atm/he.h
+++ b/drivers/atm/he.h
@@ -1,5 +1,3 @@
1/* $Id: he.h,v 1.4 2003/05/06 22:48:00 chas Exp $ */
2
3/* 1/*
4 2
5 he.h 3 he.h
@@ -269,13 +267,7 @@ struct he_dev {
269 267
270 char prod_id[30]; 268 char prod_id[30];
271 char mac_addr[6]; 269 char mac_addr[6];
272 int media; /* 270 int media;
273 * 0x26 = HE155 MM
274 * 0x27 = HE622 MM
275 * 0x46 = HE155 SM
276 * 0x47 = HE622 SM
277 */
278
279 271
280 unsigned int vcibits, vpibits; 272 unsigned int vcibits, vpibits;
281 unsigned int cells_per_row; 273 unsigned int cells_per_row;
@@ -394,6 +386,7 @@ struct he_vcc
394#define HE_DEV(dev) ((struct he_dev *) (dev)->dev_data) 386#define HE_DEV(dev) ((struct he_dev *) (dev)->dev_data)
395 387
396#define he_is622(dev) ((dev)->media & 0x1) 388#define he_is622(dev) ((dev)->media & 0x1)
389#define he_isMM(dev) ((dev)->media & 0x20)
397 390
398#define HE_REGMAP_SIZE 0x100000 391#define HE_REGMAP_SIZE 0x100000
399 392
@@ -878,8 +871,8 @@ struct he_vcc
878#define M_SN 0x3a /* integer */ 871#define M_SN 0x3a /* integer */
879#define MEDIA 0x3e /* integer */ 872#define MEDIA 0x3e /* integer */
880#define HE155MM 0x26 873#define HE155MM 0x26
881#define HE155SM 0x27 874#define HE622MM 0x27
882#define HE622MM 0x46 875#define HE155SM 0x46
883#define HE622SM 0x47 876#define HE622SM 0x47
884#define MAC_ADDR 0x42 /* char[] */ 877#define MAC_ADDR 0x42 /* char[] */
885 878