Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: user/jchandra/…
Commits on Mar 26, 2012
  1. Resource allocation for XLP SoC SDHCI slots

    jchandra authored
    The on-chip SD slots do not have PCI BARs corresponding to them, so
    this has to be handled in the custom SoC memory allocation.
    
    Provide memory resource for rids corresponding to BAR 0 and 1 in
    the custom allocation code.
Commits on Mar 24, 2012
  1. Update memory and resource allocation code for SoC devices

    jchandra authored
    The XLP on-chip devices have PCI headers, but some devices will
    need custom resource allocation code.
    - devices with no MEM/IO BARs with registers in PCIe extended reg
      space have to be handled in resource allocation
    - devices without INTPIN/INTLINE in PCI header can be supported
      by having these faked with a shadow register.
    - Some devices does not allow 8/16 bit access to the register space.
    
    Subclass pci and override attach and resource allocation methods to
    take care of this.
    
    Remove earlier code which did this partially.
Commits on Feb 27, 2012
  1. NOR flash driver for XLP

    jchandra authored
    The NOR interface on the SoC appears on the top level PCI bus. Add
    a simple driver for this.
  2. Use DEVMETHOD_END

    jchandra authored
  3. CFI fixes for big endian architectures.

    jchandra authored
    The commands and responses are little-endian which has to be bswapped,
    while raw read of data need not be.
    
    Make the default cfi_read and cfi_write do 'htole', and provide a
    cfi_read_raw which is used for reading data.
  4. Move UART device to dev/ directory.

    jchandra authored
    Other drivers for the XLP SoC devices will be added here as well
Commits on Feb 23, 2012
  1. xlpge : driver for XLP network accelerator

    jchandra authored
    Features:
    - network driver for the four 10G interfaces and two management ports
      on XLP 8xx.
    - Support 4xx and 3xx variants of the processor.
    - Source code and firmware building for the 16 mips32r2 micro-code engines
      on the Network Accelerator.
    - Basic initialization code for Packet ordering Engine.
    
    Submitted by:	Prabhath Raman (prabhath at netlogicmicro com)
    		[with some fixups/refactoring by jchandra]
  2. Opencrypto driver for XLP Security and RSA/ECC blocks

    jchandra authored
    Support for the Security and RSA blocks on XLP SoC. Even though
    the XLP supports many more algorithms only the ones supported
    in OCF have been added.
    Submitted by:	Venkatesh J. V. (venkatesh at netlogicmicro com)
  3. Remove duplicate entry in XLP.hints

    jchandra authored
  4. Support for EEPROM and CPLD on XLP EVP boards.

    jchandra authored
    On XLP evaluation platform, the board information is stored
    in an I2C eeprom.  The network block configuration is available
    from a CPLD connected to the GBU (NOR flash bus). Add support
    for both of these.
  5. Simple driver for OpenCores I2C Bus Controller

    jchandra authored
    Polled driver for the OpenCores I2C bus.  This is used
    in the Netlogic XLP processors.
    
    Update XLP conf files to use this driver, and provide hints
    for i2c devices on XLP engineering boards.
    
    Submitted by:	kanthms at netlogicmicro com (earlier version)
  6. Move driver for DS1374 RTC to sys/dev/iicbus

    jchandra authored
    The earlier version of the driver was sys/mips/rmi/dev/iic/ds1374u.c
  7. XLP PCIe code update.

    jchandra authored
    - XLP supports hardware swap for PCIe IO/MEM accesses. Since we
      are in big-endian mode, enable hardware swap and use the normal
      bus space.
    - move some printfs to bootverbose, and remove others.
    - fix SoC device resource allocation code
    - Do not use '|' while updating PCIE_BRIDGE_MSI_ADDRL
    - some style fixes
  8. Update the L1D cache flush sequence when enabling threads

    jchandra authored
    Added more comments. This code is still experimental.
  9. Interrupt based message handling for XLP B0

    jchandra authored
    Fixup some style issues in the file as well.
  10. Support for XLP4xx and XLP 8xx B0 revision

    jchandra authored
    - Add 4xx processor IDs, add workaround in CPU detection code.
    - Update frequency detection code for XLP 8xx
    - Add setting device frequency code
    - Update processor ID checking code
  11. Fixes to the XLP startup code.

    jchandra authored
    Changes are:
    - Correct the order of calling init functions.
    - Fix up checking excluding reset area.
    - use correct mask for chip workaround
Commits on Feb 21, 2012
  1. @kostikbel

    Fix found places where uio_resid is truncated to int.

    kostikbel authored
    Add the sysctl debug.iosize_max_clamp, enabled by default. Setting the
    sysctl to zero allows to perform the SSIZE_MAX-sized i/o requests from
    the usermode.
    
    Discussed with:	bde, das (previous versions)
    MFC after:	1 month
Commits on Feb 20, 2012
  1. Document the fact that getgrouplist(3) returns 0 on success.

    pjd authored
    MFC after:	3 days
  2. @cbrueffer

    Add oce(4) to the hardware notes.

    cbrueffer authored
    MFC after:	3 days
  3. Remove redundant forward declaration of struct ieee80211com.

    ray authored
    Approved by:	bschmidt
  4. @ghelmer

    Set the O_CLOEXEC flag when opening the pidfile to avoid leaking the

    ghelmer authored
    file descriptor via exec(3).
    
    Now that daemon(8) has been fixed to resolve the issue noted by trociny,
    the consensus is that this change should be OK.
  5. @cbrueffer
  6. Remove an unnecessary cast.

    kevlo authored
  7. @delphij
  8. If nested scheme allows dump kernel to its partition, we may allow

    ae authored
    dump for the parent partition too.
    
    MFC after:	2 weeks
  9. Add alias for the partition type 0x0f. Now "ebr" name is used for both

    ae authored
    types 0x05 and 0x0f, but 0x05 is preferred and used when partition is
    created with "gpart add -t ebr ...".
    This should keep EBR partitions accessible after r231754 for those,
    who have EBR on the partition with type 0x0f.
  10. Break out the radar code into a separate source file.

    adrian authored
    This mirrors the internal HAL organisation and reduces the differences
    between the HAL codebases slightly.
    
    Obtained from:	Atheros
  11. @delphij
  12. @delphij

    Use uprintf instead of printf for the reason why a kernel module can not

    delphij authored
    be loaded.  This way, the administrator can get response immediately from
    the shell session rather than relying on dmesg.
    
    MFC after:	1 month
Commits on Feb 19, 2012
  1. - Trim empty lines resulting in bad rendering, EOL whitespaces

    pluknet authored
    - Convert to our standard SYNOPSIS language
    - Consistently use "The .Nm driver"
    - Rewrite .nf .fi block with mdoc
    - Add pci dependency to SYNOPSIS
    - Start .Bl list with new paragraph
    
    Approved by:	luigi
  2. Probe the National DP83849, which is a dual-port version of the PHYTER.

    marius authored
    Obtained from:	NetBSD
  3. - Probe BCM57780.

    marius authored
    - In case the parent is bge(4), don't set the Jumbo frame settings unless
      the MAC actually is Jumbo capable as otherwise the PHY might not have the
      corresponding registers implemented. This is also in line with what the
      Linux tg3 driver does.
    
    PR:		165032
    Submitted by:	Alexander Milanov
    Obtained from:	OpenBSD
    MFC after:	3 days
  4. @trociny

    If permitted protect the supervisor against pageout kill.

    trociny authored
    Suggested by:	Andrey Zonov <andrey zonov org>
    MFC after:	2 weeks
  5. @trociny

    Add -r option to restart the program if it has been terminated.

    trociny authored
    Suggested by:	Andrey Zonov <andrey zonov org>
    MFC after:	2 weeks
Something went wrong with that request. Please try again.