puc(4)を書き直しました
修正
# PCI Universal Communications driver # Supports varioussingle andmulti port PCIserialI/O cards.Maybe later # also the parallel ports on combination serial/parallel cards. New cards # can be added in src/sys/dev/puc/pucdata.c. # # If the PUC_FASTINTR option is used the driver will try to use fast # interrupts. The card must then be the only user of that interrupt. # Interrupts cannot be shared when using PUC_FASTINTR.
options PUC_FASTINTR
commit log
Rewrite of puc(4). Significant changes are:
puc(4)を書き直しました。主な変更点は以下の通りです:
- Properly use rman(9) to manage resources. This eliminates the need to puc-specific hacks to rman. It also allows devinfo(8) to be used to find out the specific assignment of resources to serial/parallel ports.
- リソース管理にrman(9)を正しく使うようになりました。これにより、rmanに対するpuc-specificのハックが不要になりました。シリアル/パラレルポートへのリソース割り当てを調べる場合にdevinfo(8)を利用することも可能になりました。
- Compress the PCI device "database" by optimizing for the common case and to use a procedural interface to handle the exceptions. The procedural interface also generalizes the need to setup the hardware (program chipsets, program clock frequencies).
- 一般的な環境に合わせた最適化と、例外的状況に対応する手続き型インターフェイスによって、PCIデバイスの「データベース」を圧縮しました。手続き型インターフェイスによって、ハードウェアセットアップ(チップセットやクロック周波数の設定)の要件も一般化できます。
- Eliminate the need for PUC_FASTINTR. Serdev devices are fast by default and non-serdev devices are handled by the bus.
- PUC_FASTINTRが不要になりました。Serdevデバイスはデフォルトでfastになり、non-serdevデバイスはバスが制御します。
- Use the serdev I/F to collect interrupt status and to handle interrupts across ports in priority order.
- 割り込み状況の把握と、優先度に従ったポートをまたぐ割り込みの制御にserdev I/Fを利用します。
- Sync the PCI device configuration to include devices found in NetBSD and not yet merged to FreeBSD.
- NetBSDで対応がなされ、まだFreeBSDにマージされていないデバイスを含む、PCIデバイスの設定を同期しました。
- Add support for Quatech 2, 4 and 8 port UARTs.
- Quatechの、2/4/8ポートUARTをサポートしました。
- Add support for a couple dozen Timedia serial cards as found in Linux.
- Linuxで対応がなされたTimediaのシリアルカード20〜30種類をサポートしました。
$FreeBSD: src/sys/conf/NOTES,v 1.1359 2006/04/28 21:21:51 marcel Exp $