RE: [net-2.6 PATCH 5/10] Neterion: New driver: Hardware init & configuration

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ramkrishna Vepa
Date: Wednesday, March 25, 2009 - 1:25 am

I missed that one! Yes, it was only tested on 64 bit kernels. The
following macros were removed/deleted by mistake. We'll make these
changes, check and submit.

#ifndef readq
static inline u64 readq(void *addr)
{
        u64 ret = 0;
        ret = readl(addr + 4);
        ret <<= 32;
        ret |= readl(addr);

        return ret;
}
#endif
#ifndef writeq
static inline void writeq(u64 val, void *addr)
{
        writel((u32) (val), addr);
        writel((u32) (val >> 32), (addr + 4));
}
#endif 

Ram
&
Adapter.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RE: [net-2.6 PATCH 5/10] Neterion: New driver: Hardware in ..., Ramkrishna Vepa, (Wed Mar 25, 1:25 am)