login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
March
»
21
Re: [PATCH 1/7] LinuxPPS core support.
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Kay Sievers
Subject:
Re: [PATCH 1/7] LinuxPPS core support.
Date: Thursday, March 20, 2008 - 8:50 pm
On Thu, Mar 6, 2008 at 1:09 PM, Rodolfo Giometti <giometti@linux.it> wrote:
quoted text
> This patch adds the kernel side of the PPS support currently named > "LinuxPPS".
quoted text
> diff --git a/include/linux/pps.h b/include/linux/pps.h > new file mode 100644 > index 0000000..c455443 > --- /dev/null > +++ b/include/linux/pps.h > @@ -0,0 +1,204 @@
quoted text
> +/* The main struct */ > +struct pps_device { > + struct pps_source_info info; /* PSS source info */ > + > + struct pps_kparams params; /* PPS's current params */ > + > + __u32 assert_sequence; /* PPS' assert event seq # */ > + __u32 clear_sequence; /* PPS' clear event seq # */ > + struct pps_ktime assert_tu; > + struct pps_ktime clear_tu; > + int current_mode; /* PPS mode at event time */ > + > + int go; /* PPS event is arrived? */ > + wait_queue_head_t queue; /* PPS event queue */ > + > + unsigned int id; /* PPS source unique ID */ > + struct cdev cdev; > + struct device *dev; > + int devno; > + struct fasync_struct *async_queue; /* fasync method */ > + spinlock_t lock; > + > + atomic_t usage; /* usage count */ > + wait_queue_head_t usage_queue; > + > + struct class class_dev;
Why is an entire class embedded into every device? :) Kay --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
LinuxPPS (RESUBMIT 2): the PPS Linux implementation.
, Rodolfo Giometti
, (Thu Mar 6, 5:08 am)
[PATCH 1/7] LinuxPPS core support.
, Rodolfo Giometti
, (Thu Mar 6, 5:09 am)
[PATCH 2/7] PPS: userland header file for PPS API.
, Rodolfo Giometti
, (Thu Mar 6, 5:09 am)
[PATCH 3/7] PPS: documentation programs and examples.
, Rodolfo Giometti
, (Thu Mar 6, 5:09 am)
Re: LinuxPPS (RESUBMIT 2): the PPS Linux implementation.
, john stultz
, (Wed Mar 19, 10:29 am)
Re: LinuxPPS (RESUBMIT 2): the PPS Linux implementation.
, Andrew Morton
, (Wed Mar 19, 2:21 pm)
Re: LinuxPPS (RESUBMIT 2): the PPS Linux implementation.
, Dave Jones
, (Wed Mar 19, 2:55 pm)
Re: [PATCH 1/7] LinuxPPS core support.
, Andrew Morton
, (Thu Mar 20, 1:03 pm)
Re: [PATCH 1/7] LinuxPPS core support.
, Kay Sievers
, (Thu Mar 20, 8:36 pm)
Re: [PATCH 1/7] LinuxPPS core support.
, Kay Sievers
, (Thu Mar 20, 8:50 pm)
Re: [PATCH 1/7] LinuxPPS core support.
, Rodolfo Giometti
, (Fri Mar 21, 3:56 am)
Re: [PATCH 1/7] LinuxPPS core support.
, Rodolfo Giometti
, (Fri Mar 21, 3:57 am)
Re: [PATCH 1/7] LinuxPPS core support.
, Kay Sievers
, (Fri Mar 21, 10:00 am)
Re: [PATCH 1/7] LinuxPPS core support.
, Kay Sievers
, (Fri Mar 21, 10:01 am)
Re: [PATCH 1/7] LinuxPPS core support.
, Rodolfo Giometti
, (Tue Mar 25, 3:48 am)
Re: [PATCH 1/7] LinuxPPS core support.
, Rodolfo Giometti
, (Tue Mar 25, 3:53 am)
Re: [PATCH 1/7] LinuxPPS core support.
, Rodolfo Giometti
, (Tue Mar 25, 7:44 am)
Re: [PATCH 1/7] LinuxPPS core support.
, Andrew Morton
, (Thu Mar 27, 8:25 pm)
Re: [PATCH 1/7] LinuxPPS core support.
, Andrew Morton
, (Fri Mar 28, 3:21 am)
Re: [PATCH 1/7] LinuxPPS core support.
, Rodolfo Giometti
, (Tue Apr 1, 1:42 am)
Re: [PATCH 1/7] LinuxPPS core support.
, Andrew Morton
, (Tue Apr 1, 1:55 am)
Re: [PATCH 1/7] LinuxPPS core support.
, Rodolfo Giometti
, (Tue Apr 1, 1:59 am)
Re: [PATCH 1/7] LinuxPPS core support.
, Andrew Morton
, (Tue Apr 1, 2:09 am)
Re: [PATCH 1/7] LinuxPPS core support.
, Rodolfo Giometti
, (Tue Apr 1, 2:40 am)
Re: [PATCH 1/7] LinuxPPS core support.
, Rodolfo Giometti
, (Tue Apr 1, 2:50 am)
Re: [PATCH 1/7] LinuxPPS core support.
, Rodolfo Giometti
, (Tue Apr 1, 2:45 pm)
Re: [PATCH 1/7] LinuxPPS core support.
, Andrew Morton
, (Tue Apr 1, 2:57 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Trent Waddington
Re: Gaming Interface
Takashi Iwai
Re: [PATCH] usb: usbmixer error path fix
Pekka Enberg
Re: latest -git: suspend: unable to handle kernel paging request (was Re: no_conso...
Dan Carpenter
Re: [patch] dma-debug: off by one issue
Jeremy Fitzhardinge
Re: [patch 1/6] Re-enable VDSO by default with PARAVIRT
git
:
Stephen R. van den Berg
Re: [RFC] origin link for cherry-pick and revert
Christian Stimming
git-gui: Fix broken revert confirmation.
Junio C Hamano
Re: git-svnimport
Mark Burton
Re: [PATCH] builtin-branch: highlight current remote branches with an asterisk
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
linux-netdev
:
Nick Piggin
Re: Kernel WARNING: at net/core/dev.c:1330 __netif_schedule+0x2c/0x98()
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Ingo Molnar
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
openbsd-misc
:
Christophe Rioux
Implementation example of snmp
Ryan McBride
Re: Packets Per Second Limit?
Nick Holland
Re: booting openbsd on eee without cd-rom
Marco Peereboom
Re: Singularity OS
Otto Moerbeek
Re: Solved: cron - setusercontext failed for root
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
bnx2x: Fan failure mechanism on additional design
Linux Kernel Mailing List
cpumask: make irq_set_affinity() take a const struct cpumask
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
Linux Kernel Mailing List
ahci: Workaround HW bug for SB600/700 SATA controller PMP support
Colocation donated by:
Syndicate