linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sylvain <thefunny@hosting42.com>
To: linux-kernel@vger.kernel.org
Subject: Compilation problems under Sparc64
Date: 26 Jul 2003 18:12:53 +0200	[thread overview]
Message-ID: <7x65lp2rne.fsf@sheena.arpej.net> (raw)


Hi,

        I have try to compile  the 2.6.0-test1 under sparc64, I have a
        ultra5 and  i obtain some  compilation problem with  floppy in
        include/asm/floppy.h (asm-sparc64). I fix this problem with :

217c217
< extern irqreturn_t floppy_hardint(int irq, void *unused, struct pt_regs *regs);
---
> extern void floppy_hardint(int irq, void *unused, struct pt_regs *regs);
280c280
< extern irqreturn_t floppy_interrupt(int irq, void *dev_id, struct pt_regs *regs);
---
> extern void floppy_interrupt(int irq, void *dev_id, struct pt_regs *regs);

        First are mine, and the second the orignal.

        I had  also a tv card, a  bt878, but it's need  i2c support in
        order to run correctly so  i make this change in configuration
        menu (arch/sparc64/Kconfig)

747,788d746
< menu "I2C support"
< 
< config I2C
< 	tristate "I2C support"
< 	---help---
< 	  I2C (pronounce: I-square-C) is a slow serial bus protocol used in
< 	  many micro controller applications and developed by Philips.  SMBus,
< 	  or System Management Bus is a subset of the I2C protocol.  More
< 	  information is contained in the directory <file:Documentation/i2c/>,
< 	  especially in the file called "summary" there.
< 
< 	  Both I2C and SMBus are supported here. You will need this for
< 	  hardware sensors support, and also for Video For Linux support.
< 	  Specifically, if you want to use a BT848 based frame grabber/overlay
< 	  boards under Linux, say Y here and also to "I2C bit-banging
< 	  interfaces", below.
< 
< 	  If you want I2C support, you should say Y here and also to the
< 	  specific driver for your bus adapter(s) below.  If you say Y to
< 	  "/proc file system" below, you will then get a /proc interface which
< 	  is documented in <file:Documentation/i2c/proc-interface>.
< 
< 	  This I2C support is also available as a module.  If you want to
< 	  compile it as a module, say M here and read
< 	  <file:Documentation/modules.txt>.
< 	  The module will be called i2c-core.
< 
< config I2C_ALGOBIT
< 	tristate "I2C bit-banging interfaces"
< 	depends on I2C
< 	help
< 	  This allows you to use a range of I2C adapters called bit-banging
< 	  adapters.  Say Y if you own an I2C adapter belonging to this class
< 	  and then say Y to the specific driver for you adapter below.
< 
< 	  This support is also available as a module.  If you want to compile
< 	  it as a module, say M here and read
< 	  <file:Documentation/modules.txt>.
< 	  The module will be called i2c-algo-bit.
< 
< endmenu
< 
810c768
< 	depends on PCI && VIDEO_DEV && I2C_ALGOBIT
---
> 	depends on PCI && VIDEO_DEV
824,842d781
< config VIDEO_TUNER
< 	tristate
< 	default y if VIDEO_BT848=y
< 	default m if VIDEO_BT848=m
< 	depends on VIDEO_DEV
< 
< config VIDEO_BUF
< 	tristate
< 	default y if VIDEO_BT848=y
< 	default m if VIDEO_BT848=m
< 	depends on VIDEO_DEV
< 
< config VIDEO_VIDEOBUF
< 	tristate
< 	default y if VIDEO_BT848=y
< 	default m if VIDEO_BT848=m
< 	depends on VIDEO_DEV
< 
< 


        And also this small fix on driver/media/video/bttv-risc.h :
        
32d31
< #include <asm/io.h>


        After making test, bttv seems to work well with it.

        You  need also  to active  input event  support not  to having
        unresolved symbol at the end of compilation.

        And for the end, my keybord  and my mouse doesn't work at all,
        and i  must use my computer  with ssh with  this kernel, don't
        you have  any idea  about this ?  (in console and  with Xfree,
        it's the same)
        
        If you know want to do for it, i would be happy to know too !

        Thank you and excuse me for my bad english. 


-- 
Viollon Sylvain						
		 Qui sème le vent récolte l'ouragan.
GNU FingerPrint : 052D 6BA2 34FF 6A39 150B  3EB8 BC84 1785 FA5D 5C97


             reply	other threads:[~2003-07-26 16:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-26 16:12 Sylvain [this message]
2003-07-26 16:42 ` Compilation problems under Sparc64 David S. Miller
2003-07-26 17:20 ` Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7x65lp2rne.fsf@sheena.arpej.net \
    --to=thefunny@hosting42.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).