summaryrefslogtreecommitdiffstats
path: root/c/src/libchip/network/if_fxp.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* if_fxp.c: Add prototype of rtems_fxp_attach()Joel Sherrill2017-04-201-0/+3
|
* if_fxp.c: Remove unused variableJoel Sherrill2017-04-201-1/+1
|
* libchip/network/if_fxp.c: do not use rtems_interrupt_disable.Pavel Pisa2016-10-171-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.
* classic networking: adapt FXP driver to work with actual PCI and IRQ code.Pavel Pisa2016-09-211-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
* classic networking: do not reference BSP_irq_enabled_at_i8259s which is no ↵Pavel Pisa2016-09-201-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.
* pc386: Eliminate pcibios.h and begin removal obsolete PCI BIOS API usesJoel Sherrill2016-03-101-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.
* libchip/network/if_fxp.c: Do not use rtems_clock_get()Joel Sherrill2015-03-171-1/+1
|
* libnetworking: Use system eventsSebastian Huber2012-11-021-1/+1
| | | | | | | Add reserved system events RTEMS_EVENT_SYSTEM_NETWORK_SBWAIT and RTEMS_EVENT_SYSTEM_NETWORK_SOSLEEP. Add and use rtems_bsdnet_event_send().
* Fixed race condition during startup.Sebastian Huber2012-01-311-12/+14
|
* 2011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-091-1/+1
| | | | * libchip/network/if_fxp.c: Add missing initializer.
* Convert to "bool".Ralf Corsepius2008-09-071-3/+3
|
* 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-11-261-10/+10
| | | | * libchip/network/if_fxp.c: Spacing.
* 2007-03-31 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-03-311-3/+3
| | | | | * libchip/network/dec21140.c, libchip/network/if_dc.c, libchip/network/if_fxp.c: Reflect changes to pci-API.
* Use ioctl_command_t as ioctl argument.Ralf Corsepius2006-12-141-2/+2
|
* Include <errno.h> instead of <sys/errno.h>.Ralf Corsepius2005-09-191-1/+1
|
* 2005-08-18 Karel Gardas <kgardas@objectsecurity.com>Joel Sherrill2005-08-221-10/+0
| | | | | * libchip/network/if_fxp.c, libchip/network/if_dc.c, libchip/network/dec21140.c: Remove initialization of PCI bus.
* 2005-07-18 Karel Gardas <kgardas@objectsecurity.com>Joel Sherrill2005-07-181-1/+1
| | | | | * libchip/network/if_fxp.c: Change status of PCI Id 0x1229 from UNTESTED to tested.
* 2005-05-17 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett2005-05-171-1/+1
| | | | | * ChangeLog, libchip/network/if_fxp.c, libchip/serial/ns16550.c: Modified to use rtems/irq.h.
* 2005-05-06 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett2005-05-061-1/+1
| | | | | * libchip/network/dec21140.c, libchip/network/elnk.c, libchip/network/if_fxp.c: Moved irq.h to bsp subdirectory.
* 2005-05-03 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett2005-05-031-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-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-03-141-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-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-03-041-1/+1
| | | | | * libchip/network/dec21140.c, libchip/network/if_fxp.c: Make PCI initialize function part of the unified PCI API as pci_initialize().
* Add another module ID code.Eric Norum2004-11-291-0/+1
|
* Add line suggested by "Eugene Denisov" <dea@sendmail.ru>.Eric Norum2004-10-111-0/+6
| | | | Prevents lockup at initialization.
* 2004-07-25 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2004-07-251-1/+2
| | | | * libchip/network/if_fxp.c: Add include of <sys/errno.h>.
* 2004-05-21 Till Strauman <strauman@slac.stanford.edu>Joel Sherrill2004-05-211-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.
* Remove stray white spaces.Ralf Corsepius2004-04-201-19/+19
|
* 2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-03-311-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-23 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-03-231-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-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-07-251-12/+12
| | | | * network/if_fxp.c: Replace deprecated b* funcs by mem* funcs.
* 2003-02-20 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-02-201-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-16 Eric Norum <eric.norum@usask.ca>Joel Sherrill2002-07-161-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.