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: Friday, March 21, 2008 - 10:01 am
On Fri, 2008-03-21 at 11:57 +0100, Rodolfo Giometti wrote:
quoted text
> On Fri, Mar 21, 2008 at 04:50:51AM +0100, Kay Sievers wrote: > > On Thu, Mar 6, 2008 at 1:09 PM, Rodolfo Giometti <giometti@linux.it> wrote: > > > This patch adds the kernel side of the PPS support currently named > > > "LinuxPPS". > > > > > 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 @@ > > > > > +/* 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? :) > > Uh! =:-o > > Is that not right? What do you suggest to do?
It looks wrong. Do you use it for anything? I guess, you can just remove it. 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
:
Dave Jones
Re: OT: character encodings (was: Linux 2.6.20-rc4)
Greg Kroah-Hartman
[PATCH 17/36] sysdev: detect multiple driver registrations
Sam Ravnborg
Re: [PATCH] kbuild: fix make V=1
Nick Piggin
Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures
Greg Kroah-Hartman
[PATCH 16/36] driver core: cpu: fix section mismatch in cpu.c:store_online
git
:
Stephen R. van den Berg
Re: [RFC] origin link for cherry-pick and revert
Junio C Hamano
Re: [PATCH 1/2] Teach git-describe to display distances from tags.
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
fantasy1215
Will tortoisesvn conflict with tortoisegit?
Junio C Hamano
Re: [PATCH 6/6] Teach core object handling functions about gitlinks
linux-netdev
:
Jarek Poplawski
Re: [PATCH] flush_work_sync vs. flush_scheduled_work Re: [PATCH] PHYLIB: IRQ event...
Lennert Buytenhek
Re: Distributed Switch Architecture(DSA)
Daniel Schaffrath
Re: tcp bw in 2.6
Guo-Fu Tseng
Re: jme: UDP checksum error, and lots of them
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
openbsd-misc
:
Claudio Jeker
Re: Vlan Tag on Vlan Tag (l2tunneling)
Josh Grosse
ssh/sshd challenge-response seems to have stopped working in -current
Pieter Verberne
File collision while using pkg_add
Tomas Bodzar
bsd: uvm_mapent_alloc: out of static map entries
Community First Financial
Teacher A+ Loan
git-commits-head
:
Linux Kernel Mailing List
ath9k: Added get_survey callback in order to get channel noise
Linux Kernel Mailing List
tracing: protect reader of cmdline output
Linux Kernel Mailing List
kconfig: recalc symbol value before showing search results
Linux Kernel Mailing List
[ARM] 5185/1: Fix spi num_chipselect for lubbock
Linux Kernel Mailing List
swsusp: provide users with a hint about the no_console_suspend option
Colocation donated by:
Syndicate