Re: Please pull 'upstream-rtl8187' branch of wireless-2.6

2007-05-10 Thread David Miller
From: Michael Buesch <[EMAIL PROTECTED]> Date: Thu, 10 May 2007 13:23:40 +0200 > Nah, Jeff. Please don't go this path. > If we have to remove all magic numbers from drivers, we'd have to either > *) Drop reverse engineered drivers like bcm43xx completely. > *) Clutter them with completely useless

Re: Please pull 'upstream-rtl8187' branch of wireless-2.6

2007-05-10 Thread Michael Buesch
On Thursday 10 May 2007 04:16:22 Michael Wu wrote: > > > + rtl818x_iowrite8(priv, (u8 *)0xFE18, 0x10); > > > + rtl818x_iowrite8(priv, (u8 *)0xFE18, 0x11); > > > + rtl818x_iowrite8(priv, (u8 *)0xFE18, 0x00); > > > + mdelay(200); > > > > ditto > > > > also, kill the magic numbers > > > I have no idea

Re: Please pull 'upstream-rtl8187' branch of wireless-2.6

2007-05-09 Thread Michael Wu
On Thursday 10 May 2007 00:21, Jeff Garzik wrote: > Michael Wu wrote: > > On Wednesday 09 May 2007 19:12, Jeff Garzik wrote: > >> John W. Linville wrote: > >>> +static inline void eeprom_93cx6_pulse_high(struct eeprom_93cx6 > >>> *eeprom) +{ > >>> + eeprom->reg_data_clock = 1; > >>> + eeprom->regis

Re: Please pull 'upstream-rtl8187' branch of wireless-2.6

2007-05-09 Thread Jeff Garzik
Michael Wu wrote: On Wednesday 09 May 2007 19:12, Jeff Garzik wrote: John W. Linville wrote: +static inline void eeprom_93cx6_pulse_high(struct eeprom_93cx6 *eeprom) +{ + eeprom->reg_data_clock = 1; + eeprom->register_write(eeprom); + udelay(1); +} + +static inline void eeprom

Re: Please pull 'upstream-rtl8187' branch of wireless-2.6

2007-05-09 Thread Michael Wu
On Wednesday 09 May 2007 19:12, Jeff Garzik wrote: > John W. Linville wrote: > > +static inline void eeprom_93cx6_pulse_high(struct eeprom_93cx6 *eeprom) > > +{ > > + eeprom->reg_data_clock = 1; > > + eeprom->register_write(eeprom); > > + udelay(1); > > +} > > + > > +static inline void eeprom

Re: Please pull 'upstream-rtl8187' branch of wireless-2.6

2007-05-09 Thread Jeff Garzik
John W. Linville wrote: +static inline void eeprom_93cx6_pulse_high(struct eeprom_93cx6 *eeprom) +{ + eeprom->reg_data_clock = 1; + eeprom->register_write(eeprom); + udelay(1); +} + +static inline void eeprom_93cx6_pulse_low(struct eeprom_93cx6 *eeprom) +{ + eeprom->reg_da