From: Christian Lamparter Date: Fri, 29 Apr 2011 11:06:20 +0200 Subject: [ath9k-devel] [PATCH 1/2] ath9k_htc: Dump base eeprom header for UB91/94/95 In-Reply-To: <19898.4633.920683.992470@gargle.gargle.HOWL> References: <19897.11321.556139.837633@gargle.gargle.HOWL> <201104290116.26355.chunkeey@googlemail.com> <19898.4633.920683.992470@gargle.gargle.HOWL> Message-ID: <201104291106.21170.chunkeey@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On Friday 29 April 2011 03:19:21 Sujith wrote: > Christian Lamparter wrote: > > On Thursday 28 April 2011 10:58:33 Sujith wrote: > > > From: Sujith Manoharan > > > > > > Debugfs file location: /ieee80211/phy#/ath9k_htc/base_eeprom > > > > > If you just want to dump the eeprom, then why not with a userspace utility? > > It's pretty easy to write such a thing with libusb, furthermore it's more > > versatile and portable so the *BSD-folks are not left out! > > We do have an eeprom dump tool for PCI cards, but hardly any one uses > that. Oh, I used ath_info for ath5k a lot. Especially to get around regdom restrictions. Sure, your tool won't be able to do that, but never the less. > It's much more convenient to use debugging features that are present > in the driver itself. On an embedded board, it makes things a little bit easier. Do you really think that everyone will be happy to recompile their stripped & heavily customised embedded kernels/or compat-wireless just to enable DEBUG and waste precious resources? Even with a PC, this is not necessarily straightforward, especially if the user has never done it before. Regards, Chr