summaryrefslogtreecommitdiffstats
path: root/c/src/libchip/network/if_fxp.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-04-04bsps: Move libchip to bspsSebastian Huber1-2339/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-01-31bsps: Move network define to source filesSebastian Huber1-0/+2
Define __INSIDE_RTEMS_BSD_TCPIP_STACK__ in the network interface driver source files to avoid some build system magic.
2018-01-04libchip: Use public include pathChris Johns1-1/+1
Update #3254.
2017-06-09if_fxp: Include missing <inttypes.h>Sebastian Huber1-5/+6
Fix format warnings.
2017-04-20if_fxp.c: Add prototype of rtems_fxp_attach()Joel Sherrill1-0/+3
2017-04-20if_fxp.c: Remove unused variableJoel Sherrill1-1/+1
2016-10-17libchip/network/if_fxp.c: do not use rtems_interrupt_disable.Pavel Pisa1-7/+4
The single write to memory or ioport output are mostly atomic operations already. The proper memory synchronization barrier should be used around them to guarantee ordering (sync or eieio on PowerPC for example) but because I have not found settable portable primitive only compiler barrier is used. It should be enough on x86 because the externally visible order should be/is guaranteed to be preserved on x86 architecture.
2016-09-21classic networking: adapt FXP driver to work with actual PCI and IRQ code.Pavel Pisa1-98/+88
Tested to work with QEMU provided Intel i82557b network controller emulation. qemu-system-x86_64 -enable-kvm -kernel $APP_BINARY \ -vga cirrus \ -append "--console=/dev/com1" \ -serial stdio \ -net nic,vlan=1,macaddr=be:be:be:10:00:01,model=i82557b \ -net tap,ifname=tap1,vlan=1,script=no,downscript=no
2016-09-20classic networking: do not reference BSP_irq_enabled_at_i8259s which is no ↵Pavel Pisa1-6/+1
more available on i386. This change is required to build RTEMS with classic "--enable-networking" and link applications/tests which reference RTEMS_BSP_NETWORK_DRIVER_ATTACH.
2016-03-10pc386: Eliminate pcibios.h and begin removal obsolete PCI BIOS API usesJoel Sherrill1-1/+42
This first step eliminates the following as public APIs for the pc386 BSP: + pcib_conf_read8 + pcib_conf_read16 + pcib_conf_read32 + pcib_conf_write8 + pcib_conf_write16 + pcib_conf_write32 The if_fxp.c driver uses these enough where I provided local macros to allow the code to be mostly unmodified. On other architectures these names have been used privately. It will take multiple patches to completely eliminate these symbols from the RTEMS source tree. The focus of the first effort is just to eliminate these as a public pc386 API so support can be added for systems without legacy PCI BIOS.
2015-03-17libchip/network/if_fxp.c: Do not use rtems_clock_get()Joel Sherrill1-1/+1
2012-11-02libnetworking: Use system eventsSebastian Huber1-1/+1
Add reserved system events RTEMS_EVENT_SYSTEM_NETWORK_SBWAIT and RTEMS_EVENT_SYSTEM_NETWORK_SOSLEEP. Add and use rtems_bsdnet_event_send().
2012-01-31Fixed race condition during startup.Sebastian Huber1-12/+14
2011-12-092011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+1
* libchip/network/if_fxp.c: Add missing initializer.
2008-09-07Convert to "bool".Ralf Corsepius1-3/+3
2007-11-262007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-10/+10
* libchip/network/if_fxp.c: Spacing.
2007-03-312007-03-31 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-3/+3
* libchip/network/dec21140.c, libchip/network/if_dc.c, libchip/network/if_fxp.c: Reflect changes to pci-API.
2006-12-14Use ioctl_command_t as ioctl argument.Ralf Corsepius1-2/+2
2005-09-19Include <errno.h> instead of <sys/errno.h>.Ralf Corsepius1-1/+1
2005-08-222005-08-18 Karel Gardas <kgardas@objectsecurity.com>Joel Sherrill1-10/+0
* libchip/network/if_fxp.c, libchip/network/if_dc.c, libchip/network/dec21140.c: Remove initialization of PCI bus.
2005-07-182005-07-18 Karel Gardas <kgardas@objectsecurity.com>Joel Sherrill1-1/+1
* libchip/network/if_fxp.c: Change status of PCI Id 0x1229 from UNTESTED to tested.
2005-05-172005-05-17 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett1-1/+1
* ChangeLog, libchip/network/if_fxp.c, libchip/serial/ns16550.c: Modified to use rtems/irq.h.
2005-05-062005-05-06 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett1-1/+1
* libchip/network/dec21140.c, libchip/network/elnk.c, libchip/network/if_fxp.c: Moved irq.h to bsp subdirectory.
2005-05-032005-05-03 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett1-2/+2
* libchip/network/dec21140.c, libchip/network/elnk.c, libchip/network/if_fxp.c, libchip/serial/mc68681.c: Modified parameter list to remove warnings.
2005-03-142005-03-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-5/+4
* libchip/network/dec21140.c, libchip/network/elnk.c, libchip/network/if_fxp.c: Continue PCI API unification. All use pci_find_device(). Network drivers manufacture a signature since all calls have not been converted yet.
2005-03-042005-03-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+1
* libchip/network/dec21140.c, libchip/network/if_fxp.c: Make PCI initialize function part of the unified PCI API as pci_initialize().
2004-11-29Add another module ID code.Eric Norum1-0/+1
2004-10-11Add line suggested by "Eugene Denisov" <dea@sendmail.ru>.Eric Norum1-0/+6
Prevents lockup at initialization.
2004-07-252004-07-25 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+2
* libchip/network/if_fxp.c: Add include of <sys/errno.h>.
2004-05-212004-05-21 Till Strauman <strauman@slac.stanford.edu>Joel Sherrill1-27/+28
* PR/625/networking * libchip/network/dec21140.c, ... : Prevent name clashes by making 'ld_le32()' etc. static inlines. Let dec21140 attach routine return an error rather than panic if no chip is detected (thus allowing for probing). * libchip/network/elnk.c: Let elnk bail out if autoneg never completes instead of looping forever. Avoid divide by zero (crashed my PC). * libchip/network/if_fxp.c: Enable more fxp chip variants but warn that they are UNTESTED.
2004-04-20Remove stray white spaces.Ralf Corsepius1-19/+19
2004-03-312004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-17/+17
* libchip/ide/ata.c, libchip/network/dec21140.c, libchip/network/elnk.c, libchip/network/i82586.c, libchip/network/if_fxp.c, libchip/network/if_fxpvar.h, libchip/network/open_eth.c, libchip/network/sonic.c, libchip/rtc/icm7170.c, libchip/serial/ns16550.c, libchip/serial/z85c30.c, libchip/shmdr/cnvpkt.c, libchip/shmdr/init.c, libchip/shmdr/intr.c, libchip/shmdr/shm_driver.h: Cosmetics.
2004-03-232004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-1/+1
* libchip/ide/ata.c, libchip/ide/ata_internal.h, libchip/ide/ide_controller.c, libchip/ide/ide_ctrl_cfg.h, libchip/ide/ide_ctrl_io.h, libchip/network/cs8900.c, libchip/network/dec21140.c, libchip/network/elnk.c, libchip/network/if_fxp.c, libchip/network/open_eth.c, libchip/network/open_eth.h, libchip/network/sonic.c, libchip/network/sonic.h, libchip/rtc/icm7170.c, libchip/rtc/icm7170.h, libchip/rtc/icm7170_reg.c, libchip/rtc/icm7170_reg2.c, libchip/rtc/icm7170_reg4.c, libchip/rtc/icm7170_reg8.c, libchip/rtc/m48t08.c, libchip/rtc/m48t08.h, libchip/rtc/m48t08_reg.c, libchip/rtc/m48t08_reg2.c, libchip/rtc/m48t08_reg4.c, libchip/rtc/m48t08_reg8.c, libchip/rtc/rtc.h, libchip/serial/mc68681.c, libchip/serial/mc68681.h, libchip/serial/mc68681_reg.c, libchip/serial/mc68681_reg2.c, libchip/serial/mc68681_reg4.c, libchip/serial/mc68681_reg8.c, libchip/serial/ns16550.c, libchip/serial/ns16550_p.h, libchip/serial/serial.h, libchip/serial/z85c30.c, libchip/serial/z85c30.h, libchip/serial/z85c30_p.h, libchip/serial/z85c30_reg.c, libchip/shmdr/addlq.c, libchip/shmdr/cnvpkt.c, libchip/shmdr/dump.c, libchip/shmdr/fatal.c, libchip/shmdr/getlq.c, libchip/shmdr/init.c, libchip/shmdr/initlq.c, libchip/shmdr/intr.c, libchip/shmdr/poll.c, libchip/shmdr/send.c, libchip/shmdr/shm_driver.h: Convert to using c99 fixed-size types.
2003-07-252003-07-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-12/+12
* network/if_fxp.c: Replace deprecated b* funcs by mem* funcs.
2003-02-202003-02-20 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill1-5/+21
PR 354/networkign * network/if_fxp.c (Intel eepro network driver): re-enabled the chip against a table of supported chips. The untested ones are still commented out, however.
2002-07-162002-07-16 Eric Norum <eric.norum@usask.ca>Joel Sherrill1-0/+2294
* New driver for the Intel EtherExpressPro (82559ER) chip. * network/if_fxp.c, network/if_fxpreg.h, network/if_fxpvar.h, network/pci.h: New file. * network/Makefile.am: Modified to reflect above.