Language Translated Untranslated Untranslated words Checks Suggestions Comments
English This translation is used for source strings. This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 8
Chinese (Simplified) (zh_CN) This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 30% 255 6,826 26
Chinese (Traditional) (zh_TW) This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 0% 368 10,400
Dutch (nl_NL) This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 0% 369 10,401
French (fr_FR) This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 0% 369 10,401
German (de_DE) This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 0% 369 10,401
Italian (it_IT) This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 0% 369 10,401
Norwegian Bokmål This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 0% 369 10,401
Persian This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 0% 368 10,400
Portuguese (Brazil) This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 0% 367 10,399 15 18
Spanish This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 0% 368 10,400
Turkish (tr_TR) This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 0% 369 10,401
Please sign in to see the alerts.
Project website docs.freebsd.org/en
Translation process
  • Translations can be made directly.
  • Translation suggestions can be made.
  • Only chosen users can contribute.
  • The translation uses bilingual files.
Translation license BSD 2-Clause "Simplified" License
Filemask documentation/content/*/books/arch-handbook/isa/chapter.po
Languages 12
Source strings 369
Source words 10,401
Source characters 69,321
Hosted strings 4,428
Hosted words 124,812
Hosted characters 831,852
This chapter introduces the issues relevant to writing a driver for an ISA device. The pseudo-code presented here is rather detailed and reminiscent of the real code but is still only pseudo-code. It avoids the details irrelevant to the subject of the discussion. The real-life examples can be found in the source code of real drivers. In particular the drivers `ep` and `aha` are good sources of information.
本章介绍了编写ISA设备驱动程序相关的一些问题。这儿展示的伪代码相当详细,很容易让人联想到真正的代码,不过这依然仅仅是伪代码。它避免了与所讨论的主题无关的细节。真实的例子可以在实际驱动程序的源代码中找到。<literal>ep</literal>和<literal>aha</literal>更是信息的好来源。
2 days ago
New contributor 2 days ago
`static void xxx_isa_identify (driver_t *, device_t);` Normally used for bus drivers, not device drivers. But for ISA devices this method may have special use: if the device provides some device-specific (non-PnP) way to auto-detect devices this routine may implement it.
<function>static void xxx_isa_identify (driver_t *,device_t);</function> 通常用于总线驱动程序而不是设备驱动程序。但对于ISA设备,这个方法有特殊用途:如果设备提供某些设备特定的(非PnP)方法自动侦测设备,这个例程可以实现它。
2 days ago
New contributor 2 days ago
`static int xxx_isa_probe (device_t dev);` Probe for a device at a known (or PnP) location. This routine can also accommodate device-specific auto-detection of parameters for partially configured devices.
<function>static int xxx_isa_probe (device_tdev);</function> 在已知(或PnP)位置探测设备。对于已经部分配置的设备,这个例程也能够提供设备特定的对某些参数的自动侦测。
2 days ago
New contributor 2 days ago
If the driver is implemented as a loadable module then `load_function()` is called to do driver-specific initialization or clean-up when the driver is loaded or unloaded and load_argument is passed as one of its arguments. If the driver does not support dynamic loading (in other words it must always be linked into the kernel) then these values should be set to 0 and the last definition would look like:
如果驱动程序作为可加载模块实现,当驱动程序被加载或卸载时,会调用<function>load_function()</function>函数进行驱动程序特定的初始化或清理工作,并将load_argument作为函数的一个参量传递进去。如果驱动程序不支持动态加载(换句话说,它必须被链接到内核中),则这些值应当被设置为0,最后的定义将看起来如下所示:
2 days ago
New contributor 2 days ago
DRIVER_MODULE(xxx, isa, xxx_isa_driver,
xxx_devclass, 0, 0);
DRIVER_MODULE(xxx, isa, xxx_isa_driver,
xxx_devclass, 0, 0);
2 days ago
New contributor 2 days ago
Browse all component changes

Daily activity

Daily activity

Weekly activity

Weekly activity