Revision c15f5bbc94ece97831184abef664186278c93674 authored by Linus Torvalds on 03 October 2013, 15:54:39 UTC, committed by Linus Torvalds on 03 October 2013, 15:54:39 UTC
Pull powerpc fixes from Ben Herrenschmidt:
 "Here are a few powerpc fixes, all aimed at -stable, found in part
  thanks to the ramping up of a major distro testing and in part thanks
  to the LE guys hitting all sort interesting corner cases.

  The most scary are probably the register clobber issues in
  csum_partial_copy_generic(), especially since Anton even had a test
  case for that thing, which didn't manage to hit the bugs :-)

  Another highlight is that memory hotplug should work again with these
  fixes.

  Oh and the vio modalias one is worse than the cset implies as it
  upsets distro installers, so I've been told at least, which is why I'm
  shooting it to stable"

* 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
  powerpc/tm: Switch out userspace PPR and DSCR sooner
  powerpc/tm: Turn interrupts hard off in tm_reclaim()
  powerpc/perf: Fix handling of FAB events
  powerpc/vio: Fix modalias_show return values
  powerpc/iommu: Use GFP_KERNEL instead of GFP_ATOMIC in iommu_init_table()
  powerpc/sysfs: Disable writing to PURR in guest mode
  powerpc: Restore registers on error exit from csum_partial_copy_generic()
  powerpc: Fix parameter clobber in csum_partial_copy_generic()
  powerpc: Fix memory hotplug with sparse vmemmap
2 parent s e6e7fb1 + e9bdc3d
Raw File
NCR_Q720.h
/* -*- mode: c; c-basic-offset: 8 -*- */

/* NCR Quad 720 MCA SCSI Driver
 *
 * Copyright (C) 2003 by James.Bottomley@HansenPartnership.com
 */

#ifndef _NCR_Q720_H
#define _NCR_Q720_H

/* The MCA identifier */
#define NCR_Q720_MCA_ID		0x0720

#define NCR_Q720_CLOCK_MHZ	30

#define NCR_Q720_POS2_BOARD_ENABLE	0x01
#define NCR_Q720_POS2_INTERRUPT_ENABLE	0x02
#define NCR_Q720_POS2_PARITY_DISABLE	0x04
#define NCR_Q720_POS2_IO_MASK		0xf8
#define NCR_Q720_POS2_IO_SHIFT		8

#define NCR_Q720_CHIP_REGISTER_OFFSET	0x200
#define NCR_Q720_SCSR_OFFSET		0x070
#define NCR_Q720_SIOP_SHIFT		0x080

#endif


back to top