Subject: where is ifp->if_baudrate used?
To: None <tech-net@NetBSD.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: tech-net
Date: 03/18/2007 11:41:12
Hi,
struct ifnet has if_baudrate (which is actually if_data.ifi_baudrate),
member, but where is the member used?
Should it be initilized to proper values in attachments of each driver?
Or is it initialized in the MII layer later?
Currently only a few drivers have it, and if it isn't initialized
in the driver attacments, it will be set to default 10Mbps in
sys/net/if_ethersubr.c:ether_ifattach().
I wonder if we should set it to proper speed manually or not.
---
Izumi Tsutsui