On Fri, Jul 02, 2021 at 03:47:25PM +0200, Carsten Grzemba wrote: > > It seems the fix is simple:
I'm pleased to hear that. > --- a/usr/src/uts/common/io/atge/atge_main.c > +++ b/usr/src/uts/common/io/atge/atge_main.c > @@ -256,7 +256,7 @@ static� � � � � mii_ops_t atge_l1c_mii_ops = { > � � � � � � � atge_l1c_mii_read, > � � � � � � � atge_l1c_mii_write, > � � � � � � � atge_mii_notify, > -� � � � � � NULL > +� � � � � � atge_l1c_mii_reset > � }; > � > the function atge_l1c_mii_reset exist already but is not registered� > in the mii_ops table. I haven't looked at the source for a long time. I don't know why that function is missing from that table. Is it called from another place, or is it just floating? You might need the NULL line if the table is ever searched. > With this the "atge0: L1C chip detected a fatal error, interrupt > status: 2200" did not occur again on cable disconnect. > > The interface is working if the cable is connected again. Since you found the bug and the solution, you are welcome to file an illumos bug report and PR for the driver. -- -Gary Mills- -refurb- -Winnipeg, Manitoba, Canada-
_______________________________________________ oi-dev mailing list oi-dev@openindiana.org https://openindiana.org/mailman/listinfo/oi-dev