diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-03-11 23:35:36 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-03-11 23:35:36 +0000 |
commit | bf91815c3fd4be584af323447605624b33932f63 (patch) | |
tree | 3f20fc7294bd7fdf20bcd4b5110f1dccb6165cd0 /nuttx/arch/arm/src/common/up_internal.h | |
parent | df9cb3ba59cdd40da994ff9ab6b153ef12875d9e (diff) | |
download | px4-nuttx-bf91815c3fd4be584af323447605624b33932f63.tar.gz px4-nuttx-bf91815c3fd4be584af323447605624b33932f63.tar.bz2 px4-nuttx-bf91815c3fd4be584af323447605624b33932f63.zip |
Add a stub that can be used when networking is enabled, but there is no ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3368 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/common/up_internal.h')
-rw-r--r-- | nuttx/arch/arm/src/common/up_internal.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/common/up_internal.h b/nuttx/arch/arm/src/common/up_internal.h index 2829ab0b8..986d901d6 100644 --- a/nuttx/arch/arm/src/common/up_internal.h +++ b/nuttx/arch/arm/src/common/up_internal.h @@ -1,7 +1,7 @@ /**************************************************************************** * common/up_internal.h * - * Copyright (C) 2007-2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -259,7 +259,11 @@ extern void up_ledoff(int led); # define up_ledoff(led) #endif -/* Defined in board/up_network.c */ +/* Defined in board/up_network.c for board-specific ethernet implementations, + * or chip/xyx_ethernet.c for chip-specific ethernet implementations, or + * common/up_etherstub.c for a cornercase where the network is enable yet + * there is no ethernet driver to be initialized. + */ #ifdef CONFIG_NET extern void up_netinitialize(void); |