ALT Linux kernel packages development
 help / color / mirror / Atom feed
From: "Konstantin A. Lepikhov" <lakostis@anti-leasure.ru>
To: ALT Linux kernel packages development <devel-kernel@lists.altlinux.org>
Subject: Re: [d-kernel] kernel-modules-pctel for kernel 2.6.16: Help!
Date: Sun, 16 Apr 2006 02:04:16 +0400
Message-ID: <20060415220416.GA31479@lks.home> (raw)
In-Reply-To: <44416874.2020906@sandy.ru>

[-- Attachment #1: Type: text/plain, Size: 2488 bytes --]

Hi Dmitriy!

Sunday 16, at 01:41:08 AM you wrote:

> Здравствуйте!
> Собираю kernel-modules-pctel.
> Для ядер 2.6.12 и 2.6.14 собралось и работает.
> Для ядра 2.6.16- вот такая диагностика:
>  /home/diman/Documents/pctel/pctel-0.9.7-9-rht-5/src/linmodem-2.6.o
>  /home/diman/Documents/pctel/pctel-0.9.7-9-rht-5/src/linmodem-2.6.c: In
> function `receive_chars':
>  /home/diman/Documents/pctel/pctel-0.9.7-9-rht-5/src/linmodem-2.6.c:406:
> error: structure has no member named `flip'
> 
> Тут строчка такая: if (unlikely(tty->flip.count >= TTY_FLIPBUF_SIZE)) {
> 
>  /home/diman/Documents/pctel/pctel-0.9.7-9-rht-5/src/linmodem-2.6.c:459:
> error: structure has no member named `flip'
> 
> А тут такая: tty->flip.count < TTY_FLIPBUF_SIZE) {
> 
> ^^
> Эти ошибки возникли из-за изменения linux/tty_flip.h, как я понял?
> А что за зверь этот tty->flip.count, где посмотреть и как это называется
> в ядре 2.6.16?
про зверя и куда он подевался см. тут -
http://www.kernel.org/git/?p=linux/kernel/git/stable/linux-2.6.16.y.git;a=commit;h=33f0f88f1c51ae5c2d593d26960c760ea154c2e2,
как исправить код см. тут -
http://www.kernel.org/git/?p=linux/kernel/git/stable/linux-2.6.16.y.git;a=commit;h=76a55431cc7237f018c7c667860d60e2b6427bf1

> 
>  /home/diman/Documents/pctel/pctel-0.9.7-9-rht-5/src/linmodem-2.6.c: In
> function `linmodem_config_port':
>  /home/diman/Documents/pctel/pctel-0.9.7-9-rht-5/src/linmodem-2.6.c:1008:
> error: `UPF_BOOT_ONLYMCA' undeclared (first use in this function)
>  /home/diman/Documents/pctel/pctel-0.9.7-9-rht-5/src/linmodem-2.6.c:1008:
> error: (Each undeclared identifier is reported only once
>  /home/diman/Documents/pctel/pctel-0.9.7-9-rht-5/src/linmodem-2.6.c:1008:
> error: for each function it appears in.)
> ^^
> Эти- изменился linux/serial_core.h: убрали определение UPF_BOOT_ONLYMCA.
> Оно надо и что означает, где смотреть?
http://www.kernel.org/git/?p=linux/kernel/git/stable/linux-2.6.16.y.git;a=commit;h=ca740803856f23dbc5b1872039291231bc131ecb
- судя по этому, UPF_BOOT_ONLYMCA выкинули за ненадобностью.

> 
> Извиняюсь, если вопросы заданы недостаточно правильно. Наставьте на путь
> истинный. :-)
регулярно пользуйтесь поиском по kernel git, он рулит ;)

-- 
WBR, Konstantin	      chat with ==>ICQ: 109916175
     Lepikhov,	      speak  to ==>JID: lakostis@jabber.org
aka L.A. Kostis       write  to ==>mailto:lakostis@pisem.net.nospam

...The information is like the bank... 			  (c) EC8OR

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 191 bytes --]

  reply	other threads:[~2006-04-15 22:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-15 21:41 Dmitriy Khanzhin
2006-04-15 22:04 ` Konstantin A. Lepikhov [this message]
2006-04-16  5:20   ` [d-kernel] kernel-modules-pctel for kernel 2.6.16: Thanks! Dmitriy Khanzhin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060415220416.GA31479@lks.home \
    --to=lakostis@anti-leasure.ru \
    --cc=devel-kernel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux kernel packages development

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
		devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
	public-inbox-index devel-kernel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git