On 2/16/15 5:50 PM, Mike Karels wrote:
Well, I developed the prototype as I had planned, using a 64-bit media word, and found that I got about 100 files in GENERIC that didn't compile;
[...]
so I went to Plan B. Plan B is to steal an unused bit (RFU) to indicate an "extended" media type. I then used the variant/subtype field to store the extended type.
[...]
I modified one driver (vtnet) to use an extended type, and the rest of GENERIC is happy. The changes to ifconfig are also fairly small. The patch is appended, where email programs will screw it up, or at ftp://ftp.karels.net/outgoing/if_media.patch. The VFAST subtype is a throw-away for testing. This seems like a reasonably pragmatic change to support the new 40 Gb/s media types until someone wants to design an improved but non-backward- compatible interface. I think it meets the goal of suitability for back-porting; it could be MFCed. Mike Index: sys/net/if_media.h
I like it.. The patch seems appropriately manageable. _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"