> On Jan 9, 2020, at 6:11 PM, Masanobu SAITOH <msai...@execsw.org> wrote: > > > Before my change, struct stge_softc is already in if_stgereg.h, > so I had thought it would be OK to move to it. Ah, I don't think I would have put it there when I wrote the driver originally, so it must have been moved there at some point. In any case, moving it into if_stgereg.h was also an error. > >> Please move them back to if_stge.c. Doing incorrect things simply to reduce >> the diff against someone else's copy of the code is not something we should >> be undertaking. > Two options: > > a) Move some structs (including struct stge_softc) and defines > to if_stge.c There is no reason to have if_stgevar.h, because no other modules need these definitions, so it should all move to if_stge.c. Thanks! > > b) Move them to new if_stgevar.h > > Which one is prefer? -- thorpej
- CVS commit: src/sys/dev/pci SAITOH Masanobu
- CVS commit: src/sys/dev/pci SAITOH Masanobu
- CVS commit: src/sys/dev/pci SAITOH Masanobu
- CVS commit: src/sys/dev/pci Tohru Nishimura
- CVS commit: src/sys/dev/pci Tohru Nishimura
- CVS commit: src/sys/dev/pci SAITOH Masanobu
- CVS commit: src/sys/dev/pci SAITOH Masanobu
- Re: CVS commit: src/sys/dev/pci Jason Thorpe
- Re: CVS commit: src/sys/dev/pci Masanobu SAITOH
- re: CVS commit: src/sys/dev/pci matthew green
- Re: CVS commit: src/sys/dev/pci Jason Thorpe
- Re: CVS commit: src/sys/dev/pci Masanobu SAITOH
- Re: CVS commit: src/sys/dev/pci Jason Thorpe
- Re: CVS commit: src/sys/dev/pci Masanobu SAITOH
- Re: CVS commit: src/sys/dev/pci Sevan Janiyan
- re: CVS commit: src/sys/dev/pci matthew green
- Re: CVS commit: src/sys/dev/pci Jason Thorpe
- Re: CVS commit: src/sys/dev/pci Jaromír Doleček
- Re: CVS commit: src/sys/dev/pci Michael
- Re: CVS commit: src/sys/dev/pci SAITOH Masanobu
- Re: CVS commit: src/sys/dev/pci Christos Zoulas