diff --git a/en_US.ISO8859-1/books/arch-handbook/newbus/chapter.xml b/en_US.ISO8859-1/books/arch-handbook/newbus/chapter.xml index e038e49f2f..233d14acbb 100644 --- a/en_US.ISO8859-1/books/arch-handbook/newbus/chapter.xml +++ b/en_US.ISO8859-1/books/arch-handbook/newbus/chapter.xml @@ -22,18 +22,38 @@ Provided under the FreeBSD Documentation License. --> - - Newbus + + + Newbus + - JeroenRuigrok van der Werven (asmodai) -
asmodai@FreeBSD.org
-
Written by
- HitenPandya -
hiten@uk.FreeBSD.org
-
+ + + Jeroen + Ruigrok van der Werven (asmodai) + + +
+ asmodai@FreeBSD.org +
+
+ Written by +
+ + + Hiten + Pandya + + +
+ hiten@uk.FreeBSD.org +
+
+
- Special thanks to Matthew N. Dodd, Warner Losh, Bill Paul, Doug Rabson, Mike Smith, Peter Wemm and Scott @@ -79,11 +99,11 @@ Block devices performed in a way that used fixed size blocks [of data]. This type of driver depended on the so-called buffer cache, - which had cached accessed blocks of data in a - dedicated part of memory. Often this buffer cache was - based on write-behind, which meant that when data was modified - in memory it got synced to disk whenever the system did its - periodical disk flushing, thus optimizing writes. + which had cached accessed blocks of data in a dedicated part + of memory. Often this buffer cache was based on write-behind, + which meant that when data was modified in memory it got + synced to disk whenever the system did its periodical disk + flushing, thus optimizing writes. @@ -143,7 +163,7 @@ entity in the system. For instance each PCI device is represented by a Newbus device. Any device in the system can have children; a device which has children is often called a - bus. Examples of common + bus. Examples of common busses in the system are ISA and PCI, which manage lists of devices attached to ISA and PCI busses respectively. @@ -193,9 +213,10 @@ port-mapped registers (some hardware supports both). This support is integrated into the resource allocation - mechanism. When a resource is allocated, a driver can retrieve - the associated bus_space_tag_t and - bus_space_handle_t from the + mechanism. When a resource is allocated, a driver can retrieve + the associated bus_space_tag_t and bus_space_handle_t from the resource. Newbus also allows for definitions of interface methods in @@ -219,12 +240,12 @@ table declared by the driver. A device can later detach from its driver and re-attach to a new driver with a new method - table. This allows dynamic replacement of drivers which can be + table. This allows dynamic replacement of drivers which can be useful for driver development. The interfaces are described by an interface definition language similar to the language used to define vnode operations - for file systems. The interface would be stored in a methods + for file systems. The interface would be stored in a methods file (which would normally be named foo_if.m). @@ -279,7 +300,7 @@ contains methods suitable for devices which have children, including methods to access bus specific per-device information &man.bus.generic.read.ivar.9; and - &man.bus.generic.write.ivar.9;, event + &man.bus.generic.write.ivar.9;, event notification (child_detached, driver_added) and