From: Martin Dalecki <dalecki@evision-ventures.com>
To: Bill Davidsen <davidsen@tmr.com>
Cc: Baldur Norddahl <bbn-linux-kernel@clansoft.dk>,
linux-kernel@vger.kernel.org
Subject: Re: More than 10 IDE interfaces
Date: Fri, 12 Apr 2002 15:39:32 +0200 [thread overview]
Message-ID: <3CB6E394.7070703@evision-ventures.com> (raw)
In-Reply-To: <Pine.LNX.3.96.1020411085829.3677F-100000@gatekeeper.tmr.com>
Bill Davidsen wrote:
> On Thu, 11 Apr 2002, Martin Dalecki wrote:
>
>
>>Baldur Norddahl wrote:
>>
>>>Hi,
>>>
>>>I have a machine with the following configuration:
>>>
>>>2 on board IDE interfaces (AMD chipset)
>>>2 Promise Technology UltraDMA100 controllers with each 2 IDE interfaces.
>>>4 Promise Technology UltraDMA133 controllers with each 2 IDE interfaces.
>>>
>>>This adds up to 14 IDE interfaces. And I just discovered that the kernel
>>>only supports 10 IDE interfaces :-(
>>>
>>>So I tried to hack the kernel, and I was partially successfull. I changed
>>>MAX_HWIF from 10 to 14. I made up some major numbers for the extra
>>
>>In your case if should be changed to 15 there is an off by one error here in the
>>interpretation of this constant.
>
>
> ??? If the current value is 10, and supports 10 interfaces, and I
> believe that is the case, why should he need a value of 15 to get 14?
> Doesn't the off by one error happen on smaller values, or what?
>
> I am NOT disagreeing with you, I just don't see how to code an off by
> one and have it work some of the time and not others.
You can have luck due to alignment issues.
next prev parent reply other threads:[~2002-04-12 14:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-11 4:08 More than 10 IDE interfaces Baldur Norddahl
2002-04-11 7:38 ` Martin Dalecki
2002-04-11 13:09 ` Bill Davidsen
2002-04-11 12:22 ` Martin Dalecki
2002-04-12 13:39 ` Martin Dalecki [this message]
2002-04-16 11:48 ` Stephen Samuel
2002-04-17 10:21 ` Martin Dalecki
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=3CB6E394.7070703@evision-ventures.com \
--to=dalecki@evision-ventures.com \
--cc=bbn-linux-kernel@clansoft.dk \
--cc=davidsen@tmr.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.