From owner-freebsd-mobile@FreeBSD.ORG Sun Jan 23 11:12:28 2011 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 063B61065694; Sun, 23 Jan 2011 11:12:28 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 8F31D8FC12; Sun, 23 Jan 2011 11:12:27 +0000 (UTC) Received: by qyk8 with SMTP id 8so1771796qyk.13 for ; Sun, 23 Jan 2011 03:12:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=UNbyvXa0LVnh9r8ALV49o3qyXKO+7EIC6D6uOkxb9ps=; b=HkCvE/Z/k7z4q499L9YgaADHwIdfHcBxEGRcnEEHlOxnaAw729naZTUKWi2Fsc+mdW qHGLJEVXyJoj7V8RmAjKjgOH+oZYMTKi3In/fA+bNjOfpbx+G1KYfJgPhahhZ5qDcxoq 9pC3B1e0gdpgWp5AF/q8e0+uPLDVc4jQiA6yY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=G4wmPt1HCO01+tvdh675gC0e9fFtylBj+AYM7An2pKilQqsVHwNKp9P1o9tQFehQky XzzmObi9OqEEPqrEvM04yJ49uHWiQYy/gnS/MgvJu9Z0998Pov8H44UAy9xCQcQDUbMY 41MPNFZZew/yIPEvzvTs0gDXpxee2z4EvJCig= MIME-Version: 1.0 Received: by 10.224.67.18 with SMTP id p18mr2871275qai.20.1295781145871; Sun, 23 Jan 2011 03:12:25 -0800 (PST) Received: by 10.220.198.203 with HTTP; Sun, 23 Jan 2011 03:12:25 -0800 (PST) In-Reply-To: <952031295774791@web135.yandex.ru> References: <952031295774791@web135.yandex.ru> Date: Sun, 23 Jan 2011 19:12:25 +0800 Message-ID: From: Adrian Chadd To: Dima Panov Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current , freebsd-mobile@freebsd.org Subject: Re: Request: AR9285 EEPROM dumps (was Re: More if_ath churn coming your way!) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jan 2011 11:12:28 -0000 You'll have to compile in the diag api. Just add these: options ATH_DIAGAPI Adrian 2011/1/23 Dima Panov : > Hello! > > 23.01.2011, 09:47, "Adrian Chadd" : >> Hi all, >> >> I've just committed a new tool in src/tools/tools/ath/ called ath_prom_d= ump . >> >> It dumps the contents of the atheros EEPROM into a text file for later a= nalysis. >> >> I don't have any AR9285's handy; if you have an AR9285, would you >> please send me a hexdump of the EEPROM along with the contents of >> pciconf and =A0dmesg | grep ath (so I can get the MAC/PHY version >> numbers?) > > You meant ath_prom_read? > > [root@Beastie] ~# ath_prom_read -h > ath_prom_read: illegal option -- h > =A0 =A0 =A0 =A0ath_prom_read [-i ifname] -d > [root@Beastie] ~# ath_prom_read -d ar9285 > ath_prom_read: ath0: Invalid argument > [root@Beastie] ~# > > FreeBSD 9.0-900030-CURRENT #0 r217695M: Sat Jan 22 13:57:57 VLAT 2011 > > -- > Dima Panov (fluffy@FreeBSD.org) > KDE@FreeBSD team > > Facebook: http://www.facebook.com/?id=3D100000181104157 >