Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Grant Grundler <grundler@cup.hp.com>
To: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: parisc-linux@thepuffingroup.com
Subject: Re: [parisc-linux] Start sash ...
Date: Sat, 16 Oct 1999 18:17:59 -0700	[thread overview]
Message-ID: <199910170118.SAA25384@milano.cup.hp.com> (raw)
In-Reply-To: Your message of "Sat, 16 Oct 1999 22:12:53 PDT." <19991016221253.A1893@alpha.franken.de>

Thomas Bogendoerfer wrote:
...
> Serial Interrupts are definitly not working. I'm now running the uart in 
> polling mode and I had to force use 16550A mode. Below is a patchset of my
> hacks.  You need a fixed posix_types.h and bitops.h, too. I haven't tested 
> the cvs version, yet.

...
> Index: drivers/gecko/lasi.c
> ===================================================================
> RCS file: /home/cvs/parisc/linux/drivers/gecko/lasi.c,v
> retrieving revision 1.13
> diff -u -r1.13 lasi.c
> --- drivers/gecko/lasi.c	1999/10/15 19:30:30	1.13
> +++ drivers/gecko/lasi.c	1999/10/16 20:06:44
> @@ -263,7 +263,9 @@
>          serial->type = PORT_UNKNOWN; // else: PORT_16550A;
>          serial->line = 0;
 	serial->port = ((unsigned int) d->hpa) + 0x800;
> -        serial->irq = 256 + 5;	// FIXME: lasi->region->data.irqbase + 
>   5
> +	serial->iomem_base = ((unsigned int) d->hpa) + 0x800;
> +        // serial->irq = 256 + 5;	// FIXME: lasi->region->data.irqbase + 
>   5
> +        serial->irq = 0;

The code here could use lasi_alloc_irq() to get the "right" irq number.
I added this to support lasi7xx.c (c710 SCSI macrocell Lasi).
I coded this function based on some research I did (ie not guaranteed
to be right). My conclusion was the lasi serial was on bit 26 (not 5).
I may have bits numbered from the wrong end. Either way, might be
easier to support in the long run if serial device setup used this
interface as well.

thanks,
grant

Grant Grundler
Communications Infrastructure Computer Operations
+1.408.447.7253

  reply	other threads:[~1999-10-17  1:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-16 10:46 [parisc-linux] Start sash Thomas Bogendoerfer
1999-10-16 20:12 ` Thomas Bogendoerfer
1999-10-17  1:17   ` Grant Grundler [this message]
1999-10-17  1:56     ` [parisc-linux] ld: Unsatisfied symbols: csum_partial (code) Grant Grundler
1999-10-17 22:34       ` Helge Deller
1999-10-18  4:41         ` Grant Grundler
1999-10-18 20:13   ` [parisc-linux] Start sash Alex deVries

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=199910170118.SAA25384@milano.cup.hp.com \
    --to=grundler@cup.hp.com \
    --cc=parisc-linux@thepuffingroup.com \
    --cc=tsbogend@alpha.franken.de \
    /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