| To: | "Feldman, Scott" <scott.feldman@xxxxxxxxx> |
|---|---|
| Subject: | Re: e100 "Ferguson" release |
| From: | Jeff Garzik <jgarzik@xxxxxxxxx> |
| Date: | Tue, 05 Aug 2003 01:29:41 -0400 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <C6F5CF431189FA4CBAEC9E7DD5441E010222929E@orsmsx402.jf.intel.com> |
| Organization: | none |
| References: | <C6F5CF431189FA4CBAEC9E7DD5441E010222929E@orsmsx402.jf.intel.com> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021213 Debian/1.2.1-2.bunk |
Feldman, Scott wrote:
* (API) Does the out-of-tx-resources condition in e100_xmit_frame ever really happen? I am under the Yes. I would also printk(KERN_ERR "we have a bug!") or somesuch, like several other drivers do, too. * IIRC Donald's MII phy scanning code scans MII phy ids like this: 1..31,0. Or maybe 1..31, and then 0 iff no MII phys were found. In general I would prefer to follow his eepro100.c probe order. Some phys need this because they will report on both phy id #0 (which is magical) and phy id #(non-zero). Donald would know more than me, hmmm. I prefer the phy scanning to checking eeprom, since it reduces the chance of eeprom screwups. However, I still think there's some issue related to phy id #0. Oh well, fine for now, I guess. * do we care about spinlocks around the update_stats and get_stats code? Well, the ->get_stats only returns a pointer to the stats, which are then accessed in an unlocked manner. Since the net stats are unsigned longs, asynchronously reading and updating them isn't a big deal in practice. * (minor) use a netif_msg_xxx wrapper/constant in e100_init_module test? You could always use "(1 << debug) - 1"... :) I dunno if it's worth worrying about. Jeff |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: e100 "Ferguson" release, Feldman, Scott |
|---|---|
| Next by Date: | Re: e100 "Ferguson" release, David S. Miller |
| Previous by Thread: | RE: e100 "Ferguson" release, Feldman, Scott |
| Next by Thread: | Re: e100 "Ferguson" release, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |