LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@xenotime.net>
To: "Brian D. McGrew" <brian@visionpro.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: Ioctl
Date: Mon, 31 Jan 2011 11:51:52 -0800	[thread overview]
Message-ID: <20110131115152.b327044f.rdunlap@xenotime.net> (raw)
In-Reply-To: <C96C4FE1.46AA1%brian@visionpro.com>

On Mon, 31 Jan 2011 11:39:13 -0800 Brian D. McGrew wrote:

> Hello,
> 
> I'm very new at working with the kernel and device drivers and I'm trying to
> bring ours drivers up from a 2.6.16 kernel to 2.6.37.  I'm noticing that
> ioctl() doesn't seem to be raound anymore, or at least I can't find it.
> 
> There is tons of stuff in my code that I don't yet understand which requires
> the ioctl function.  What is the best way for me to either get the ioctl
> working in 2.6.37, or the quickest way to work around it???

ioctl() is still around.

fs/ioctl.c:
SYSCALL_DEFINE3(ioctl, unsigned int, fd, unsigned int, cmd, unsigned long, arg)
{

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

  reply	other threads:[~2011-01-31 19:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-31 19:39 Ioctl Brian D. McGrew
2011-01-31 19:51 ` Randy Dunlap [this message]
2011-01-31 19:55 ` Ioctl Jonathan Corbet

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=20110131115152.b327044f.rdunlap@xenotime.net \
    --to=rdunlap@xenotime.net \
    --cc=brian@visionpro.com \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: Ioctl' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).