clarification in serial driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi I am porting 8250 driver to RTAI framework.
On reviewing 8250.c, I can see the following code piece, which I am not able to comprehend.
static void __init serial8250_isa_init_ports(void)
{
static int first=1;
if(!first)
    return;
first =0;
...
...
...
}

My question is that " what  is the purpose of this if condition?

Thanks in advance for clarification.

regards,
divyanshu


Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out.

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux