1. 01 9月, 2008 1 次提交
    • A
      sparc: remove CONFIG_SUN4 · 5110bd21
      Adrian Bunk 提交于
      While doing some easy cleanups on the sparc code I noticed that the
      CONFIG_SUN4 code seems to be worse than the rest - there were some
      "I don't know how it should work, but the current code definitely cannot
      work." places.
      
      And while I have seen people running Linux on machines like a
      SPARCstation 5 a few years ago I don't recall having seen sun4
      machines, even less ones running Linux.
      Signed-off-by: NAdrian Bunk <bunk@kernel.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5110bd21
  2. 25 8月, 2008 1 次提交
    • D
      sparc: Add mutex for set property calls. · 2481d766
      David S. Miller 提交于
      On some platforms, the I2C controller is shared between the OS and
      OBP.  OBP uses this I2C controller to access the EEPROM, and thus is
      programmed when the kernel calls prom_setprop().
      
      Wrap such calls with the new of_set_property_mutex.
      
      Relevant I2C bus drivers can grab this mutex around top-level I2C
      operations to provide the proper protection.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2481d766
  3. 08 8月, 2007 1 次提交
  4. 30 7月, 2007 1 次提交
  5. 21 7月, 2007 1 次提交
    • D
      [SPARC]: Fix serial console device detection. · c73fcc84
      David S. Miller 提交于
      The current scheme works on static interpretation of text names, which
      is wrong.
      
      The output-device setting, for example, must be resolved via an alias
      or similar to a full path name to the console device.
      
      Paths also contain an optional set of 'options', which starts with a
      colon at the end of the path.  The option area is used to specify
      which of two serial ports ('a' or 'b') the path refers to when a
      device node drives multiple ports.  'a' is assumed if the option
      specification is missing.
      
      This was caught by the UltraSPARC-T1 simulator.  The 'output-device'
      property was set to 'ttya' and we didn't pick upon the fact that this
      is an OBP alias set to '/virtual-devices/console'.  Instead we saw it
      as the first serial console device, instead of the hypervisor console.
      
      The infrastructure is now there to take advantage of this to resolve
      the console correctly even in multi-head situations in fbcon too.
      
      Thanks to Greg Onufer for the bug report.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c73fcc84
  6. 20 7月, 2007 6 次提交
  7. 26 4月, 2007 4 次提交
  8. 10 10月, 2006 1 次提交
    • M
      [SPARC32]: Fix prom.c build warning · 078830ea
      Martin Habets 提交于
      Fix these 2.6.19-rc1 build warnings:
      
        CC      arch/sparc/kernel/prom.o
      arch/sparc/kernel/prom.c: In function `of_set_property':
      arch/sparc/kernel/prom.c:246: warning: passing arg 2 of `prom_setprop' discards qualifiers from pointer target type
      arch/sparc/kernel/prom.c: In function `build_one_prop':
      arch/sparc/kernel/prom.c:446: warning: unused variable `len'
      arch/sparc/kernel/prom.c:480: warning: ignoring return value of `prom_getproperty', declared with attribute warn_unused_result
      Signed-off-by: NMartin Habets <errandir_news@mph.eclipse.co.uk>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      078830ea
  9. 22 7月, 2006 1 次提交
  10. 30 6月, 2006 1 次提交
  11. 26 6月, 2006 2 次提交
  12. 24 6月, 2006 7 次提交