| To: | "Jeff Garzik" <jgarzik@xxxxxxxxx> |
|---|---|
| Subject: | RE: [PATCH 2.6.11 3/8] tg3: Add msi support for 5750 C0 |
| From: | "Michael Chan" <mchan@xxxxxxxxxxxx> |
| Date: | Tue, 22 Mar 2005 16:24:37 -0800 |
| Cc: | "David S. Miller" <davem@xxxxxxxxxxxxx>, netdev@xxxxxxxxxxx |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| Thread-index: | AcUvIbJcHBTI/nbqTeuLlR1Hc4GlCAAG8e3g |
| Thread-topic: | [PATCH 2.6.11 3/8] tg3: Add msi support for 5750 C0 |
"Jeff Garzik" wrote: > > I would prefer that a new 'static inline' function was created, > containing the core interrupt handler code. > > This avoids the code duplication you have in this patch, in > new function > tg3_msi(). > > Jeff > There are enough subtle differences between tg3_interrupt() and tg3_msi() that makes it impractical to create a core inline function to be shared by the two. To share a meaningful chunk of the code, it will have to check for MSI mode and skip some of the register reads. The reason I created tg3_msi() was to avoid all conditionals. Michael |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [patch 26/26] drivers/net/: Use the DMA_{64,32}BIT_MASK constants, Jeff Garzik |
|---|---|
| Next by Date: | Re: [PATCH 2.6.11 3/8] tg3: Add msi support for 5750 C0, Jeff Garzik |
| Previous by Thread: | Re: [PATCH 2.6.11 3/8] tg3: Add msi support for 5750 C0, Jeff Garzik |
| Next by Thread: | Re: [PATCH 2.6.11 3/8] tg3: Add msi support for 5750 C0, Jeff Garzik |
| Indexes: | [Date] [Thread] [Top] [All Lists] |