diff options
Diffstat (limited to 'kernel/drivers/net/fddi/skfp')
-rw-r--r-- | kernel/drivers/net/fddi/skfp/h/hwmtm.h | 9 | ||||
-rw-r--r-- | kernel/drivers/net/fddi/skfp/srf.c | 2 |
2 files changed, 1 insertions, 10 deletions
diff --git a/kernel/drivers/net/fddi/skfp/h/hwmtm.h b/kernel/drivers/net/fddi/skfp/h/hwmtm.h index 5924d4219..4ca2341d7 100644 --- a/kernel/drivers/net/fddi/skfp/h/hwmtm.h +++ b/kernel/drivers/net/fddi/skfp/h/hwmtm.h @@ -74,15 +74,6 @@ #define NULL 0 #endif -#ifdef LITTLE_ENDIAN -#define HWM_REVERSE(x) (x) -#else -#define HWM_REVERSE(x) ((((x)<<24L)&0xff000000L) + \ - (((x)<< 8L)&0x00ff0000L) + \ - (((x)>> 8L)&0x0000ff00L) + \ - (((x)>>24L)&0x000000ffL)) -#endif - #define C_INDIC (1L<<25) #define A_INDIC (1L<<26) #define RD_FS_LOCAL 0x80 diff --git a/kernel/drivers/net/fddi/skfp/srf.c b/kernel/drivers/net/fddi/skfp/srf.c index cc27dea34..995668040 100644 --- a/kernel/drivers/net/fddi/skfp/srf.c +++ b/kernel/drivers/net/fddi/skfp/srf.c @@ -414,7 +414,7 @@ static void smt_send_srf(struct s_smc *smc) smt->smt_len = SMT_MAX_INFO_LEN - pcon.pc_len ; mb->sm_len = smt->smt_len + sizeof(struct smt_header) ; - DB_SMT("SRF: sending SRF at %x, len %d\n",smt,mb->sm_len) ; + DB_SMT("SRF: sending SRF at %p, len %d\n",smt,mb->sm_len) ; DB_SMT("SRF: state SR%d Threshold %d\n", smc->srf.sr_state,smc->srf.SRThreshold/TICKS_PER_SECOND) ; #ifdef DEBUG |