* Couple of newbie quesitons (sorry :)
@ 1996-07-18 21:23 Scott Call
0 siblings, 0 replies; 12+ messages in thread
From: Scott Call @ 1996-07-18 21:23 UTC (permalink / raw)
It looks like within the next couple of weeks, myself and 2 coworkers
will be picking up the UDB/Multia 166 boxes. and I had a couple of
questions about alpha linux in general.
1> With the advent of ELF format binaries, are there and plans for a
"FAT" binary for linux (i86/axp/whatever else) like with NextStep
(quad-FAT binaries are quite large :)
2> On the same note, is there planned a x86 binary compatability system.
I saw an x86-0.0.tar.gz on one of the ftp sites, but it didn't have any
documentation.
Thanks,
-Scott
--
___
/ ~-. Scott Call
| \ TCP/IP Network Administrator/Holder of Past Knowledge
\\j`j; / , CCnet, Inc http://www.ccnet.com/
(^, )bxr~ Walnut Creek, CA
---' http://www.devolution.com/
"I think that I think, therefore I think that I am."
-- Ambrose Bierce, "The Devil's Dictionary"
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Couple of newbie quesitons (sorry :)
[not found] <31EEAB58.73890968@ccnet.com>
@ 1996-07-19 3:14 ` Richard Henderson
0 siblings, 0 replies; 12+ messages in thread
From: Richard Henderson @ 1996-07-19 3:14 UTC (permalink / raw)
> 1> With the advent of ELF format binaries, are there and plans for a
> "FAT" binary for linux (i86/axp/whatever else) like with NextStep
> (quad-FAT binaries are quite large :)
No. What use would they be?
> 2> On the same note, is there planned a x86 binary compatability system.
> I saw an x86-0.0.tar.gz on one of the ftp sites, but it didn't have any
> documentation.
The x86-0.0.tar.gz you saw was for emulating BIOS initialization
code at boot time. It seems likely that at some point someone will
feel the need to emulate DOS or whatever, but to my knowledge no
one has yet heard that siren's song.
r~
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Couple of newbie quesitons (sorry :)
[not found] <m0uh61C-0001upC@atheist.tamu.edu>
@ 1996-07-19 17:51 ` Doug DeJulio
0 siblings, 0 replies; 12+ messages in thread
From: Doug DeJulio @ 1996-07-19 17:51 UTC (permalink / raw)
On Thu, 18 Jul 1996, Richard Henderson wrote:
> > 1> With the advent of ELF format binaries, are there and plans for a
> > "FAT" binary for linux (i86/axp/whatever else) like with NextStep
> > (quad-FAT binaries are quite large :)
>
> No. What use would they be?
The same use they'd be on NeXTstep and the Macintosh -- you have a single
binary that'll run correctly on all platforms.
One use is for distributing commercial packages, but the use I'm most
interested in is for programs I install in ~/bin that are in a home directory
NFS-mounted on both Intel and Alpha Linux boxes.
It's not important, but it's vaguely neat, so I expect someone will eventually
get around to doing something similar.
--
Doug DeJulio | mailto:ddj@aisb.org
Ancient Illuminated Seers of Bavaria | http://www.aisb.org/~ddj/
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Couple of newbie quesitons (sorry :)
@ 1996-07-19 19:43 David Mosberger-Tang
0 siblings, 0 replies; 12+ messages in thread
From: David Mosberger-Tang @ 1996-07-19 19:43 UTC (permalink / raw)
>>>>> On Thu, 18 Jul 1996 22:14:17 -0500 (CDT), richard@atheist.tamu.edu (Richard Henderson) said:
Richard> The x86-0.0.tar.gz you saw was for emulating BIOS
Richard> initialization code at boot time. It seems likely that at
Richard> some point someone will feel the need to emulate DOS or
Richard> whatever, but to my knowledge no one has yet heard that
Richard> siren's song.
There is something called pcemu that is relatively easy to get working
on the Alpha. It's x86 emulation and DOS only, so it's not really
very useful, IMHO. But then, I do my slides with LaTeX... ;-))
--david
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Couple of newbie quesitons (sorry :)
[not found] <Pine.LNX.3.94.960719134752.15100B-100000@zardoz.aisb.org>
@ 1996-07-19 21:11 ` Richard Henderson
0 siblings, 0 replies; 12+ messages in thread
From: Richard Henderson @ 1996-07-19 21:11 UTC (permalink / raw)
> The same use they'd be on NeXTstep and the Macintosh -- you have a single
> binary that'll run correctly on all platforms.
>
> One use is for distributing commercial packages, but the use I'm most
> interested in is for programs I install in ~/bin that are in a home directory
> NFS-mounted on both Intel and Alpha Linux boxes.
Ah. Well, personally given the option between two smaller binaries
and one larger one, I'd take the two smaller. I can't believe it is
so difficult to label one "intel", the other "alpha", and expect
people to be able to get it right.
FWIW, it wouldn't be too difficult, I think, to build a binfmt module that
examined, say, an ar or tar archive, and tried each member in succession
until it found one it could run. There'd have to be a small modification
to the existing binfmt interface to allow for a base offset in the file,
but otherwise it would be relatively easy.
r~
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Couple of newbie quesitons (sorry :)
@ 1996-07-19 21:58 David Mosberger-Tang
0 siblings, 0 replies; 12+ messages in thread
From: David Mosberger-Tang @ 1996-07-19 21:58 UTC (permalink / raw)
>> The same use they'd be on NeXTstep and the Macintosh -- you have
>> a single binary that'll run correctly on all platforms.
>>
>> One use is for distributing commercial packages, but the use I'm
>> most interested in is for programs I install in ~/bin that are in
>> a home directory NFS-mounted on both Intel and Alpha Linux boxes.
Hmmh, what's wrong with $HOME/bin/$OSTYPE-$HOSTTYPE? I admit this is
shell specific, but few people change their shells on a daily basis
and most shells support such variables. Of course, you could always
fall back to $(uname -s)-$(uname -m) as well.
--david
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Couple of newbie quesitons (sorry :)
@ 1996-07-19 22:47 Scott Call
0 siblings, 0 replies; 12+ messages in thread
From: Scott Call @ 1996-07-19 22:47 UTC (permalink / raw)
David Mosberger-Tang wrote:
>
> >> The same use they'd be on NeXTstep and the Macintosh -- you have
> >> a single binary that'll run correctly on all platforms.
> >>
> >> One use is for distributing commercial packages, but the use I'm
> >> most interested in is for programs I install in ~/bin that are in
> >> a home directory NFS-mounted on both Intel and Alpha Linux boxes.
>
> Hmmh, what's wrong with $HOME/bin/$OSTYPE-$HOSTTYPE? I admit this is
> shell specific, but few people change their shells on a daily basis
> and most shells support such variables. Of course, you could always
> fall back to $(uname -s)-$(uname -m) as well.
The two reasons I asked were:
1> commercial releases. Linux is moving more and more mainstream, so
there are going to be a lot more "Unix newbies" picking up Slackware or
something similar, because $20 for aCD of Linux is a helluva better deal
than $100 for win 95 :)
2> For people who need both (ie nfs /usr/local/bin) you could save on
exe size if only machine specific code was duplicated, and not the data.
I'm not a Unix development expert yet, so I don't know the feasability
of it :)
-Scott
--
___
/ ~-. Scott Call
| \ TCP/IP Network Administrator/Holder of Past Knowledge
\\j`j; / , CCnet, Inc http://www.ccnet.com/
(^, )bxr~ Walnut Creek, CA
---' http://www.devolution.com/
"I think that I think, therefore I think that I am."
-- Ambrose Bierce, "The Devil's Dictionary"
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Couple of newbie quesitons (sorry :)
[not found] <31F01074.711DFD0@ccnet.com>
@ 1996-07-20 14:33 ` Harald Koenig
0 siblings, 0 replies; 12+ messages in thread
From: Harald Koenig @ 1996-07-20 14:33 UTC (permalink / raw)
> The two reasons I asked were:
>
> 1> commercial releases. Linux is moving more and more mainstream, so
> there are going to be a lot more "Unix newbies" picking up Slackware or
> something similar, because $20 for aCD of Linux is a helluva better deal
> than $100 for win 95 :)
having to sets of installation binaries (and maybe one special "fat" binary
to bootstrap the first Linux kernel to start the installation) should do
this job. I can't see the point that I have to pay 100s of megabytes
of disk space for unused machine code just to get installation
a bit easier (if at all).
> 2> For people who need both (ie nfs /usr/local/bin) you could save on
> exe size if only machine specific code was duplicated, and not the data.
automount, amd or similar tools are one possible method to handle this
in a nice way; the easy solution is to mount server:/serv/bin_axp on your
AXP boxes and server:/serv/bin_x86 on intel...
I think the most important point here is Linux "marketing".
it really might be important (at least for some types of users) to have
*one* CDROM which they can use every machine in their universe
and we should think about this a bit now that ports for other platforms
are really usable (hi Red Hat, where is your x86/axp/sparc distribution CD ;-)
but I can't find a reason why a sticker "now with FAT binaries" is the
only (or best) way to achieve this...
Harald
--
All SCSI disks will from now on ___ _____
be required to send an email notice 0--,| /OOOOOOO\
24 hours prior to complete hardware failure! <_/ / /OOOOOOOOOOO\
\ \/OOOOOOOOOOOOOOO\
\ OOOOOOOOOOOOOOOOO|//
Harald Koenig, \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik // / \\ \
koenig@tat.physik.uni-tuebingen.de ^^^^^ ^^^^^
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Couple of newbie quesitons (sorry :)
[not found] <ddj@aisb.org>
@ 1996-07-21 0:19 ` Bryan W. Headley
1996-08-08 22:36 ` PLIP Stefan Kanthak
1 sibling, 0 replies; 12+ messages in thread
From: Bryan W. Headley @ 1996-07-21 0:19 UTC (permalink / raw)
On Jul 19, 1:51pm, Doug DeJulio wrote:
> Subject: Re: Couple of newbie quesitons (sorry :)
> On Thu, 18 Jul 1996, Richard Henderson wrote:
> > > 1> With the advent of ELF format binaries, are there and plans for a
> > > "FAT" binary for linux (i86/axp/whatever else) like with NextStep
> > > (quad-FAT binaries are quite large :)
> >
> > No. What use would they be?
>
> The same use they'd be on NeXTstep and the Macintosh -- you have a single
> binary that'll run correctly on all platforms.
>
> One use is for distributing commercial packages, but the use I'm most
> interested in is for programs I install in ~/bin that are in a home directory
> NFS-mounted on both Intel and Alpha Linux boxes.
>
> It's not important, but it's vaguely neat, so I expect someone will
eventually
> get around to doing something similar.
>
> --
> Doug DeJulio | mailto:ddj@aisb.org
> Ancient Illuminated Seers of Bavaria | http://www.aisb.org/~ddj/
>
> --
> To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
>
>-- End of excerpt from Doug DeJulio
As opposed having os-level support for Java? If I were interested in multi-
platform compatibility, why wouldn't this be a viable solution? As opposed to
dealing with these really huge NeXTStep binaries ("fat" binaries an appropriate
name)
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Couple of newbie quesitons (sorry :)
@ 1996-07-21 0:37 Bryan W. Headley
0 siblings, 0 replies; 12+ messages in thread
From: Bryan W. Headley @ 1996-07-21 0:37 UTC (permalink / raw)
On Jul 20, 4:33pm, Harald Koenig wrote:
> Subject: Re: Couple of newbie quesitons (sorry :)
> > The two reasons I asked were:
> >
> > 1> commercial releases. Linux is moving more and more mainstream, so
> > there are going to be a lot more "Unix newbies" picking up Slackware or
> > something similar, because $20 for aCD of Linux is a helluva better deal
> > than $100 for win 95 :)
>
> having to sets of installation binaries (and maybe one special "fat" binary
> to bootstrap the first Linux kernel to start the installation) should do
> this job. I can't see the point that I have to pay 100s of megabytes
> of disk space for unused machine code just to get installation
> a bit easier (if at all).
>
> > 2> For people who need both (ie nfs /usr/local/bin) you could save on
> > exe size if only machine specific code was duplicated, and not the data.
>
> automount, amd or similar tools are one possible method to handle this
> in a nice way; the easy solution is to mount server:/serv/bin_axp on your
> AXP boxes and server:/serv/bin_x86 on intel...
>
>
> I think the most important point here is Linux "marketing".
> it really might be important (at least for some types of users) to have
> *one* CDROM which they can use every machine in their universe
> and we should think about this a bit now that ports for other platforms
> are really usable (hi Red Hat, where is your x86/axp/sparc distribution CD
;-)
>
> but I can't find a reason why a sticker "now with FAT binaries" is the
> only (or best) way to achieve this...
>
Especially when you have glint/rpm which stores platform information, and could
be easily enhanced to install only the "right" binaries.
Or we all go p-Code, and starting distributing java-hosted versions of
commercial software. Which is where Microsoft began (e.g., MS-Word and it's
P-Code runtime environment which allowed easy porting to UNIX, DOS, Windows,
Mac, and strange hybrids like the Tandy 600).
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: PLIP
[not found] <ddj@aisb.org>
1996-07-21 0:19 ` Couple of newbie quesitons (sorry :) Bryan W. Headley
@ 1996-08-08 22:36 ` Stefan Kanthak
1996-08-08 23:09 ` A question about large disks? David Andrew Bushnell
1 sibling, 1 reply; 12+ messages in thread
From: Stefan Kanthak @ 1996-08-08 22:36 UTC (permalink / raw)
Hello Alphicians!
> I was able to ifconfig plip on the laptop just fine, but the moment I tried
to
> bring up the plip interface on the Alpha, the machine locked up solid. I had
> to power cycle it.
I had some trouble with PLIP, too, and took a look in the kernel driver.
"Ooouh, what a mess", I though when I saw the broken code there. I tried to
fix it and was sort of succesful. ifconfig does no longer crash, but I was
still not able to do a ping to my notebook. It may work, because my notebook
does not connect to other Intel boxes via PLIP.
I am in a hurry and offline for 2.5 weeks from now on. But it is probably a
good
start to fix the PLIP driver competely (it is from kernel version 1.3.99 but
should not have changed till now).
Below is a small patch to be applied against 'plip.c.old' (rename first) in the
directory linux/drivers/net.
To Eric and Jay: I don't believe it is an interrupt problem, because I only
fixed some lines which are _reasonably_ wrong code, and it worked much better!
Small hint: install the modules package first if you want to experiment with
the driver. Then you can easily load/unload it to/from kernel which saves
lots of time.
Ciao,
Stephan
-----------8<-------------------------------------------------------------------
*** plip.c.old Thu Aug 8 16:23:57 1996
--- plip.c Thu Aug 8 16:29:20 1996
***************
*** 8,13 ****
--- 8,14 ----
* Alan Cox, <gw4pts@gw4pts.ampr.org>
* Peter Bauer, <100136.3530@compuserve.com>
* Niibe Yutaka, <gniibe@mri.co.jp>
+ * Stephan Kanthak <kanthak@i6.informatik.rwth-aachen.de>
*
* Modularization and ifreq/ifmap support by Alan Cox.
* Rewritten by Niibe Yutaka.
***************
*** 20,26 ****
* - added message if driver loaded as a module but no
* interfaces present.
* - release claimed I/O ports if malloc() fails during init.
! *
* Niibe Yutaka
* - Module initialization. You can specify I/O addr and IRQ:
* # insmod plip.o io=0x3bc irq=7
--- 21,27 ----
* - added message if driver loaded as a module but no
* interfaces present.
* - release claimed I/O ports if malloc() fails during init.
! *
* Niibe Yutaka
* - Module initialization. You can specify I/O addr and IRQ:
* # insmod plip.o io=0x3bc irq=7
***************
*** 28,33 ****
--- 29,37 ----
* - Make sure other end is OK, before sending a packet.
* - Fix immediate timer problem.
*
+ * Stephan Kanthak
+ * - alpha fixes (might be incomplete)
+ *
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
***************
*** 44,50 ****
* Crynwr packet driver, Peter Bauer changed the protocol again
* back to original protocol.
*
! * This version follows original PLIP protocol.
* So, this PLIP can't communicate the PLIP of Linux v1.0.
*/
--- 48,54 ----
* Crynwr packet driver, Peter Bauer changed the protocol again
* back to original protocol.
*
! * This version follows original PLIP protocol.
* So, this PLIP can't communicate the PLIP of Linux v1.0.
*/
***************
*** 144,150 ****
/* Functions for DEV methods */
static int plip_rebuild_header(void *buff, struct device *dev,
! unsigned long raddr, struct sk_buff *skb);
static int plip_tx_packet(struct sk_buff *skb, struct device *dev);
static int plip_open(struct device *dev);
static int plip_close(struct device *dev);
--- 148,154 ----
/* Functions for DEV methods */
static int plip_rebuild_header(void *buff, struct device *dev,
! unsigned int raddr, struct sk_buff *skb);
static int plip_tx_packet(struct sk_buff *skb, struct device *dev);
static int plip_open(struct device *dev);
static int plip_close(struct device *dev);
***************
*** 151,157 ****
static struct enet_statistics *plip_get_stats(struct device *dev);
static int plip_config(struct device *dev, struct ifmap *map);
static int plip_ioctl(struct device *dev, struct ifreq *ifr, int cmd);
!
enum plip_connection_state {
PLIP_CN_NONE=0,
PLIP_CN_RECEIVE,
--- 155,161 ----
static struct enet_statistics *plip_get_stats(struct device *dev);
static int plip_config(struct device *dev, struct ifmap *map);
static int plip_ioctl(struct device *dev, struct ifreq *ifr, int cmd);
!
enum plip_connection_state {
PLIP_CN_NONE=0,
PLIP_CN_RECEIVE,
***************
*** 188,194 ****
unsigned char lsb;
#else
#error "Please fix the endianness defines in <asm/byteorder.h>"
! #endif
} b;
unsigned short h;
} length;
--- 192,198 ----
unsigned char lsb;
#else
#error "Please fix the endianness defines in <asm/byteorder.h>"
! #endif
} b;
unsigned short h;
} length;
***************
*** 210,218 ****
unsigned short timeout_count;
char is_deferred;
int (*orig_rebuild_header)(void *eth, struct device *dev,
! unsigned long raddr, struct sk_buff *skb);
};
!
/* Entry point of PLIP driver.
Probe the hardware, and register/initialize the driver. */
int
--- 214,222 ----
unsigned short timeout_count;
char is_deferred;
int (*orig_rebuild_header)(void *eth, struct device *dev,
! unsigned int raddr, struct sk_buff *skb);
};
!
/* Entry point of PLIP driver.
Probe the hardware, and register/initialize the driver. */
int
***************
*** 303,309 ****
return 0;
}
!
/* Bottom half handler for the delayed request.
This routine is kicked by do_timer().
Request `plip_bh' to be invoked. */
--- 307,313 ----
return 0;
}
!
/* Bottom half handler for the delayed request.
This routine is kicked by do_timer().
Request `plip_bh' to be invoked. */
***************
*** 432,438 ****
return TIMEOUT;
}
!
static int
plip_none(struct device *dev, struct net_local *nl,
struct plip_local *snd, struct plip_local *rcv)
--- 436,442 ----
return TIMEOUT;
}
!
static int
plip_none(struct device *dev, struct net_local *nl,
struct plip_local *snd, struct plip_local *rcv)
***************
*** 537,543 ****
return TIMEOUT;
if (rcv->length.h > dev->mtu + dev->hard_header_len
|| rcv->length.h < 8) {
! printk("%s: bogus packet size %d.\n", dev->name,
rcv->length.h);
return ERROR;
}
/* Malloc up new buffer. */
--- 541,548 ----
return TIMEOUT;
if (rcv->length.h > dev->mtu + dev->hard_header_len
|| rcv->length.h < 8) {
! printk("%s: bogus packet size %d.\n", dev->name,
! rcv->length.h);
return ERROR;
}
/* Malloc up new buffer. */
***************
*** 555,561 ****
case PLIP_PK_DATA:
lbuf = rcv->skb->data;
do
! if (plip_receive(nibble_timeout, status_addr,
&rcv->nibble, &lbuf[rcv->byte]))
return TIMEOUT;
while (++rcv->byte < rcv->length.h);
--- 560,566 ----
case PLIP_PK_DATA:
lbuf = rcv->skb->data;
do
! if (plip_receive(nibble_timeout, status_addr,
&rcv->nibble, &lbuf[rcv->byte]))
return TIMEOUT;
while (++rcv->byte < rcv->length.h);
***************
*** 607,613 ****
return OK;
}
! /* PLIP_SEND --- send a byte (two nibbles)
Returns OK on success, TIMEOUT when timeout */
inline static int
plip_send(unsigned short nibble_timeout, unsigned short data_addr,
--- 612,618 ----
return OK;
}
! /* PLIP_SEND --- send a byte (two nibbles)
Returns OK on success, TIMEOUT when timeout */
inline static int
plip_send(unsigned short nibble_timeout, unsigned short data_addr,
***************
*** 627,633 ****
data_addr++;
while (1) {
c0 = inb(data_addr);
! if ((c0 & 0x80) == 0)
break;
if (--cx == 0)
return TIMEOUT;
--- 632,638 ----
data_addr++;
while (1) {
c0 = inb(data_addr);
! if ((c0 & 0x80) == 0)
break;
if (--cx == 0)
return TIMEOUT;
***************
*** 799,805 ****
return OK;
}
!
/* Handle the parallel port interrupts. */
static void
plip_interrupt(int irq, void *dev_id, struct pt_regs * regs)
--- 804,810 ----
return OK;
}
!
/* Handle the parallel port interrupts. */
static void
plip_interrupt(int irq, void *dev_id, struct pt_regs * regs)
***************
*** 844,850 ****
case PLIP_CN_RECEIVE:
sti();
! printk("%s: receive interrupt when receiving packet\n",
dev->name);
break;
case PLIP_CN_ERROR:
--- 849,856 ----
case PLIP_CN_RECEIVE:
sti();
! printk("%s: receive interrupt when receiving packet\n",
! dev->name);
break;
case PLIP_CN_ERROR:
***************
*** 853,862 ****
break;
}
}
!
/* We don't need to send arp, for plip is point-to-point. */
static int
! plip_rebuild_header(void *buff, struct device *dev, unsigned long dst,
struct sk_buff *skb)
{
struct net_local *nl = (struct net_local *)dev->priv;
--- 859,868 ----
break;
}
}
!
/* We don't need to send arp, for plip is point-to-point. */
static int
! plip_rebuild_header(void *buff, struct device *dev, unsigned int dst,
struct sk_buff *skb)
{
struct net_local *nl = (struct net_local *)dev->priv;
***************
*** 867,880 ****
return nl->orig_rebuild_header(buff, dev, dst, skb);
if (eth->h_proto != htons(ETH_P_IP)) {
! printk("plip_rebuild_header: Don't know how to resolve type %d
addresses?\n", (int)eth->h_proto);
memcpy(eth->h_source, dev->dev_addr, dev->addr_len);
return 0;
}
! for (i=0; i < ETH_ALEN - sizeof(unsigned long); i++)
eth->h_dest[i] = 0xfc;
! memcpy(&(eth->h_dest[i]), &dst, sizeof(unsigned long));
return 0;
}
--- 873,887 ----
return nl->orig_rebuild_header(buff, dev, dst, skb);
if (eth->h_proto != htons(ETH_P_IP)) {
! printk("plip_rebuild_header: Don't know how to resolve type %d
! addresses?\n", (int)eth->h_proto);
memcpy(eth->h_source, dev->dev_addr, dev->addr_len);
return 0;
}
! for (i=0; i < ETH_ALEN - sizeof(unsigned int); i++)
eth->h_dest[i] = 0xfc;
! memcpy(&(eth->h_dest[i]), &dst, sizeof(unsigned int));
return 0;
}
***************
*** 938,944 ****
int i;
if (dev->irq == 0) {
! printk("%s: IRQ is not set. Please set it by ifconfig.\n",
dev->name);
return -EAGAIN;
}
cli();
--- 945,952 ----
int i;
if (dev->irq == 0) {
! printk("%s: IRQ is not set. Please set it by ifconfig.\n",
! dev->name);
return -EAGAIN;
}
cli();
***************
*** 963,971 ****
nl->is_deferred = 0;
/* Fill in the MAC-level header. */
! for (i=0; i < ETH_ALEN - sizeof(unsigned long); i++)
dev->dev_addr[i] = 0xfc;
! memcpy(&(dev->dev_addr[i]), &dev->pa_addr, sizeof(unsigned long));
dev->interrupt = 0;
dev->start = 1;
--- 971,979 ----
nl->is_deferred = 0;
/* Fill in the MAC-level header. */
! for (i=0; i < ETH_ALEN - sizeof(unsigned int); i++)
dev->dev_addr[i] = 0xfc;
! memcpy(&(dev->dev_addr[i]), &dev->pa_addr, sizeof(unsigned int));
dev->interrupt = 0;
dev->start = 1;
***************
*** 1025,1033 ****
if (dev->flags & IFF_UP)
return -EBUSY;
! if (map->base_addr != (unsigned long)-1
&& map->base_addr != dev->base_addr)
! printk("%s: You cannot change base_addr of this interface
(ignored).\n", dev->name);
if (map->irq != (unsigned char)-1)
dev->irq = map->irq;
--- 1033,1042 ----
if (dev->flags & IFF_UP)
return -EBUSY;
! if (map->base_addr != (unsigned short)-1
&& map->base_addr != dev->base_addr)
! printk("%s: You cannot change base_addr of this interface
! (ignored).\n", dev->name);
if (map->irq != (unsigned char)-1)
dev->irq = map->irq;
***************
*** 1039,1045 ****
{
struct net_local *nl = (struct net_local *) dev->priv;
struct plipconf *pc = (struct plipconf *) &rq->ifr_data;
!
switch(pc->pcmd) {
case PLIP_GET_TIMEOUT:
pc->trigger = nl->trigger;
--- 1048,1054 ----
{
struct net_local *nl = (struct net_local *) dev->priv;
struct plipconf *pc = (struct plipconf *) &rq->ifr_data;
!
switch(pc->pcmd) {
case PLIP_GET_TIMEOUT:
pc->trigger = nl->trigger;
***************
*** 1054,1060 ****
}
return 0;
}
!
#ifdef MODULE
static int io[] = {0, 0, 0};
static int irq[] = {0, 0, 0};
--- 1063,1069 ----
}
return 0;
}
!
#ifdef MODULE
static int io[] = {0, 0, 0};
static int irq[] = {0, 0, 0};
***************
*** 1064,1082 ****
"plip0",
0, 0, 0, 0, /* memory */
0x3BC, 5, /* base, irq */
! 0, 0, 0, NULL, plip_init
},
{
"plip1",
0, 0, 0, 0, /* memory */
0x378, 7, /* base, irq */
! 0, 0, 0, NULL, plip_init
},
{
"plip2",
0, 0, 0, 0, /* memory */
0x278, 2, /* base, irq */
! 0, 0, 0, NULL, plip_init
}
};
--- 1073,1091 ----
"plip0",
0, 0, 0, 0, /* memory */
0x3BC, 5, /* base, irq */
! 0, 0, 0, NULL, plip_init
},
{
"plip1",
0, 0, 0, 0, /* memory */
0x378, 7, /* base, irq */
! 0, 0, 0, NULL, plip_init
},
{
"plip2",
0, 0, 0, 0, /* memory */
0x278, 2, /* base, irq */
! 0, 0, 0, NULL, plip_init
}
};
***************
*** 1111,1117 ****
return 0;
/* No parameters. Default action is probing all interfaces. */
! for (i=0; i < 3; i++) {
if (register_netdev(&dev_plip[i]) == 0)
devices++;
}
--- 1120,1126 ----
return 0;
/* No parameters. Default action is probing all interfaces. */
! for (i=0; i < 3; i++) {
if (register_netdev(&dev_plip[i]) == 0)
devices++;
}
***************
*** 1130,1136 ****
for (i=0; i < 3; i++) {
if (dev_plip[i].priv) {
unregister_netdev(&dev_plip[i]);
! release_region(PAR_DATA(&dev_plip[i]),
(PAR_DATA(&dev_plip[i]) == 0x3bc)? 3 : 8);
kfree_s(dev_plip[i].priv, sizeof(struct net_local));
dev_plip[i].priv = NULL;
}
--- 1139,1146 ----
for (i=0; i < 3; i++) {
if (dev_plip[i].priv) {
unregister_netdev(&dev_plip[i]);
! release_region(PAR_DATA(&dev_plip[i]),
! (PAR_DATA(&dev_plip[i]) == 0x3bc)? 3 : 8);
kfree_s(dev_plip[i].priv, sizeof(struct net_local));
dev_plip[i].priv = NULL;
}
***************
*** 1137,1145 ****
}
}
#endif /* MODULE */
!
/*
* Local variables:
! * compile-command: "gcc -DMODULE -DMODVERSIONS -D__KERNEL__ -Wall
-Wstrict-prototypes -O2 -g -fomit-frame-pointer -pipe -m486 -c plip.c"
* End:
*/
--- 1147,1156 ----
}
}
#endif /* MODULE */
!
/*
* Local variables:
! * compile-command: "gcc -DMODULE -DMODVERSIONS -D__KERNEL__ -Wall
! -Wstrict-prototypes -O2 -g -fomit-frame-pointer -pipe -m486 -c plip.c"
* End:
*/
------------------------------------------------------------------>8------------
--
_______________________________________________________________________________
Stephan Kanthak
Department of Computer Science VI
Pattern- and Speech Recognition Research
RWTH Aachen, Germany """""
e-mail: kanthak@i6.informatik.rwth-aachen.de | |
http://www.informatik.rwth-aachen.de/I6/Colleagues/kanthak/ O -
______________________________________________________________.oO_| u |_Oo.____
\_/
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 12+ messages in thread
* A question about large disks?
1996-08-08 22:36 ` PLIP Stefan Kanthak
@ 1996-08-08 23:09 ` David Andrew Bushnell
0 siblings, 0 replies; 12+ messages in thread
From: David Andrew Bushnell @ 1996-08-08 23:09 UTC (permalink / raw)
Hello,
What is the largest disk/partition support by linux? Is the
2 gig limit I have read about a limit to the disk size or partition
size (or is this limit no longer a problem with some version of the
kernal).
Thanks alot,
Dave Bushnell
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~1996-08-08 23:09 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <ddj@aisb.org>
1996-07-21 0:19 ` Couple of newbie quesitons (sorry :) Bryan W. Headley
1996-08-08 22:36 ` PLIP Stefan Kanthak
1996-08-08 23:09 ` A question about large disks? David Andrew Bushnell
1996-07-21 0:37 Couple of newbie quesitons (sorry :) Bryan W. Headley
[not found] <31F01074.711DFD0@ccnet.com>
1996-07-20 14:33 ` Harald Koenig
-- strict thread matches above, loose matches on Subject: below --
1996-07-19 22:47 Scott Call
1996-07-19 21:58 David Mosberger-Tang
[not found] <Pine.LNX.3.94.960719134752.15100B-100000@zardoz.aisb.org>
1996-07-19 21:11 ` Richard Henderson
1996-07-19 19:43 David Mosberger-Tang
[not found] <m0uh61C-0001upC@atheist.tamu.edu>
1996-07-19 17:51 ` Doug DeJulio
[not found] <31EEAB58.73890968@ccnet.com>
1996-07-19 3:14 ` Richard Henderson
1996-07-18 21:23 Scott Call
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox