On-chip temp sensor

Where did you see that? I've just had a look at the Atmega8 Datasheet and there is no mention of an onboard temp sensor.