Displaying 3 results from an estimated 3 matches for "hs_cap".
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...RNING "%s: " format "\n", MY_NAME , ## arg)
-
+do { \
+ if (cpci_debug) \
+ pr_debug(format, ##arg); \
+} while (0)
u8 cpci_get_attention_status(struct slot* slot)
{
@@ -208,8 +205,8 @@ int cpci_led_on(struct slot* slot)
slot->devfn,
hs_cap + 2,
hs_csr)) {
- err("Could not set LOO for slot %s",
- hotplug_slot_name(slot->hotplug_slot));
+ pr_err("Could not set LOO for slot %s\n",
+ hotplug_slot_name(slot->hotplug_slot));
return -ENODEV;
}
}
@@ -237,8 +234,8 @@ int cpci_l...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...RNING "%s: " format "\n", MY_NAME , ## arg)
-
+do { \
+ if (cpci_debug) \
+ pr_debug(format, ##arg); \
+} while (0)
u8 cpci_get_attention_status(struct slot* slot)
{
@@ -208,8 +205,8 @@ int cpci_led_on(struct slot* slot)
slot->devfn,
hs_cap + 2,
hs_csr)) {
- err("Could not set LOO for slot %s",
- hotplug_slot_name(slot->hotplug_slot));
+ pr_err("Could not set LOO for slot %s\n",
+ hotplug_slot_name(slot->hotplug_slot));
return -ENODEV;
}
}
@@ -237,8 +234,8 @@ int cpci_l...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...RNING "%s: " format "\n", MY_NAME , ## arg)
-
+do { \
+ if (cpci_debug) \
+ pr_debug(format, ##arg); \
+} while (0)
u8 cpci_get_attention_status(struct slot* slot)
{
@@ -208,8 +205,8 @@ int cpci_led_on(struct slot* slot)
slot->devfn,
hs_cap + 2,
hs_csr)) {
- err("Could not set LOO for slot %s",
- hotplug_slot_name(slot->hotplug_slot));
+ pr_err("Could not set LOO for slot %s\n",
+ hotplug_slot_name(slot->hotplug_slot));
return -ENODEV;
}
}
@@ -237,8 +234,8 @@ int cpci_l...