Oracle Solaris 10 9/10 发行说明

令牌环和光纤分布式数据接口设备类型

Oracle Solaris 的未来发行版可能会删除对通用 LAN 驱动程序 (generic LAN driver, GLD) 中的令牌环 (DL_TPR) 和光纤分布式数据接口 (Fiber Distributed Data Interface, FDDI) 设备类型的支持。执行删除后,依赖 GLD 中此支持的令牌环或 FDDI 的驱动程序将停止运行。不过,不使用此支持的其他驱动程序或应用程序不会受到影响。要测试驱动程序是否依赖 GLD,请运行以下脚本:


#!/bin/sh
#
# Test a driver binary for use of GLD
#
for file
do
 	/usr/ccs/bin/nm $file | /bin/awk '
 	/\|gld_register$/       { isgld=1; }
 	END {
 		if (isgld)
 			print file, "uses GLD";
 		else
 			print file, "does not use GLD";
 	}' file=$file
done

有关通用 LAN 驱动程序的更多信息,请参见 gld(7D) 手册页以及《编写设备驱动程序》。