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 1
Chinese (Simplified) (zh_CN) This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 16% 72 1,290 1
Chinese (Traditional) (zh_TW) This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 1% 85 1,459
Dutch (nl_NL) This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 0% 86 1,461
French (fr_FR) This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 0% 86 1,461
German (de_DE) This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 0% 86 1,461
Italian (it_IT) This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 0% 86 1,461
Norwegian Bokmål This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 0% 86 1,461
Persian This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 0% 86 1,461
Portuguese (Brazil) This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 1% 85 1,459
Spanish This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 0% 86 1,461
Turkish (tr_TR) This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 1% 85 1,459
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/pci/chapter.po
Languages 12
Source strings 86
Source words 1,461
Source characters 10,504
Hosted strings 1,032
Hosted words 17,532
Hosted characters 126,048
It is very important to deallocate all of the resources that were allocated during `attach()`. Care must be taken to deallocate the correct stuff even on a failure condition so that the system will remain usable while your driver dies.
取消<function>attach()</function>期间分配的所有资源非常重要。必须小心谨慎,即使在失败的条件下也要保证取消分配那些正确的东西,这样当你的驱动程序去掉后系统仍然可以使用。
3 days ago
New contributor 3 days ago
Some care must be taken in the detach routine of the driver. You must quiesce the device's interrupt stream, and remove the interrupt handler. Once `bus_teardown_intr()` has returned, you know that your interrupt handler will no longer be called and that all threads that might have been executing this interrupt handler have returned. Since this function can sleep, you must not hold any mutexes when calling this function.
在设备的分离例程中必须注意一些问题。你必须停顿设备的中断流,并移除中断处理函数。一旦<function>bus_teardown_intr()</function>返回,你知道你的中断处理函数不会再被调用,并且所有可能已经执行了这个中断处理函数的线程都已经返回。由于此函数可以睡眠,调用此函数时你必须不能拥有任何互斥体。
3 days ago
New contributor 3 days ago
These functions exist in 8bit, 16bit, and 32bit versions and you should use `bus_space_{read|write}_{1|2|4}` accordingly.
这些函数以8位,16位和32位的版本存在,你应当相应地使用<function>bus_space_{read|write}_{1|2|4}</function>。
3 days ago
New contributor 3 days ago
These handles can then be used to read or write from the device registers with the `bus_space_*` functions. For example, a driver might contain a shorthand function to read from a board specific register like this:
然后就能使用这些句柄与<function>bus_space_*</function>函数一起读写设备寄存器。例如,驱动程序可能包含如下的快捷函数,用来读取板子特定的寄存器:
3 days ago
New contributor 3 days ago
For example, a typical driver might have something similar to this in the `attach()` function:
例如,一个典型的驱动程序可能在<function>attach()</function>函数中有些类似下面的东西:
3 days ago
New contributor 3 days ago
Browse all component changes

Daily activity

Daily activity

Weekly activity

Weekly activity