* [PATCH 2/4] fusion - remove whitespace
@ 2005-06-01 16:47 Moore, Eric Dean
0 siblings, 0 replies; only message in thread
From: Moore, Eric Dean @ 2005-06-01 16:47 UTC (permalink / raw)
To: linux scsi
[-- Attachment #1: Type: text/plain, Size: 223 bytes --]
mptfusion patch 2/4:
This patch can also be found at this URL:
ftp://ftp.lsil.com/HostAdapterDrivers/linux/Fusion-MPT/2.6-kernel/3.03.03/
Changelog:
* killing white space
Signed-off-by: Eric.Moore<Eric.Moore@lsil.com>
[-- Attachment #2: sas_upates2.patch --]
[-- Type: text/x-diff, Size: 3254 bytes --]
--- b/drivers/message/fusion/mptlan.c 2005-05-10 14:27:13.000000000 -0600
+++ a/drivers/message/fusion/mptlan.c 2005-05-26 12:05:37.000000000 -0600
@@ -852,7 +852,7 @@
*/
{
struct mpt_lan_priv *priv = dev->priv;
-
+
if (test_and_set_bit(0, &priv->post_buckets_active) == 0) {
if (priority) {
schedule_work(&priv->post_buckets_task);
@@ -1169,22 +1169,22 @@
"(priv->buckets_out = %d)\n",
IOC_AND_NETDEV_NAMES_s_s(dev),
remaining, atomic_read(&priv->buckets_out));
-
+
if ((remaining < priv->bucketthresh) &&
((atomic_read(&priv->buckets_out) - remaining) >
MPT_LAN_BUCKETS_REMAIN_MISMATCH_THRESH)) {
-
+
printk (KERN_WARNING MYNAM " Mismatch between driver's "
"buckets_out count and fw's BucketsRemaining "
"count has crossed the threshold, issuing a "
"LanReset to clear the fw's hashtable. You may "
"want to check your /var/log/messages for \"CRC "
"error\" event notifications.\n");
-
+
mpt_lan_reset(dev);
mpt_lan_wake_post_buckets_task(dev, 0);
}
-
+
return mpt_lan_receive_skb(dev, skb);
}
@@ -1456,7 +1456,7 @@
ioc->pfacts[i].PortNumber);
continue;
}
-
+
printk(KERN_INFO MYNAM ": %s: Fusion MPT LAN device "
"registered as '%s'\n", ioc->name, dev->name);
printk(KERN_INFO MYNAM ": %s/%s: "
@@ -1465,7 +1465,7 @@
dev->dev_addr[0], dev->dev_addr[1],
dev->dev_addr[2], dev->dev_addr[3],
dev->dev_addr[4], dev->dev_addr[5]);
-
+
ioc->netdev = dev;
return 0;
@@ -1513,7 +1513,7 @@
}
dlprintk((KERN_INFO MYNAM ": Registered for IOC reset notifications\n"));
-
+
if (mpt_device_driver_register(&mptlan_driver, MPTLAN_DRIVER))
dprintk((KERN_INFO MYNAM ": failed to register dd callbacks\n"));
return 0;
--- b/drivers/message/fusion/mptspi.c 2005-05-05 10:19:45.000000000 -0600
+++ a/drivers/message/fusion/mptspi.c 2005-05-26 11:56:17.000000000 -0600
@@ -175,15 +175,15 @@
u8 *mem;
int error=0;
int r;
-
+
if ((r = mpt_attach(pdev,id)) != 0)
return r;
-
+
ioc = pci_get_drvdata(pdev);
ioc->DoneCtx = mptspiDoneCtx;
ioc->TaskCtx = mptspiTaskCtx;
ioc->InternalCtx = mptspiInternalCtx;
-
+
/* Added sanity check on readiness of the MPT adapter.
*/
if (ioc->last_state != MPI_IOC_STATE_OPERATIONAL) {
@@ -468,7 +468,7 @@
mptspi_exit(void)
{
pci_unregister_driver(&mptspi_driver);
-
+
mpt_reset_deregister(mptspiDoneCtx);
dprintk((KERN_INFO MYNAM
": Deregistered for IOC reset notifications\n"));
--- b/drivers/message/fusion/mptfc.c 2005-05-10 14:59:11.000000000 -0600
+++ a/drivers/message/fusion/mptfc.c 2005-05-26 11:57:03.000000000 -0600
@@ -165,10 +165,10 @@
u8 *mem;
int error=0;
int r;
-
+
if ((r = mpt_attach(pdev,id)) != 0)
return r;
-
+
ioc = pci_get_drvdata(pdev);
ioc->DoneCtx = mptfcDoneCtx;
ioc->TaskCtx = mptfcTaskCtx;
@@ -336,7 +336,7 @@
ddvprintk((MYIOC_s_INFO_FMT
"mpt_pq_filter %x\n",
- ioc->name,
+ ioc->name,
mpt_pq_filter));
init_waitqueue_head(&hd->scandv_waitq);
@@ -413,7 +413,7 @@
mptfc_exit(void)
{
pci_unregister_driver(&mptfc_driver);
-
+
mpt_reset_deregister(mptfcDoneCtx);
dprintk((KERN_INFO MYNAM
": Deregistered for IOC reset notifications\n"));
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-06-01 16:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-01 16:47 [PATCH 2/4] fusion - remove whitespace Moore, Eric Dean
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox