Re: [PATCH 1/1] m68k: add missing I/O macros {in,out}{w,l}_p() for !CONFIG_ISA

Thorsten Glaser
2010-10-04T11:37:23Z

Finn Thain dixit:

>It built for me at the time, so I was suprised to find out it didn't build
>for you, and naturally I wanted to know what I did wrong.

Well, we found out it didn’t build for you now too.

>It may be that speakup works on amiga and atari (I don't know). It doesn't
>work on mac as there are no audio drivers. It has long frustrated me that

There’s a software backend. (You could probably use network audio.)

>there is bloat in the debian kernel configs. So perhaps I am guilty of

Yes, there is bloat. However, to remove *that* would be even more
difficult to both do and find reasons for, is *WAY* beyong my
knowledge; remember I’m first and foremost a BSD developer.

So, we have a speakup driver broken without¹ the patch I submitted.

>being unfairly obstructionist here, in the hope that the config file
>issues could be addressed. My apologies.

I don’t even *want* to go there. I do believe I’d fail, and I want
to focus on getting enough packages built to be able to use eglibc
with TLS and cowbuilder, which includes having a newer kernel only
as side effect (and the kernel is said to be the least problematic
part of them all… *sigh*).

>You may be right. I confess to being ignorant when it comes to ISA.

I’m ignorant regarding both the Linux kernel and m68k, which may be
a reason for different views. And bringing in fresh wind/blood…

Anyway, it appears to build with the exact patch I submitted applied:

[…]
CC [M] drivers/ssb/driver_chipcommon_pmu.o
LD [M] drivers/ssb/ssb.o
CC drivers/staging/staging.o
LD drivers/staging/built-in.o
LD drivers/staging/speakup/built-in.o
CC [M] drivers/staging/speakup/speakup_acntsa.o
CC [M] drivers/staging/speakup/speakup_acntpc.o
CC [M] drivers/staging/speakup/speakup_apollo.o
CC [M] drivers/staging/speakup/speakup_audptr.o
CC [M] drivers/staging/speakup/speakup_bns.o
CC [M] drivers/staging/speakup/speakup_dectlk.o
CC [M] drivers/staging/speakup/speakup_decext.o
CC [M] drivers/staging/speakup/speakup_dtlk.o
CC [M] drivers/staging/speakup/speakup_keypc.o
CC [M] drivers/staging/speakup/speakup_ltlk.o
CC [M] drivers/staging/speakup/speakup_soft.o
CC [M] drivers/staging/speakup/speakup_spkout.o
CC [M] drivers/staging/speakup/speakup_txprt.o
CC [M] drivers/staging/speakup/speakup_dummy.o
CC [M] drivers/staging/speakup/buffers.o
CC [M] drivers/staging/speakup/devsynth.o
CC [M] drivers/staging/speakup/i18n.o
CC [M] drivers/staging/speakup/fakekey.o
CC [M] drivers/staging/speakup/main.o
CC [M] drivers/staging/speakup/keyhelp.o
CC [M] drivers/staging/speakup/kobjects.o
CC [M] drivers/staging/speakup/selection.o
CC [M] drivers/staging/speakup/serialio.o
/root/linux-2.6-2.6.32/debian/build/source_m68k_none/drivers/staging/speakup/serialio.c: In function ‘spk_serial_init’: /root/linux-2.6-2.6.32/debian/build/source_m68k_none/drivers/staging/speakup/serialio.c:44: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘long unsigned int’
/root/linux-2.6-2.6.32/debian/build/source_m68k_none/drivers/staging/speakup/serialio.c: In function ‘start_serial_interrupt’: /root/linux-2.6-2.6.32/debian/build/source_m68k_none/drivers/staging/speakup/serialio.c:112: warning: statement with no effect
/root/linux-2.6-2.6.32/debian/build/source_m68k_none/drivers/staging/speakup/serialio.c:113: warning: statement with no effect
/root/linux-2.6-2.6.32/debian/build/source_m68k_none/drivers/staging/speakup/serialio.c:114: warning: statement with no effect
/root/linux-2.6-2.6.32/debian/build/source_m68k_none/drivers/staging/speakup/serialio.c:115: warning: statement with no effect
CC [M] drivers/staging/speakup/synth.o
CC [M] drivers/staging/speakup/thread.o
CC [M] drivers/staging/speakup/varhandlers.o
LD [M] drivers/staging/speakup/speakup.o
LD drivers/uio/built-in.o
CC [M] drivers/uio/uio.o
[…]

This lets me think I’m doing something right here. Still building…

[…]
CC [M] net/ipv6/xfrm6_input.o

This is where I am at right now, and I wonder how much longer it will
take. However, I somewhat feel proud to get so far even with Debian’s
admitted bloat, which on the other hand is something I’d *expect* from
a general-purpose distribution.

bye,
//mirabilos
--
> Hi, does anyone sell openbsd stickers by themselves and not packaged
> with other products?
No, the only way I've seen them sold is for $40 with a free OpenBSD CD.
-- Haroon Khalid and Steve Shockley in gmane.os.openbsd.misc