From cf0adf9c25bf58260d6759bf9ea444c74c516b80 Mon Sep 17 00:00:00 2001 From: "Thierry.Vignaud" Date: Tue, 27 May 2014 22:03:36 +0200 Subject: improve style --- perl-install/detect_devices.pm | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'perl-install/detect_devices.pm') 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 modules offers a high level API for detecting devices.* It mostly relies on the L 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 & C. Then the L enables to map modules into categories such as: -=over +=over 4 -=item network/ethernet, +=item * C -=item network/wireless, +=item * C -=item network/wifi, +=item * C -=item disk/sata, +=item * C -=item disk/scsi, +=item * C -=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). =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). =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 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 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) 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 (really C) telling us it's a laptop =item * -- cgit v1.2.1