Hottest Free Downloads - DownloadPipe.com Over 197,000 downloads! Bookmark Now!
DownloadPipe.com - New Downloads Every Minute
 SEARCH:
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

[PATCH] Update an code example

 
   Linux (Home) -> Kernel RSS
Next:  [RFC] Advanced XIP File System  
Author Message
Henne

External


Since: May 03, 2006
Posts: 13



(Msg. 1) Posted: Wed May 03, 2006 1:40 pm
Post subject: [PATCH] Update an code example
Archived from groups: linux>kernel (more info?)

From: Henrik Kretzschmar <henne DeleteThis @nachtwindheim.de>

Update an example function in the deviceiobook to be in sync with
actual qla1280c .
The change in the driver happend in Aug-2005 and is a bit clearer.
Signed-off-by: Henrik Kretzschmar <henne DeleteThis @nachtwindheim.de>
---

--- linux-2.6.17-rc3/Documentation/DocBook/deviceiobook.tmpl 2006-04-27 08:39:13.000000000 +0200
+++ linux/Documentation/DocBook/deviceiobook.tmpl 2006-04-30 15:18:02.000000000 +0200
@@ -176,18 +176,13 @@
static inline void
qla1280_disable_intrs(struct scsi_qla_host *ha)
{
- struct device_reg *reg;
-
- reg = ha->iobase;
- /* disable risc and host interrupts */
- WRT_REG_WORD(&reg->ictrl, 0);
+ WRT_REG_WORD(&ha->iobase->ictrl, 0);
/*
* The following read will ensure that the above write
* has been received by the device before we return from this
* function.
*/
- RD_REG_WORD(&reg->ictrl);
- ha->flags.ints_enabled = 0;
+ RD_REG_WORD(&ha->iobase->ictrl);
}
</programlisting>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo DeleteThis @vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to top
Login to vote
Display posts from previous:   
Related Topics:
[patch 7/8] w100fb: Update corgi platform code to match ne.. - This patch moves the platform specific Sharp SL-C7x0 LCD code from the w100fb driver into a more appropriate place and updates the Corgi code to match the new w100fb driver. It also updates the corgi touchscreen code to match the new simplified..

[PATCH] Separate tainted code from panic code - * Create kernel/tainted.c and include/linux/tainted.h * Move all tainted-related stuff from kernel/panic.c and include/linux/kernel.h there. * #include <linux/tainted.h> where needed. * Switch #include <linux/kernel.h> to #include <linux...

FW: [patch 2.6.12-rc3]dell_rbu: Resubmitting patch for new.. - Resending, not sure why it didn't make it to the list earlier... -----Original Message----- From: Salunke, Abhay Sent: Friday, July 08, 2005 8:07 PM To: linux-kernel@vger.kernel.org; akpm@osdl.org; Salunke, Abhay Cc: greg@kroah.com Subject: [patch..

PATCH: Remove unused CHECK code from riocmd.c - Signed-off-by: Alan Cox <alan@redhat.com> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.15-git12/drivers/char/rio/riocmd.c linux-2.6.15-git12/drivers/char/rio/riocmd.c ---..

[Patch] quota: fix error code for ext2_new_inode() - Hi Honza! the quota check in ext2_new_inode() returns ENOSPC where IMHO it should return EDQUOT instead. here is a trivial patch to fix that ... rationale: ext3, reiser, udf and ufs do similar checks and already return EDQUOT best, Herbert ..
       Linux (Home) -> Kernel All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows Forums
 Game Forums
  Linux Forums
 Mac Forums
 PDA Forums
 Mobile Forums
  Top  |  Store  |  RSS Feeds RSS  |  Data Feeds  |  Advertise  |  Submit  |  Bookmark  |  Newsletter  |  Contact