---559023410-4086-943382626=:18484
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hi,
speaking of changing the scsi interface... I've added a couple of lines to
sanei_scsi.c a while ago in order to get SANE supported on UnixWare 7. I'd
really like to see these changes being incorporated into the distribution.
The code changes are low-risk. I've added a SCO_UW71_INTERFACE hash define
to set USE to, so that the compiler picks up the UnixWare-specific code
portions. The platforms that are already supported shouldn't be affected.
I've attached a file with the diff. Please let me know if something else
is required.
-Jens
On Mon, 15 Nov 1999, Petter Reinholdtsen wrote:
>
> [Oliver Rauch]
> > I think David is the one who did the most work on dll and net, he
> > should decide about the patches made to it.
>
> Here I was going to have a long defense of my view of things, but I'll
> limit my self to this:
>
> In princible I agree, but as long as David seldom has time to response
> to patches, I will use my best judgment to decide if the change should
> be included. I've done some bug fixes, and will continue to do so.
>
> In addition I have worked on porting the net backend to Win32, and
> might continue with that in the future. I was working on changing the
> dll backend to use the ltdl library to make it work on all platforms,
> but got busy with other projects. These changes are not included in
> CVS, but first released as patches to let people test it. When I am
> sure they work, and David does not protest to them, I will include
> them in the CVS tree.
>
> > In the moment we talk about a new relase.
>
> Yes. I just added my "rules" to try to stop everyone from sending
> patches to me. (All patches should by the way be sent to the list for
> review, not to me. :-)
>
> > Changes to sanei-scsi etc. should be discussed with David Mosberger
> > and may be Andreas Beck. We have to do a lot of tests before we
> > release a version with changes in the sanei-* routines!
>
> I've already added the Digital UNIX 4.0D patches to sanei_scsi.c, and
> was planning to include the Linux sg patches when I had time to test
> them. As I lack a decent test platform, it will not happen anytime
> soon. :-( I will not do big changes to sanei, as I have too little
> knowledge on its details.
>
> [Kai Haberzettl]
> > Where is [the CVS tree] currently?
>
> Check <URL:http://www.student.uit.no/~pere/linux/>.
> --
> ##> Petter Reinholdtsen <## | pere@td.org.uit.no
>
------------------------------------------------------------------------
Jens Scheithauer The Santa Cruz Operation Limited
Software Engineer Registered in England No 2063779
Croxley Business Park, Hatters Lane
Tel: +44 (0)1923 813 803 Watford, WD1 8YN
Fax: +44 (0)1923 813 804 England
------------------------------------------------------------------------
---559023410-4086-943382626=:18484
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="sanei_scsi.diff"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.SCO.3.94.991123184346.18484C@tyne.london.sco.com>
Content-Description:
ZGlmZiAtdXJOIHNhbmVpX3Njc2kuYy5vcmlnIHNhbmVpX3Njc2kuYw0KLS0t
IHNhbmVpX3Njc2kuYy5vcmlnCVR1ZSBOb3YgMjMgMTc6MjU6NTIgMTk5OQ0K
KysrIHNhbmVpX3Njc2kuYwlUdWUgTm92IDIzIDE3OjI2OjEwIDE5OTkNCkBA
IC03Myw2ICs3Myw3IEBADQogI2RlZmluZSBBSVhfR1NDX0lOVEVSRkFDRQkx
MQ0KICNkZWZpbmUgRE9NQUlOT1NfSU5URVJGQUNFCTEyDQogI2RlZmluZSBG
UkVFQlNEX0NBTV9JTlRFUkZBQ0UJMTMNCisjZGVmaW5lIFNDT19VVzcxX0lO
VEVSRkFDRQkxNA0KIA0KICNpZiBkZWZpbmVkIChIQVZFX1NDU0lfU0dfSCkN
CiAjIGRlZmluZSBVU0UgTElOVVhfSU5URVJGQUNFDQpAQCAtODEsNyArODIs
NyBAQA0KICMgZGVmaW5lIFVTRSBMSU5VWF9JTlRFUkZBQ0UNCiAjIGluY2x1
ZGUgIi91c3Ivc3JjL2xpbnV4L2luY2x1ZGUvc2NzaS9zZy5oIg0KICNlbGlm
IGRlZmluZWQgKEhBVkVfU1lTX1NDU0lDTUQpDQotIyBkZWZpbmUgVVNFIFND
U09fT1M1X0lOVEVSRkFDRQ0KKyMgZGVmaW5lIFVTRSBTQ09fT1M1X0lOVEVS
RkFDRQ0KICMgaW5jbHVkZSA8c3lzL3Njc2kuaD4NCiAjIGluY2x1ZGUgPHN5
cy9zY3NpY21kLmg+DQogI2VsaWYgZGVmaW5lZCAoSEFWRV9DQU1MSUJfSCkN
CkBAIC0xMTIsNiArMTEzLDEyIEBADQogIyBkZWZpbmUgVVNF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6ICVzIVxuIiwg
c3RyZXJyb3IoZXJybm8pKTsNCisJfQ0KKyAgZWxzZQ0KKyAgICB7DQorCSAg
REJHICgyLCAic2FuZWlfc2NzaV9jbWQgY29tcGxldGVkIHdpdGg6IGNvbXBj
b2RlID0gJXgsIHN0YXR1cyA9ICV4XG4iLA0KKwkgICAgY29tcGNvZGUsIHN0
YXR1cyk7DQorDQorCSAgc3dpdGNoIChjb21wY29kZSkNCisJICAgIHsNCisJ
ICAgIGNhc2UgU0RJX0FTVzoJCQkJCQkvKiBBbGwgc2VlbXMgd2VsbCAqLw0K
KwkJICByZXR1cm4gU0FORV9TVEFUVVNfR09PRDsNCisJCWNhc2UgU0RJX0NL
U1RBVDoNCisgCSAgICAgIERCRyAoMiwgIlNlbnNlIERhdGE6XG4iKTsNCisJ
ICAgICAgZm9yIChpPTA7IGk8c2l6ZW9mKHNlbnNlX2J1ZmZlcik7IGkrKykN
CisJCSAgICBEQkcgKDIsICIlLjJYICIsIHNlbnNlX2J1ZmZlcltpXSk7DQor
CQkgIERCRyAoMiwgIlxuIik7DQorCQkgIGlmIChmZF9pbmZvW2ZkXS5zZW5z
ZV9oYW5kbGVyKQ0KKwkJICAgIHJldHVybiAoKmZkX2luZm9bZmRdLnNlbnNl
X2hhbmRsZXIpIChmZCwgc2Vuc2VfYnVmZmVyLCANCisJCSAgICAgIGZkX2lu
Zm9bZmRdLnNlbnNlX2hhbmRsZXJfYXJnKTsNCisJCQkgIC8qIGZhbGwgdGhy
b3VnaCAqLw0KKwkJZGVmYXVsdDoNCisJCSAgcmV0dXJuIFNBTkVfU1RBVFVT
X0lPX0VSUk9SOw0KKwkJfQ0KKyAgICB9DQorfQ0KKyNlbmRpZiAvKiBVU0Ug
PT0gU0NPX1VXNzFfSU5URVJGQUNFICovDQogDQogI2lmIFVTRSA9PSBPUzJf
SU5URVJGQUNFDQogDQo=
---559023410-4086-943382626=:18484--
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com