Skip to contentSkip to conversation

PROBLEM, PATCH: 2.6.9rc3 build fails with ISDN CAPI

PATCH Martin Emrich 2 participants 2 messages Oct 5, 2004

lore
Share & tools
lore
#0 lore raw

Hi!

Building Linux 2.6.9-rc3 fails with this message:

drivers/isdn/capi/capi.c: In Funktion »capi_recv_message«:
drivers/isdn/capi/capi.c:649: error: `tty' undeclared (first use in this function)
drivers/isdn/capi/capi.c:649: error: (Each undeclared identifier is reported only once
drivers/isdn/capi/capi.c:649: error: for each function it appears in.)

* Output from sh scripts/ver_linux :

If some fields are empty or look unusual you may have an old version. Compare to the current minimal requirements in Documentation/Changes.

Linux sauron 2.6.7 #1 SMP Tue Sep 28 12:14:36 CEST 2004 i686 GNU/Linux

Gnu C                  3.3.4
Gnu make               3.80
binutils               2.15
util-linux             2.12
mount                  2.12
module-init-tools      3.1-pre5
e2fsprogs              1.35
reiserfsprogs          line
reiser4progs           line
PPP                    2.4.2
isdn4k-utils           3.3
nfs-utils              1.0.6
Linux C Library        2.3.2
Dynamic linker (ldd)   2.3.2
Procps                 3.2.1
Net-tools              1.60
Console-tools          0.2.3
Sh-utils               5.2.1
Modules Loaded         skystar2 stv0299 dvb_core zaptel ip_queue sd_mod 

scsi_mod cls_fw sch_tbf sch_sfq sch_prio ipt_MARK iptable_mangle ipt_state ipt_REJECT ipt_LOG iptable_filter ppp_deflate zlib_deflate zlib_inflate bsd_comp ppp_async lp tun 8250 serial_core tulip crc32 i2c_core uhci_hcd parport_pc parport evdev capi capifs fcpci kernelcapi pppoe pppox ppp_generic slhc ipt_conntrack ip_nat_irc iptable_nat

* Attached: my .config

* Possible Patch:

capi.c 2004-10-05 16:45:59.000000000 +0200 renamed from capi.c.orig 2004-10-05 16:45:40.000000000 +0200 +1 -1
@@ -646,7 +646,7 @@
                kfree_skb(skb);
                (void)capiminor_del_ack(mp, datahandle);
                if (mp->tty)
-                       tty_wakeup(tty);
+                       tty_wakeup(mp->tty);
                (void)handle_minor_send(mp);
 
        } else {

* I am no kernel hacker, so I don't know what this could break. If my ISDN card stops working, I'll get back to you.

Ciao

Martin
PS: Please CC me, I'm not on the list

#1 lore raw

Hi Martin,

Quoted 8 lines

Building Linux 2.6.9-rc3 fails with this message:

drivers/isdn/capi/capi.c: In Funktion »capi_recv_message«:
drivers/isdn/capi/capi.c:649: error: `tty' undeclared (first use in this function)
drivers/isdn/capi/capi.c:649: error: (Each undeclared identifier is reported only once
drivers/isdn/capi/capi.c:649: error: for each function it appears in.)

this is already fixed. Try 2.6.9-rc3-bk5.

Regards

Marcel