On Sun, Aug 04, 2019 at 05:26:40PM +0200, Alexander von Gernler wrote: > Just like other interfaces, sis depends on mii_phy in order to > configure it via config(8). Found out the hard way while building a custom > kernel for my Soekris net4501. > > In GENERIC, this missing dependency is shadowed by many other > interfaces pulling in mii_phy in the first place.
Thanks, committed. Your patch had tabs replaced by spaces so it didn't apply as-is. I had to apply it manually. > Index: files.pci > =================================================================== > RCS file: /cvs/openbsd/src/sys/dev/pci/files.pci,v > retrieving revision 1.337 > diff -u -p -u -p -r1.337 files.pci > --- files.pci 29 Jul 2019 00:40:49 -0000 1.337 > +++ files.pci 4 Aug 2019 15:21:47 -0000 > @@ -448,7 +448,7 @@ attach sf at pci with sf_pci > file dev/pci/if_sf_pci.c sf_pci > > # SiS 900/7016 ethernet > -device sis: ether, ifnet, mii, ifmedia > +device sis: ether, ifnet, mii, ifmedia, mii_phy > attach sis at pci > file dev/pci/if_sis.c sis > >
