* Re: 2.6 for DECstation, d-i
[not found] <44635C0D.7040901@vhouten.xs4all.nl>
@ 2006-05-11 17:33 ` Martin Michlmayr
2006-05-11 18:14 ` Maciej W. Rozycki
0 siblings, 1 reply; 7+ messages in thread
From: Martin Michlmayr @ 2006-05-11 17:33 UTC (permalink / raw)
To: Karel van Houten, macro; +Cc: debian-mips, linux-mips
* Karel van Houten <Karel@vhouten.xs4all.nl> [2006-05-11 17:45]:
> * You don't seem to have included the DEC serial drivers and console
> support for the /260, because after the prom-io I loose all output
> on the serial line (my /260 has serial console only).
Zilog Z8530 support for DECstation hasn't been ported to 2.6 yet.
> * When I let it boot without console, it will happily go multiuser.
> See boot messages below.
> * My second SCSI card does not seem to work as it should. Works OK
> under 2.4.27.
Maciej, do you have any idea?
kernel log:
> Linux version 2.6.16-1-sb1-bcm91250a (Debian 2.6.16-12)
> (waldi@debian.org) (gcc version 4.0.3 20051201 (prerelease) (Debian
> 4.0.2-5)) #2 Tue May 9 21:11:55 UTC 2006
> This is a DECstation 5000/2x0
> CPU revision is: 00000440
> FPU revision is: 00000500
> Determined physical RAM map:
> memory: 10000000 @ 00000000 (usable)
> On node 0 totalpages: 65536
> DMA zone: 65536 pages, LIFO batch:15
> DMA32 zone: 0 pages, LIFO batch:0
> Normal zone: 0 pages, LIFO batch:0
> HighMem zone: 0 pages, LIFO batch:0
> Built 1 zonelists
> Kernel command line: root=/dev/sda1 console=ttyS2
> Primary instruction cache 16kB, physically tagged, direct mapped,
> linesize 16 bytes.
> Primary data cache 16kB, direct mapped, linesize 16 bytes.
> Unified secondary cache 1024kB direct mapped, linesize 32 bytes.
> Synthesized TLB refill handler (21 instructions).
> Synthesized TLB load handler fastpath (33 instructions).
> Synthesized TLB store handler fastpath (33 instructions).
> Synthesized TLB modify handler fastpath (32 instructions).
> PID hash table entries: 2048 (order: 11, 32768 bytes)
> Using 59.999 MHz high precision timer.
> Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
> Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
> Memory: 256224k/262144k available (2270k kernel code, 5716k reserved,
> 414k data, 136k init, 0k highmem)
> Calibrating delay loop... 59.86 BogoMIPS (lpj=233472)
> Security Framework v1.0.0 initialized
> SELinux: Disabled at boot.
> Capability LSM initialized
> Mount-cache hash table entries: 512
> Checking for 'wait' instruction... unavailable.
> NET: Registered protocol family 16
> SCSI subsystem initialized
> TURBOchannel rev. 1 at 25.0 MHz (without parity)
> slot 1: DEC PMAZ-AA V5.3d
> audit: initializing netlink socket (disabled)
> audit(1147360779.414:1): initialized
> VFS: Disk quotas dquot_6.5.1
> Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
> Initializing Cryptographic API
> io scheduler noop registered (default)
> io scheduler anticipatory registered
> io scheduler deadline registered
> io scheduler cfq registered
> rtc: I/O port 530579456 is not free.
> RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
> declance.c: v0.009 by Linux MIPS DECstation task force
> declance0: IOASIC onboard LANCE, addr = 08:00:2b:37:63:76, irq = 16
> declance0: registered as eth0.
> SCSI ID 7 Clk 25MHz CCF=5 TOut 167 NCR53C9x(esp236)
> SCSI ID 7 Clk 25MHz CCF=5 TOut 167 NCR53C9x(esp236)
> ESP: Total of 2 ESP hosts found, 2 actually in use.
> scsi0 : ESP236 (NCR53C9x)
> esp0: hoping for msgout
> Vendor: COMPAQ Model: ST34371N Rev: 0388
> Type: Direct-Access ANSI SCSI revision: 02
> scsi1 : ESP236 (NCR53C9x)
> esp1: hoping for msgout
> Vendor: COMPAQ Model: ST34371N Rev: 0682
> Type: Direct-Access ANSI SCSI revision: 02
> esp1: hoping for msgout
> Vendor: COMPAQ Model: ST34371N Rev: 0388
> Type: Direct-Access ANSI SCSI revision: 02
> esp1: hoping for msgout
> Vendor: COMPAQ Model: ST34371N Rev: 0388
> Type: Direct-Access ANSI SCSI revision: 02
> esp1: hoping for msgout
> Vendor: COMPAQ Model: ST34371N Rev: 0388
> Type: Direct-Access ANSI SCSI revision: 02
> esp1: hoping for msgout
> Vendor: COMPAQ Model: ST34371N Rev: 0682
> Type: Direct-Access ANSI SCSI revision: 02
> Vendor: SONY Model: CD-ROM CDU-55S Rev: 1.0t
> Type: CD-ROM ANSI SCSI revision: 02
> SCSI device sda: 8386000 512-byte hdwr sectors (4294 MB)
> sda: Write Protect is off
> sda: Mode Sense: c7 00 10 08
> SCSI device sda: drive cache: write through w/ FUA
> SCSI device sda: 8386000 512-byte hdwr sectors (4294 MB)
> sda: Write Protect is off
> sda: Mode Sense: c7 00 10 08
> SCSI device sda: drive cache: write through w/ FUA
> sda: sda1 sda2 < sda5 >
> sd 0:0:0:0: Attached scsi disk sda
> esp1: Warning, live target 0 not responding to selection.
> esp1: Resetting scsi bus
> esp1: SCSI bus reset interrupt
> esp1: SCSI bus reset interrupt
> esp1: hoping for msgout
> sd 1:0:0:0: scsi: Device offlined - not ready after error recovery
> sd 1:0:0:0: rejecting I/O to offline device
> sd 1:0:0:0: rejecting I/O to offline device
> sd 1:0:0:0: rejecting I/O to offline device
> sd 1:0:0:0: rejecting I/O to offline device
> sdb : READ CAPACITY failed.
> sdb : status=0, message=00, host=1, driver=00
> sdb : sense not available.
> sd 1:0:0:0: rejecting I/O to offline device
> sdb: Write Protect is off
> sdb: Mode Sense: 00 00 00 00
> sd 1:0:0:0: rejecting I/O to offline device
> sdb: asking for cache data failed
> sdb: assuming drive cache: write through
> sd 1:0:0:0: Attached scsi disk sdb
> esp1: hoping for msgout
> esp1: Warning, live target 1 not responding to selection.
> esp1: Resetting scsi bus
> esp1: SCSI bus reset interrupt
> esp1: SCSI bus reset interrupt
> esp1: hoping for msgout
> sd 1:0:1:0: scsi: Device offlined - not ready after error recovery
> sd 1:0:1:0: rejecting I/O to offline device
> sd 1:0:1:0: rejecting I/O to offline device
> sd 1:0:1:0: rejecting I/O to offline device
> sd 1:0:1:0: rejecting I/O to offline device
> sdc : READ CAPACITY failed.
> sdc : status=0, message=00, host=1, driver=00
> sdc : sense not available.
> sd 1:0:1:0: rejecting I/O to offline device
> sdc: Write Protect is off
> sdc: Mode Sense: 00 00 00 00
> sd 1:0:1:0: rejecting I/O to offline device
> sdc: asking for cache data failed
> sdc: assuming drive cache: write through
> sd 1:0:1:0: Attached scsi disk sdc
> esp1: hoping for msgout
> esp1: Warning, live target 2 not responding to selection.
> esp1: Resetting scsi bus
> esp1: SCSI bus reset interrupt
> esp1: SCSI bus reset interrupt
> esp1: hoping for msgout
> sd 1:0:2:0: scsi: Device offlined - not ready after error recovery
> sd 1:0:2:0: rejecting I/O to offline device
> sd 1:0:2:0: rejecting I/O to offline device
> sd 1:0:2:0: rejecting I/O to offline device
> sd 1:0:2:0: rejecting I/O to offline device
> sdd : READ CAPACITY failed.
> sdd : status=0, message=00, host=1, driver=00
> sdd : sense not available.
> sd 1:0:2:0: rejecting I/O to offline device
> sdd: Write Protect is off
> sdd: Mode Sense: 00 00 00 00
> sd 1:0:2:0: rejecting I/O to offline device
> sdd: asking for cache data failed
> sdd: assuming drive cache: write through
> sd 1:0:2:0: Attached scsi disk sdd
> esp1: hoping for msgout
> esp1: Warning, live target 3 not responding to selection.
> esp1: Resetting scsi bus
> esp1: SCSI bus reset interrupt
> esp1: SCSI bus reset interrupt
> esp1: hoping for msgout
> sd 1:0:3:0: scsi: Device offlined - not ready after error recovery
> sd 1:0:3:0: rejecting I/O to offline device
> sd 1:0:3:0: rejecting I/O to offline device
> sd 1:0:3:0: rejecting I/O to offline device
> sd 1:0:3:0: rejecting I/O to offline device
> sde : READ CAPACITY failed.
> sde : status=0, message=00, host=1, driver=00
> sde : sense not available.
> sd 1:0:3:0: rejecting I/O to offline device
> sde: Write Protect is off
> sde: Mode Sense: 00 00 00 00
> sd 1:0:3:0: rejecting I/O to offline device
> sde: asking for cache data failed
> sde: assuming drive cache: write through
> sd 1:0:3:0: Attached scsi disk sde
> esp1: hoping for msgout
> esp1: Warning, live target 5 not responding to selection.
> esp1: Resetting scsi bus
> esp1: SCSI bus reset interrupt
> esp1: SCSI bus reset interrupt
> esp1: hoping for msgout
> sd 1:0:5:0: scsi: Device offlined - not ready after error recovery
> sd 1:0:5:0: rejecting I/O to offline device
> sd 1:0:5:0: rejecting I/O to offline device
> sd 1:0:5:0: rejecting I/O to offline device
> sd 1:0:5:0: rejecting I/O to offline device
> sdf : READ CAPACITY failed.
> sdf : status=0, message=00, host=1, driver=00
> sdf : sense not available.
> sd 1:0:5:0: rejecting I/O to offline device
> sdf: Write Protect is off
> sdf: Mode Sense: 00 00 00 00
> sd 1:0:5:0: rejecting I/O to offline device
> sdf: asking for cache data failed
> sdf: assuming drive cache: write through
> sd 1:0:5:0: Attached scsi disk sdf
> NET: Registered protocol family 2
> IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
> TCP established hash table entries: 16384 (order: 4, 65536 bytes)
> TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
> TCP: Hash tables configured (established 16384 bind 16384)
> TCP reno registered
> TCP bic registered
> NET: Registered protocol family 1
> NET: Registered protocol family 17
> kjournald starting. Commit interval 5 seconds
> EXT3-fs: mounted filesystem with ordered data mode.
> VFS: Mounted root (ext3 filesystem) readonly.
> Freeing unused PROM memory: 124k freed
> Freeing unused kernel memory: 260k freed
> Warning: unable to open an initial console.
> Adding 208804k swap on /dev/sda5. Priority:-1 extents:1 across:208804k
> EXT3 FS on sda1, internal journal
>
--
Martin Michlmayr
http://www.cyrius.com/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6 for DECstation, d-i
2006-05-11 17:33 ` 2.6 for DECstation, d-i Martin Michlmayr
@ 2006-05-11 18:14 ` Maciej W. Rozycki
2006-05-11 18:54 ` Martin Michlmayr
0 siblings, 1 reply; 7+ messages in thread
From: Maciej W. Rozycki @ 2006-05-11 18:14 UTC (permalink / raw)
To: Martin Michlmayr; +Cc: Karel van Houten, debian-mips, linux-mips
On Thu, 11 May 2006, Martin Michlmayr wrote:
> > * You don't seem to have included the DEC serial drivers and console
> > support for the /260, because after the prom-io I loose all output
> > on the serial line (my /260 has serial console only).
>
> Zilog Z8530 support for DECstation hasn't been ported to 2.6 yet.
Well, not exactly ported, but hacked up enough it worked the last time I
tried, but you have to disable the virtual terminal (CONFIG_VT) as it is
the keyboard driver (lk201) that has not been ported at all. If in doubt,
please start with "decstation_defconfig", that should build and boot
successfully, and work from there.
> > * When I let it boot without console, it will happily go multiuser.
> > See boot messages below.
> > * My second SCSI card does not seem to work as it should. Works OK
> > under 2.4.27.
>
> Maciej, do you have any idea?
I have a PMAZ-A around, though I am not sure if I have everything needed
to wire it to a device (hmm, I should probably make sure if I am to be
serious about adding support for the PMAZC...). Meanwhile I can have a
look at the source code to see if there is anything obviously wrong there.
Maciej
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6 for DECstation, d-i
2006-05-11 18:14 ` Maciej W. Rozycki
@ 2006-05-11 18:54 ` Martin Michlmayr
2006-05-12 10:57 ` Maciej W. Rozycki
0 siblings, 1 reply; 7+ messages in thread
From: Martin Michlmayr @ 2006-05-11 18:54 UTC (permalink / raw)
To: Maciej W. Rozycki; +Cc: Karel van Houten, debian-mips, linux-mips
* Maciej W. Rozycki <macro@linux-mips.org> [2006-05-11 19:14]:
> > Zilog Z8530 support for DECstation hasn't been ported to 2.6 yet.
>
> Well, not exactly ported, but hacked up enough it worked the last time I
> tried, but you have to disable the virtual terminal (CONFIG_VT) as it is
Yeah, but the problem is that ZS is not a config option anymore. I
hacked up something to see if the driver works but I guess there's a
nicer solution.
--- a/drivers/char/Makefile
+++ b/drivers/char/Makefile
@@ -51,6 +51,8 @@ obj-$(CONFIG_VIOCONS) += viocons.o
obj-$(CONFIG_VIOTAPE) += viotape.o
obj-$(CONFIG_HVCS) += hvcs.o
obj-$(CONFIG_SGI_MBCS) += mbcs.o
+obj-$(CONFIG_SERIAL_DZ) += decserial.o
+obj-$(CONFIG_SERIAL_ZS) += decserial.o
obj-$(CONFIG_PRINTER) += lp.o
obj-$(CONFIG_TIPAR) += tipar.o
diff --git a/drivers/char/decserial.c b/drivers/char/decserial.c
index aa14409..9a320c3 100644
--- a/drivers/char/decserial.c
+++ b/drivers/char/decserial.c
@@ -28,7 +28,7 @@ extern int zs_init(void);
extern int dz_init(void);
#endif
-#ifdef CONFIG_SERIAL_CONSOLE
+#ifdef CONFIG_SERIAL_CORE_CONSOLE
#ifdef CONFIG_ZS
extern void zs_serial_console_init(void);
@@ -43,7 +43,7 @@ extern void dz_serial_console_init(void)
/* rs_init - starts up the serial interface -
handle normal case of starting up the serial interface */
-#ifdef CONFIG_SERIAL
+#ifdef CONFIG_SERIAL_CORE
int __init rs_init(void)
{
@@ -70,7 +70,7 @@ __initcall(rs_init);
#endif
-#ifdef CONFIG_SERIAL_CONSOLE
+#ifdef CONFIG_SERIAL_CORE_CONSOLE
/* serial_console_init handles the special case of starting
* up the console on the serial port
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index 7d22dc0..b16b99f 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -398,6 +398,27 @@ config SERIAL_DZ_CONSOLE
If unsure, say Y.
+config SERIAL_ZS
+ bool "DECstation Zilog Z8530 support"
+ depends on MACH_DECSTATION && TC
+ select SERIAL_CORE
+ help
+ Zilog Z8530 serial controllers on DECstation machines using the
+ TurboChannel bus.
+
+config SERIAL_ZS_CONSOLE
+ bool "Support console on DECstation Zilog Z8530"
+ depends on SERIAL_ZS=y
+ select SERIAL_CORE_CONSOLE
+ help
+ If you say Y here, it will be possible to use a serial port as the
+ system console (the system console is the device which receives all
+ kernel messages and warnings and which allows logins in single user
+ mode). Note that the firmware uses ttyS0 as the serial console on
+ the Maxine and ttyS2 on the others.
+
+ If unsure, say Y.
+
config SERIAL_21285
tristate "DC21285 serial port support"
depends on ARM && FOOTBRIDGE
diff --git a/drivers/serial/ip22zilog.c b/drivers/serial/ip22zilog.c
diff --git a/drivers/tc/Makefile b/drivers/tc/Makefile
index 83b5bd7..885d82f 100644
--- a/drivers/tc/Makefile
+++ b/drivers/tc/Makefile
@@ -5,7 +5,7 @@
# Object file lists.
obj-$(CONFIG_TC) += tc.o
-obj-$(CONFIG_ZS) += zs.o
+obj-$(CONFIG_SERIAL_ZS) += zs.o
obj-$(CONFIG_VT) += lk201.o lk201-map.o lk201-remap.o
$(obj)/lk201-map.o: $(obj)/lk201-map.c
diff --git a/drivers/tc/zs.c b/drivers/tc/zs.c
index 2dffa8e..960f552 100644
--- a/drivers/tc/zs.c
+++ b/drivers/tc/zs.c
@@ -56,7 +56,7 @@
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/spinlock.h>
-#ifdef CONFIG_SERIAL_DEC_CONSOLE
+#ifdef CONFIG_SERIAL_CORE_CONSOLE
#include <linux/console.h>
#endif
@@ -137,10 +137,10 @@ struct dec_serial *zs_chain; /* list of
struct tty_struct zs_ttys[NUM_CHANNELS];
-#ifdef CONFIG_SERIAL_DEC_CONSOLE
+#ifdef CONFIG_SERIAL_CORE_CONSOLE
static struct console sercons;
#endif
-#if defined(CONFIG_SERIAL_DEC_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) && \
+#if defined(CONFIG_SERIAL_CORE_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) && \
!defined(MODULE)
static unsigned long break_pressed; /* break, really ... */
#endif
@@ -383,7 +383,7 @@ static void receive_chars(struct dec_ser
write_zsreg(info->zs_channel, R0, ERR_RES);
}
-#if defined(CONFIG_SERIAL_DEC_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) && \
+#if defined(CONFIG_SERIAL_CORE_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) && \
!defined(MODULE)
if (break_pressed && info->line == sercons.index) {
/* Ignore the null char got when BREAK is removed. */
@@ -446,7 +446,7 @@ static void status_handle(struct dec_ser
stat = read_zsreg(info->zs_channel, R0);
if ((stat & BRK_ABRT) && !(info->read_reg_zero & BRK_ABRT)) {
-#if defined(CONFIG_SERIAL_DEC_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) && \
+#if defined(CONFIG_SERIAL_CORE_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) && \
!defined(MODULE)
if (info->line == sercons.index) {
if (!break_pressed)
@@ -1560,7 +1560,7 @@ static int rs_open(struct tty_struct *tt
return retval;
}
-#ifdef CONFIG_SERIAL_DEC_CONSOLE
+#ifdef CONFIG_SERIAL_CORE_CONSOLE
if (sercons.cflag && sercons.index == line) {
tty->termios->c_cflag = sercons.cflag;
sercons.cflag = 0;
@@ -1643,7 +1643,7 @@ static void __init probe_sccs(void)
zs_channels[n_channels].data =
zs_channels[n_channels].control + 4;
-#ifndef CONFIG_SERIAL_DEC_CONSOLE
+#ifndef CONFIG_SERIAL_CORE_CONSOLE
/*
* We're called early and memory managment isn't up, yet.
* Thus request_region would fail.
@@ -1894,7 +1894,7 @@ int unregister_zs_hook(unsigned int chan
* Serial console driver
* ------------------------------------------------------------
*/
-#ifdef CONFIG_SERIAL_DEC_CONSOLE
+#ifdef CONFIG_SERIAL_CORE_CONSOLE
/*
@@ -2090,7 +2090,7 @@ void __init zs_serial_console_init(void)
{
register_console(&sercons);
}
-#endif /* ifdef CONFIG_SERIAL_DEC_CONSOLE */
+#endif /* ifdef CONFIG_SERIAL_CORE_CONSOLE */
#ifdef CONFIG_KGDB
struct dec_zschannel *zs_kgdbchan;
--
Martin Michlmayr
http://www.cyrius.com/
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: 2.6 for DECstation, d-i
2006-05-11 18:54 ` Martin Michlmayr
@ 2006-05-12 10:57 ` Maciej W. Rozycki
2006-05-12 15:12 ` Martin Michlmayr
2006-05-15 16:23 ` Karel van Houten
0 siblings, 2 replies; 7+ messages in thread
From: Maciej W. Rozycki @ 2006-05-12 10:57 UTC (permalink / raw)
To: Martin Michlmayr; +Cc: Karel van Houten, debian-mips, linux-mips
On Thu, 11 May 2006, Martin Michlmayr wrote:
> > Well, not exactly ported, but hacked up enough it worked the last time I
> > tried, but you have to disable the virtual terminal (CONFIG_VT) as it is
>
> Yeah, but the problem is that ZS is not a config option anymore. I
> hacked up something to see if the driver works but I guess there's a
> nicer solution.
Of course there is. Just enable SERIAL_NONSTANDARD, SERIAL_DEC,
SERIAL_DEC_CONSOLE and ZS. They are all in drivers/char/Kconfig and it's
not a coincidence the options are the same as in 2.4.
The driver has NOT been ported to use the serial core and frankly I would
rather it went away and write the necessary system specific glue
(including that horrible stuff for incorrect wiring used in all DEC
systems making use of the Zilog chips) to use drivers/net/wan/z85230.c
instead which already has a lot of nice stuff like support for synchronous
operation and DMA, HDLC framing, etc.
Maciej
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6 for DECstation, d-i
2006-05-12 10:57 ` Maciej W. Rozycki
@ 2006-05-12 15:12 ` Martin Michlmayr
2006-05-12 16:20 ` Ralf Baechle
2006-05-15 16:23 ` Karel van Houten
1 sibling, 1 reply; 7+ messages in thread
From: Martin Michlmayr @ 2006-05-12 15:12 UTC (permalink / raw)
To: Maciej W. Rozycki; +Cc: Karel van Houten, debian-mips, linux-mips
* Maciej W. Rozycki <macro@linux-mips.org> [2006-05-12 11:57]:
> > Yeah, but the problem is that ZS is not a config option anymore. I
> > hacked up something to see if the driver works but I guess there's a
> > nicer solution.
> Of course there is. Just enable SERIAL_NONSTANDARD, SERIAL_DEC,
> SERIAL_DEC_CONSOLE and ZS. They are all in drivers/char/Kconfig and it's
> not a coincidence the options are the same as in 2.4.
Hmm, okay, they are in the linux-mips tree, but not in mainline. :/
--
Martin Michlmayr
http://www.cyrius.com/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6 for DECstation, d-i
2006-05-12 15:12 ` Martin Michlmayr
@ 2006-05-12 16:20 ` Ralf Baechle
0 siblings, 0 replies; 7+ messages in thread
From: Ralf Baechle @ 2006-05-12 16:20 UTC (permalink / raw)
To: Martin Michlmayr
Cc: Maciej W. Rozycki, Karel van Houten, debian-mips, linux-mips
On Fri, May 12, 2006 at 05:12:01PM +0200, Martin Michlmayr wrote:
> * Maciej W. Rozycki <macro@linux-mips.org> [2006-05-12 11:57]:
> > > Yeah, but the problem is that ZS is not a config option anymore. I
> > > hacked up something to see if the driver works but I guess there's a
> > > nicer solution.
> > Of course there is. Just enable SERIAL_NONSTANDARD, SERIAL_DEC,
> > SERIAL_DEC_CONSOLE and ZS. They are all in drivers/char/Kconfig and it's
> > not a coincidence the options are the same as in 2.4.
>
> Hmm, okay, they are in the linux-mips tree, but not in mainline. :/
And they won't go there just like any other drivers/char/ serial driver..
Ralf
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6 for DECstation, d-i
2006-05-12 10:57 ` Maciej W. Rozycki
2006-05-12 15:12 ` Martin Michlmayr
@ 2006-05-15 16:23 ` Karel van Houten
1 sibling, 0 replies; 7+ messages in thread
From: Karel van Houten @ 2006-05-15 16:23 UTC (permalink / raw)
To: Maciej W. Rozycki; +Cc: Martin Michlmayr, debian-mips, linux-mips
Hi all,
I've downloaded a current git source tree, and compiled that natively on
my /260, using a debian testing/unstable installation (gcc 4.0.3). I
only used an older version of the dec_esp driver, which gave me no problems.
That kernel boots fine, serial console works as it should.
As time permits I'll try to test some more options that I used in my 2.4
kernels.
Good work (Maciej and others) !
Regards,
Karel.
Maciej W. Rozycki wrote:
> Of course there is. Just enable SERIAL_NONSTANDARD, SERIAL_DEC,
>
>SERIAL_DEC_CONSOLE and ZS. They are all in drivers/char/Kconfig and it's
>not a coincidence the options are the same as in 2.4.
>
> The driver has NOT been ported to use the serial core and frankly I would
>rather it went away and write the necessary system specific glue
>(including that horrible stuff for incorrect wiring used in all DEC
>systems making use of the Zilog chips) to use drivers/net/wan/z85230.c
>instead which already has a lot of nice stuff like support for synchronous
>operation and DMA, HDLC framing, etc.
>
> Maciej
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-05-15 16:23 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <44635C0D.7040901@vhouten.xs4all.nl>
2006-05-11 17:33 ` 2.6 for DECstation, d-i Martin Michlmayr
2006-05-11 18:14 ` Maciej W. Rozycki
2006-05-11 18:54 ` Martin Michlmayr
2006-05-12 10:57 ` Maciej W. Rozycki
2006-05-12 15:12 ` Martin Michlmayr
2006-05-12 16:20 ` Ralf Baechle
2006-05-15 16:23 ` Karel van Houten
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox