Re: [PATCH 1/9] NetXen 1G/10G ethernet driver patch with corrections From: Andi Kleen <hidden> Date: 2006-06-07 09:50:15 On Wednesday 07 June 2006 11:39, Linsys Contractor Amit S. Kale wrote: + switch (mode) { ... You could save a lot of code by using a table and a loop over the registers. + case 4:{ /* XGB Mode */ + NETXEN_NIC_LOCKED_READ_REG(NETXEN_NIU_XG_SINGLE_TERM, + ®s_buff[3]); -Andi
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help