-/* $OpenBSD: if_vio.c,v 1.49 2024/08/27 18:44:12 sf Exp $ */
+/* $OpenBSD: if_vio.c,v 1.50 2024/08/27 19:11:20 sf Exp $ */
/*
* Copyright (c) 2012 Stefan Fritsch, Alexander Fiveg.
if (vio_alloc_dmamem(sc) != 0) {
printf("unable to allocate dma region\n");
- return -1;
+ return -1;
}
kva = sc->sc_dma_kva;
ether_fakeaddr(ifp);
vio_put_lladdr(&sc->sc_ac, vsc);
}
- printf(": address %s\n", ether_sprintf(sc->sc_ac.ac_enaddr));
+ printf(", address %s\n", ether_sprintf(sc->sc_ac.ac_enaddr));
if (virtio_has_feature(vsc, VIRTIO_NET_F_MRG_RXBUF) ||
vsc->sc_version_1) {
if (sc->sc_ctrl_status->ack == VIRTIO_NET_OK) {
r = 0;
} else {
- printf("%s: features 0x%llx failed\n", sc->sc_dev.dv_xname,
- features);
+ printf("%s: offload features 0x%llx failed\n",
+ sc->sc_dev.dv_xname, features);
r = EIO;
}