RE: [PATCH V10 2/7] net: sxgbe: add basic framework for Samsung 10Gb ethernet driver

2014-03-22 Thread Byungho An
Francois Romieu wrote: > Byungho An : > [...] > > > Nit: you may consider reorganizing the variables in an inverted xmas > > > tree fashion at some point. > > Does it look better? No problem. > > Marginally if not more. Consider it a guideline to avoid unusual or ugly layout. OK. I'll consider

Re: [PATCH V10 2/7] net: sxgbe: add basic framework for Samsung 10Gb ethernet driver

2014-03-22 Thread Francois Romieu
Byungho An : [...] > > Nit: you may consider reorganizing the variables in an inverted xmas tree > > fashion at some point. > Does it look better? No problem. Marginally if not more. Consider it a guideline to avoid unusual or ugly layout. [...] > > > +priv->ioaddr + SXGBE_MDIO_C

RE: [PATCH V10 2/7] net: sxgbe: add basic framework for Samsung 10Gb ethernet driver

2014-03-21 Thread Byungho An
Francois Romieu : > Byungho An : > [...] > > +static int sxgbe_hw_init(struct sxgbe_priv_data * const priv) { > > struct sxgbe_ops *hw = priv->hw; > > > + u32 ctrl_ids; > [...] > > +struct sxgbe_priv_data *sxgbe_dvr_probe(struct device *device, > > nit: s/dvr/drv/ ? Yes, it is tiriva.

Re: [PATCH V10 2/7] net: sxgbe: add basic framework for Samsung 10Gb ethernet driver

2014-03-21 Thread Francois Romieu
Byungho An : [...] > +static int sxgbe_hw_init(struct sxgbe_priv_data * const priv) > +{ struct sxgbe_ops *hw = priv->hw; > + u32 ctrl_ids; [...] > +struct sxgbe_priv_data *sxgbe_dvr_probe(struct device *device, nit: s/dvr/drv/ ? (several occurences in the driver) > +