ALT Linux kernel packages development
 help / color / mirror / Atom feed
* [d-kernel] kernel-modules-pctel for kernel 2.6.16: Help!
@ 2006-04-15 21:41 Dmitriy Khanzhin
  2006-04-15 22:04 ` Konstantin A. Lepikhov
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitriy Khanzhin @ 2006-04-15 21:41 UTC (permalink / raw)
  To: devel-kernel

Здравствуйте!
Собираю 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?

 /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://linmodems.technion.ac.il/pctel-linux/pctel-0.9.7-9-rht-5.tar.gz

-- 
С уважением, Дмитрий Ханжин.
Registered Linux user #387627.
Just For Fun!








^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-04-16  5:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-15 21:41 [d-kernel] kernel-modules-pctel for kernel 2.6.16: Help! Dmitriy Khanzhin
2006-04-15 22:04 ` Konstantin A. Lepikhov
2006-04-16  5:20   ` [d-kernel] kernel-modules-pctel for kernel 2.6.16: Thanks! Dmitriy Khanzhin

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