All of lore.kernel.org
 help / color / mirror / Atom feed
* Why moving driver includes ?
  2003-03-28  4:48 Framebuffer fixes James Simmons
@ 2003-03-28 13:18   ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 7+ messages in thread
From: Benjamin Herrenschmidt @ 2003-03-28 13:18 UTC (permalink / raw)
  To: James Simmons; +Cc: Linux Kernel Mailing List, Linux Fbdev development list

Hi James !

Why did you move the driver includes to include/video ? What is 
the reasoning here ?

For example, drivers/video/radeon.h moved to include/video/radeon.h

Is this to be able to share register definitions with the DRM drivers ?
(I doubt this will ever happen as the DRM is rather self contained)

I would have preferred those includes to stay next to their respective
drivers (though renaming radeon.h to radeonfb.h might have made some
sense).

Regards,
Ben.



-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en

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

* Why moving driver includes ?
@ 2003-03-28 13:18   ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 7+ messages in thread
From: Benjamin Herrenschmidt @ 2003-03-28 13:18 UTC (permalink / raw)
  To: James Simmons; +Cc: Linux Kernel Mailing List, Linux Fbdev development list

Hi James !

Why did you move the driver includes to include/video ? What is 
the reasoning here ?

For example, drivers/video/radeon.h moved to include/video/radeon.h

Is this to be able to share register definitions with the DRM drivers ?
(I doubt this will ever happen as the DRM is rather self contained)

I would have preferred those includes to stay next to their respective
drivers (though renaming radeon.h to radeonfb.h might have made some
sense).

Regards,
Ben.


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

* Re: Why moving driver includes ?
  2003-03-28 13:18   ` Benjamin Herrenschmidt
  (?)
@ 2003-04-02 22:56   ` James Simmons
  -1 siblings, 0 replies; 7+ messages in thread
From: James Simmons @ 2003-04-02 22:56 UTC (permalink / raw)
  To: Benjamin Herrenschmidt
  Cc: Linux Kernel Mailing List, Linux Fbdev development list

> Hi James !
> 
> Why did you move the driver includes to include/video ? What is 
> the reasoning here ?
> 
> For example, drivers/video/radeon.h moved to include/video/radeon.h
> 
> Is this to be able to share register definitions with the DRM drivers ?
> (I doubt this will ever happen as the DRM is rather self contained)

Yes. You never know. The other big reason was so userland could have a 
standard set of hardware header files to program graphics hardware. Now 
SDL and directfb etc can use the same header files.
 

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

* Re: Why moving driver includes ?
       [not found] <mailman.1049324411.25620.linux-kernel2news@redhat.com>
@ 2003-04-03  0:45 ` Pete Zaitcev
  2003-04-03  1:32   ` Ulrich Drepper
  0 siblings, 1 reply; 7+ messages in thread
From: Pete Zaitcev @ 2003-04-03  0:45 UTC (permalink / raw)
  To: James Simmons; +Cc: linux-kernel

>> Why did you move the driver includes to include/video ? What is 
>> the reasoning here ?
>> 
>> For example, drivers/video/radeon.h moved to include/video/radeon.h

> Yes. You never know. The other big reason was so userland could have a 
> standard set of hardware header files to program graphics hardware. Now 
> SDL and directfb etc can use the same header files.

Yeah, but what does it have to do with kernel? You should have
gotten Uli to add them to glibc.

-- Pete

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

* Re: Why moving driver includes ?
  2003-04-03  0:45 ` Why moving driver includes ? Pete Zaitcev
@ 2003-04-03  1:32   ` Ulrich Drepper
  2003-04-03  1:40     ` Pete Zaitcev
  0 siblings, 1 reply; 7+ messages in thread
From: Ulrich Drepper @ 2003-04-03  1:32 UTC (permalink / raw)
  To: Pete Zaitcev; +Cc: James Simmons, linux-kernel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pete Zaitcev wrote:

> Yeah, but what does it have to do with kernel? You should have
> gotten Uli to add them to glibc.

Headers like have no place in glibc either.  There should be one or more
separate packages which distribute kernel headers.

- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+i4832ijCOnn/RHQRAo+3AJ9VSy96p4dq8DJ+Mtd0oZTCCOswxgCdHl9d
daw5lnlXKUuciCSTKSt3Jxc=
=ugh8
-----END PGP SIGNATURE-----


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

* Re: Why moving driver includes ?
  2003-04-03  1:32   ` Ulrich Drepper
@ 2003-04-03  1:40     ` Pete Zaitcev
  2003-04-04 13:30       ` Christoph Hellwig
  0 siblings, 1 reply; 7+ messages in thread
From: Pete Zaitcev @ 2003-04-03  1:40 UTC (permalink / raw)
  To: Ulrich Drepper; +Cc: Pete Zaitcev, James Simmons, linux-kernel

> Date: Wed, 02 Apr 2003 17:32:33 -0800
> From: Ulrich Drepper <drepper@redhat.com>

> > Yeah, but what does it have to do with kernel? You should have
> > gotten Uli to add them to glibc.
> 
> Headers like have no place in glibc either.  There should be one or more
> separate packages which distribute kernel headers.

I can see your point, but imagine how many packages this is
going to create. Shall we plead with Arjan to maintain
glibc-kernelheaders as a community package, to be a clearinghouse
for these things?

-- Pete

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

* Re: Why moving driver includes ?
  2003-04-03  1:40     ` Pete Zaitcev
@ 2003-04-04 13:30       ` Christoph Hellwig
  0 siblings, 0 replies; 7+ messages in thread
From: Christoph Hellwig @ 2003-04-04 13:30 UTC (permalink / raw)
  To: Pete Zaitcev; +Cc: Ulrich Drepper, James Simmons, linux-kernel

On Wed, Apr 02, 2003 at 08:40:26PM -0500, Pete Zaitcev wrote:
> I can see your point, but imagine how many packages this is
> going to create. Shall we plead with Arjan to maintain
> glibc-kernelheaders as a community package, to be a clearinghouse
> for these things?

Yes.  It would be nice to have a tarball of it on kernel.org instead
of only the SRPM on rawhide, btw..


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

end of thread, other threads:[~2003-04-04 13:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1049324411.25620.linux-kernel2news@redhat.com>
2003-04-03  0:45 ` Why moving driver includes ? Pete Zaitcev
2003-04-03  1:32   ` Ulrich Drepper
2003-04-03  1:40     ` Pete Zaitcev
2003-04-04 13:30       ` Christoph Hellwig
2003-03-28  4:48 Framebuffer fixes James Simmons
2003-03-28 13:18 ` Why moving driver includes ? Benjamin Herrenschmidt
2003-03-28 13:18   ` Benjamin Herrenschmidt
2003-04-02 22:56   ` James Simmons

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.