diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-02-27 19:19:22 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-02-27 19:19:22 -0500 |
| commit | f1dd6ad599732fc89f36fdd65a2c2cf3c63a8711 (patch) | |
| tree | 5092207128e47cba99dc0fe373fff6a36f4cb4b8 /arch/mips/include/asm/octeon/octeon-feature.h | |
| parent | 8d37a371b6869920e6c40c495c68eabba1ef3909 (diff) | |
| parent | e10b234b3c4e255d3300a486c4ac15b43253ac6d (diff) | |
Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: (141 commits)
MIPS: Alchemy: defconfig updates
MIPS: Alchemy: Fix Au1100 ethernet build failure
MIPS: Alchemy: Repair db1500/bosporus builds
MIPS: ARC: Cleanup unused definitions from sgialib.h
MIPS: Cobalt: convert legacy port addresses to GT-64111 bus addresses
MIPS: Alchemy: use 36bit addresses for PCMCIA resources.
MIPS: Cobalt: Fix theoretical port aliasing issue
MIPS: Use ALIGN(x, bytes) instead of __ALIGN_MASK(x, bytes - 1)
MIPS: Crazy spinlock speed test.
MIPS: Optimize spinlocks.
MIPS: Alchemy: devboard PM needs to save CPLD registers.
MIPS: PowerTV: Eliminate duplicate opcode definition macros
MIPS: Lemote 2F: Move printks out of port_access_lock.
MIPS: PNX833x: Convert IRQ controller locks to raw spinlocks.
MIPS: Octeon: Replace spinlock with raw_spinlocks in dma-octeon.c.
MIPS: Octeon: Replace rwlocks in irq_chip handlers with raw_spinlocks.
MIPS: Octeon: Convert octeon_irq_msi_lock to raw spinlock.
MIPS: Loongson: Remove pointless sample_lock from oprofile code.
MIPS: SNI: Convert sni_rm200_i8259A_lock to raw spinlock.
MIPS: i8259: Convert IRQ controller lock to raw spinlock.
...
Diffstat (limited to 'arch/mips/include/asm/octeon/octeon-feature.h')
| -rw-r--r-- | arch/mips/include/asm/octeon/octeon-feature.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/mips/include/asm/octeon/octeon-feature.h b/arch/mips/include/asm/octeon/octeon-feature.h index ef24a7b4ea5..cba6fbed9f4 100644 --- a/arch/mips/include/asm/octeon/octeon-feature.h +++ b/arch/mips/include/asm/octeon/octeon-feature.h | |||
| @@ -99,6 +99,8 @@ static inline int octeon_has_feature(enum octeon_feature feature) | |||
| 99 | return !cvmx_fuse_read(90); | 99 | return !cvmx_fuse_read(90); |
| 100 | 100 | ||
| 101 | case OCTEON_FEATURE_PCIE: | 101 | case OCTEON_FEATURE_PCIE: |
| 102 | case OCTEON_FEATURE_MGMT_PORT: | ||
| 103 | case OCTEON_FEATURE_RAID: | ||
| 102 | return OCTEON_IS_MODEL(OCTEON_CN56XX) | 104 | return OCTEON_IS_MODEL(OCTEON_CN56XX) |
| 103 | || OCTEON_IS_MODEL(OCTEON_CN52XX); | 105 | || OCTEON_IS_MODEL(OCTEON_CN52XX); |
| 104 | 106 | ||
| @@ -110,12 +112,6 @@ static inline int octeon_has_feature(enum octeon_feature feature) | |||
| 110 | case OCTEON_FEATURE_TRA: | 112 | case OCTEON_FEATURE_TRA: |
| 111 | return !(OCTEON_IS_MODEL(OCTEON_CN30XX) | 113 | return !(OCTEON_IS_MODEL(OCTEON_CN30XX) |
| 112 | || OCTEON_IS_MODEL(OCTEON_CN50XX)); | 114 | || OCTEON_IS_MODEL(OCTEON_CN50XX)); |
| 113 | case OCTEON_FEATURE_MGMT_PORT: | ||
| 114 | return OCTEON_IS_MODEL(OCTEON_CN56XX) | ||
| 115 | || OCTEON_IS_MODEL(OCTEON_CN52XX); | ||
| 116 | case OCTEON_FEATURE_RAID: | ||
| 117 | return OCTEON_IS_MODEL(OCTEON_CN56XX) | ||
| 118 | || OCTEON_IS_MODEL(OCTEON_CN52XX); | ||
| 119 | case OCTEON_FEATURE_USB: | 115 | case OCTEON_FEATURE_USB: |
| 120 | return !(OCTEON_IS_MODEL(OCTEON_CN38XX) | 116 | return !(OCTEON_IS_MODEL(OCTEON_CN38XX) |
| 121 | || OCTEON_IS_MODEL(OCTEON_CN58XX)); | 117 | || OCTEON_IS_MODEL(OCTEON_CN58XX)); |
