linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: version.h missing from 2.4.18?
  2002-03-26  7:45 version.h missing from 2.4.18? Ashok Raj
@ 2002-03-26  7:44 ` David S. Miller
  2002-03-26 10:17   ` Ashok Raj
  2002-03-30 14:09   ` linux PCI hotplug Ashok Raj
  2002-03-26 10:09 ` version.h missing from 2.4.18? Ashok Raj
  1 sibling, 2 replies; 7+ messages in thread
From: David S. Miller @ 2002-03-26  7:44 UTC (permalink / raw)
  To: ashokr2; +Cc: linux-kernel


version.h gets automatically generated by the kernel build process.

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

* version.h missing from 2.4.18?
@ 2002-03-26  7:45 Ashok Raj
  2002-03-26  7:44 ` David S. Miller
  2002-03-26 10:09 ` version.h missing from 2.4.18? Ashok Raj
  0 siblings, 2 replies; 7+ messages in thread
From: Ashok Raj @ 2002-03-26  7:45 UTC (permalink / raw)
  To: linux-kernel

Hello.

Its been a while i spent working with newer kernels. Looking at the tree now
noticed that 2.4.18 etc dont have a include/linux/version.h file?

has its need removed? or does it have an alternate home? I have see that up
until 2.4.9+ we had this and also still notice in redhat releases?

thanks
ashokr


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

* RE: version.h missing from 2.4.18?
  2002-03-26  7:45 version.h missing from 2.4.18? Ashok Raj
  2002-03-26  7:44 ` David S. Miller
@ 2002-03-26 10:09 ` Ashok Raj
  1 sibling, 0 replies; 7+ messages in thread
From: Ashok Raj @ 2002-03-26 10:09 UTC (permalink / raw)
  To: Ashok Raj, linux-kernel

Dont bother...

i looked at the Makefile and saw this is autogenerated now.

ashokr

-----Original Message-----
From: linux-kernel-owner@vger.kernel.org
[mailto:linux-kernel-owner@vger.kernel.org]On Behalf Of Ashok Raj
Sent: Monday, March 25, 2002 11:45 PM
To: linux-kernel@vger.kernel.org
Subject: version.h missing from 2.4.18?


Hello.

Its been a while i spent working with newer kernels. Looking at the tree now
noticed that 2.4.18 etc dont have a include/linux/version.h file?

has its need removed? or does it have an alternate home? I have see that up
until 2.4.9+ we had this and also still notice in redhat releases?

thanks
ashokr

-
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/


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

* RE: version.h missing from 2.4.18?
  2002-03-26  7:44 ` David S. Miller
@ 2002-03-26 10:17   ` Ashok Raj
  2002-03-26 21:52     ` Mike Castle
  2002-03-30 14:09   ` linux PCI hotplug Ashok Raj
  1 sibling, 1 reply; 7+ messages in thread
From: Ashok Raj @ 2002-03-26 10:17 UTC (permalink / raw)
  To: David S. Miller; +Cc: linux-kernel

Thanks. Just after i typed the mail i looked the Makefile... sorry for being
a little impatient.!!

I usually add the following to the header file to identify if the build is a
smp/up build. which promped me to find out immediatly before building.

When we work with redhat binaries and sources, we see uname -r gives the
kernel build correctly. for e.g 2.4.7-10smp etc. I fixed the Makefile now to
generate this header.

This becomes handy to identify what kernel is running. Also comes handy to
place the modules in the right directly when modules are build.

Iam not sure if iam the only one doing this, could this be added to the
kernel source tree?

#include <linux/config.h>
#ifndef  CONGIG_SMP
#define UTS_RELEASE	"2.4.18"
#else
#define UTS_RELEASE	"2.4.18smp"
#endif


-----Original Message-----
From: linux-kernel-owner@vger.kernel.org
[mailto:linux-kernel-owner@vger.kernel.org]On Behalf Of David S. Miller
Sent: Monday, March 25, 2002 11:44 PM
To: ashokr2@attbi.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: version.h missing from 2.4.18?



version.h gets automatically generated by the kernel build process.
-
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/


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

* Re: version.h missing from 2.4.18?
  2002-03-26 10:17   ` Ashok Raj
@ 2002-03-26 21:52     ` Mike Castle
  0 siblings, 0 replies; 7+ messages in thread
From: Mike Castle @ 2002-03-26 21:52 UTC (permalink / raw)
  To: linux-kernel

In article <PPENJLMFIMGBGDDHEPBBKEAPCMAA.ashokr2@attbi.com>,
Ashok Raj <ashokr2@attbi.com> wrote:
>Iam not sure if iam the only one doing this, could this be added to the
>kernel source tree?

Use the EXTRAVERSIONS setting in the top level makefile.

mrc

-- 
     Mike Castle      dalgoda@ix.netcom.com      www.netcom.com/~dalgoda/
    We are all of us living in the shadow of Manhattan.  -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc

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

* linux PCI hotplug
  2002-03-26  7:44 ` David S. Miller
  2002-03-26 10:17   ` Ashok Raj
@ 2002-03-30 14:09   ` Ashok Raj
  2002-03-30 16:22     ` Greg KH
  1 sibling, 1 reply; 7+ messages in thread
From: Ashok Raj @ 2002-03-30 14:09 UTC (permalink / raw)
  To: linux-kernel

Hello.

I have a question on pci hotplug capability.

when a new device is inserted, the hotplug driver enumerates pci, and if the
driver is already loaded....

for each new device
	pci_insert->pci_announce->pci_probe

if i need to remove a device, the pci_remove would be called, but it does
not call to check if the device is ready for removal. If there are other
apps working on this device, how would the hotplug removal be authenticated
before removal?

pci_remove() has no return value, means it cannot fail....

ashokr


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

* Re: linux PCI hotplug
  2002-03-30 14:09   ` linux PCI hotplug Ashok Raj
@ 2002-03-30 16:22     ` Greg KH
  0 siblings, 0 replies; 7+ messages in thread
From: Greg KH @ 2002-03-30 16:22 UTC (permalink / raw)
  To: Ashok Raj; +Cc: linux-kernel

On Sat, Mar 30, 2002 at 06:09:56AM -0800, Ashok Raj wrote:
> Hello.
> 
> I have a question on pci hotplug capability.
> 
> when a new device is inserted, the hotplug driver enumerates pci, and if the
> driver is already loaded....
> 
> for each new device
> 	pci_insert->pci_announce->pci_probe
> 
> if i need to remove a device, the pci_remove would be called, but it does
> not call to check if the device is ready for removal. If there are other
> apps working on this device, how would the hotplug removal be authenticated
> before removal?

What function can the pci_hotplug core call to "check"?

> pci_remove() has no return value, means it cannot fail....

This is correct.  If the user asks for the device to be powered down, it
will be powered down, even if the driver attached to that device is busy
doing something.

For 2.5, this will probably change, as we will have the option to ask
the driver if it's ok to shutdown (better power management hooks.)

thanks,

greg k-h

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

end of thread, other threads:[~2002-03-30 16:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-26  7:45 version.h missing from 2.4.18? Ashok Raj
2002-03-26  7:44 ` David S. Miller
2002-03-26 10:17   ` Ashok Raj
2002-03-26 21:52     ` Mike Castle
2002-03-30 14:09   ` linux PCI hotplug Ashok Raj
2002-03-30 16:22     ` Greg KH
2002-03-26 10:09 ` version.h missing from 2.4.18? Ashok Raj

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).