ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Led <led@altlinux.ru>
To: "ALT Devel discussion list" <devel@lists.altlinux.org>
Subject: Re: [devel] kernel usb headers???
Date: Sat, 16 Jun 2007 01:36:30 +0300
Message-ID: <9713cfcc0706151536t401fd3c4ue93d55f3cc56c1e3@mail.gmail.com> (raw)
In-Reply-To: <9713cfcc0706140206j66231706sc8c1d5aa775ccec4@mail.gmail.com>

2007/6/14, Led <led@altlinux.ru>:
> 2007/6/14, Sergey Vlasov <vsu@altlinux.ru>:
> > On Wed, Jun 13, 2007 at 11:17:58PM +0300, Led wrote:
> > > Прошу прощения за, возможно, глупый вопрос:
> > > где у нас сейчас брать
> > > /usr/src/linux-*/include/drivers/usb/core/*.h
>
> Здесь я ошибся:) Конечно же
> /usr/src/linux-*/drivers/usb/core/*.h
>
> > > в частности, /usr/src/linux-*/include/drivers/usb/core/hcd.h
>
> точнее:
> /usr/src/linux-*/drivers/usb/core/{hcd,hub}.h
>
> > > ?
> > > В kernel-headers-* отсутствует :(
> > > Каким образом получить доступ к USB-API в ядре?
> >
> > А для каких именно целей потребовались такие заголовки?
> >
> > Обычно драйверам USB-устройств достаточно заголовков linux/usb*, которые
> > есть в kernel-headers-modules-%flavour.  Внутренние заголовки USB типа
> > drivers/usb/core/hcd.h действительно не попадают в этот пакет.
>
> Для сборки модулей ядра. К тому же, насколько правильно я почитал в
> kernel-doc, drivers/usb/core/hcd.h - абсолютно легальный (и, AFAIR,
> рекомендуемый) способ доступа к ядерному USB-API. В частности, кроме
> как в нём, я нигде не нахожу объявление struct usb_hcd, а без этого
> как вобще что-то касательно USB можно сделать (на уровне модуля ядра)?
>
> Я прошу "вернуть в семью" незаслуженные ИМХО ядерные хэдеры... или
> убедить меня, что я ламер, неправ, и т.п.

Так что можно решить по моему вопросу? Может хоть добавить субпакет
kernel-headerы-drivers, если существующая идеология или полиси не
позволяет ложить хэдеры из drivers в kernel-headers-modules?

-- 
Led.

  reply	other threads:[~2007-06-15 22:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-13 20:17 Led
2007-06-14  8:35 ` Sergey Vlasov
2007-06-14  9:06   ` Led
2007-06-15 22:36     ` Led [this message]
2007-06-18 18:26       ` Michael Shigorin

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=9713cfcc0706151536t401fd3c4ue93d55f3cc56c1e3@mail.gmail.com \
    --to=led@altlinux.ru \
    --cc=devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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