On Sun, Sep 24, 2006 at 02:58:34PM +0200, Pierre Riteau wrote:
> On 9/19/06, Reyk Floeter <[EMAIL PROTECTED]> wrote:
> >hi,
> >
> >i recently enabled support for some newer wireless chipsets from
> >atheros, like the AR2413, AR5413, and AR5424 single chip solutions.
> >
> >please also test it if you have an intel-based mac - the integrated
> >wireless NIC is based on the pci express AR5424 chipset.
> >
>
> I just tested it with a snapshot from the 23th, on a 2Ghz Macbook (non Pro).
> Here is my dmesg :
>
please retry with the attached diff from kettenis. you may see some
11b aps but it doesn't seem to work, yet (the channels are wrong).
> ath0 at pci2 dev 0 function 0 "Atheros AR5424" rev 0x01: irq 11
> ar5k_ar5212_nic_wakeup: failed to resume the AR5212 (again)
> ath0: unable to attach hardware; HAL status 22
reyk
Index: ar5212.c
===================================================================
RCS file: /cvs/src/sys/dev/ic/ar5212.c,v
retrieving revision 1.33
diff -u -p -r1.33 ar5212.c
--- ar5212.c 19 Sep 2006 17:49:13 -0000 1.33
+++ ar5212.c 24 Sep 2006 18:22:33 -0000
@@ -304,6 +304,7 @@ ar5k_ar5212_nic_wakeup(struct ath_hal *h
* Reset and wakeup the device
*/
+#if 0
/* ...reset chipset and PCI device */
if (hal->ah_single_chip == AH_FALSE &&
ar5k_ar5212_nic_reset(hal,
@@ -311,6 +312,7 @@ ar5k_ar5212_nic_wakeup(struct ath_hal *h
AR5K_PRINT("failed to reset the AR5212 + PCI chipset\n");
return (AH_FALSE);
}
+#endif
/* ...wakeup */
if (ar5k_ar5212_set_power(hal,