Re: [PATCH] Add support the Korina (IDT RC32434) Ethernet MAC

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Florian Fainelli <florian.fainelli@...>
Cc: David Miller <davem@...>, <netdev@...>, Jeff Garzik <jeff@...>, Felix Fietkau <nbd@...>
Date: Friday, March 7, 2008 - 6:45 am

=20

Since you'll never going to see that prompt if you don't have such a
board, that seems pretty unhelpful :)


Not sure where this is used, but 100 seconds seems quite long, no?


I'd use names with some prefixes, maybe descriptor_filled? Matter of
taste though I guess.





All those inlines seems a bit excessive since korina_abort_dma is an
inline too and then inlined into two other functions... Are those really
necessary?


Similarly here although korina_start_dma is a lot shorter than stop_dma.




Why so many parentheses? :)


Pretty useless comment especially since you have to read the code to
understand it! Or was this intended as a comment on how the register
write works? Similar instances all over the driver. Maybe a single
comment at the top of the file on how that register works would be good
instead.


typo: independently


Typo: promiscuous.


Some stuff missing here? the mc_count > 15 checks seems superfluous
since >15 is always >0.


Unnecessary, internal_stats is default and does exactly this.


Oddly formatted comment :)


No need to abort DMA?

johannes
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Add support the Korina (IDT RC32434) Ethernet MAC, Florian Fainelli, (Wed Mar 5, 6:45 pm)
Re: [PATCH] Add support the Korina (IDT RC32434) Ethernet MAC, Johannes Berg, (Fri Mar 7, 6:45 am)
Re: [PATCH] Add support the Korina (IDT RC32434) Ethernet MAC, Florian Fainelli, (Thu Mar 13, 6:55 am)
Re: [PATCH] Add support the Korina (IDT RC32434) Ethernet MAC, Florian Fainelli, (Wed Mar 19, 12:14 pm)
Re: [PATCH] Add support the Korina (IDT RC32434) Ethernet MAC, Florian Fainelli, (Wed Mar 19, 5:17 pm)
Re: [PATCH] Add support the Korina (IDT RC32434) Ethernet MAC, Florian Fainelli, (Tue Mar 25, 4:55 pm)
Re: [PATCH] Add support the Korina (IDT RC32434) Ethernet MAC, Florian Fainelli, (Mon Mar 10, 4:55 pm)