summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm32
1 files changed, 16 insertions, 16 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 9908497cf..17e37954a 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -23,23 +23,23 @@ The B<detect_devices> modules offers a high level API for detecting devices.*
It mostly relies on the L<c> modules for gluing libldetect back into the Perl world, and thus
being able to enumerate DMI/HID/PCI/USB devices.
-Other devices are mostly detected through /proc & /sys.
+Other devices are mostly detected through C</proc> & C</sys>.
Then the L<list_modules> enables to map modules into categories such as:
-=over
+=over 4
-=item network/ethernet,
+=item * C<network/ethernet,>
-=item network/wireless,
+=item * C<network/wireless,>
-=item network/wifi,
+=item * C<network/wifi,>
-=item disk/sata,
+=item * C<disk/sata,>
-=item disk/scsi,
+=item * C<disk/scsi,>
-=item ...
+=item * ...
=back
@@ -440,7 +440,7 @@ sub getATARAID() {
=item getXenBlk()
-Returns a list of all Xen block devices (/dev/xvd*).
+Returns a list of all Xen block devices (C</dev/xvd*>).
=cut
@@ -454,7 +454,7 @@ sub getXenBlk() {
=item getVirtIO()
-Returns a list of all VirtIO block devices (/dev/vd*).
+Returns a list of all VirtIO block devices (/dev/C<vd*>).
=cut
@@ -500,9 +500,9 @@ sub ix86_cpu_frequency() {
=item probe_category($category)
-Returns a list of devices which drivers are in the asked category.
+Returns a list of devices which drivers are in the asked category. eg:
-eg: my @eth_cards = probe_category('network/ethernet');
+ my @eth_cards = probe_category('network/ethernet');
=cut
@@ -1012,7 +1012,7 @@ sub pci_probe__real() {
=item pci_probe()
-Cache the result of c::pci_probe() and return the list of items in the PCI devices.
+Cache the result of C<c::pci_probe()> and return the list of items in the PCI devices.
=cut
@@ -1041,7 +1041,7 @@ sub usb_probe__real() {
=item usb_probe()
-Cache the result of c::usb_probe() and return the list of items in the USB devices.
+Cache the result of C<c::usb_probe()> and return the list of items in the USB devices.
=cut
@@ -1148,7 +1148,7 @@ sub pcmcia_probe() {
=item dmi_probe()
-Cache the result of c::dmi_probe() (aka dmidecode) and return the list of items in the DMI table
+Cache the result of c::dmi_probe() (aka C<dmidecode>) and return the list of items in the DMI table
=cut
@@ -1361,7 +1361,7 @@ pcmcia service
=item *
-computer_info() (really dmidecode) telling us it's a laptop
+C<computer_info()> (really C<dmidecode>) telling us it's a laptop
=item *