Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (21m)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (177d) 

2024-05-09 23:00:24 UTC Now

2013-09-08 04:07:46 UTC MAIN commitmail json YAML

Improve phy_init a little.  Still doesn't work.

(matt)

2013-09-08 04:06:44 UTC MAIN commitmail json YAML

2013-09-08 03:17:02 UTC MAIN commitmail json YAML

Remove extra debug message.

(msaitoh)

2013-09-08 01:29:42 UTC MAIN commitmail json YAML

Add more nand #define's

(matt)

2013-09-08 01:01:33 UTC MAIN commitmail json YAML

Move interrupts back to IPL_USB

(matt)

2013-09-08 00:55:25 UTC MAIN commitmail json YAML

Make sure to actual push the configuration of the GPIO to its registers.
With this change, USB now works.

(matt)

2013-09-08 00:05:27 UTC MAIN commitmail json YAML

Add mii support and some initialization.

(matt)

2013-09-08 00:04:33 UTC MAIN commitmail json YAML

2013-09-08 00:03:59 UTC MAIN commitmail json YAML

Add mii attr to ethernet devices

(matt)

2013-09-08 00:03:40 UTC MAIN commitmail json YAML

2013-09-07 23:47:34 UTC MAIN commitmail json YAML

correct a typo in awin_gpio_pin_ctl that would have prevented configuring output pins

(jmcneill)

2013-09-07 23:10:03 UTC MAIN commitmail json YAML

Add a machdep.hwdiv_present sysctl (cortex A7 and A15 have hwdiv instructions)

(matt)

2013-09-07 22:52:12 UTC MAIN commitmail json YAML

2013-09-07 22:51:41 UTC MAIN commitmail json YAML

Simplify USB initialization.

(matt)

2013-09-07 22:51:03 UTC MAIN commitmail json YAML

start adding NFC registers
fix AWIN_AHB_GATING0_USB_OHCI0

(matt)

2013-09-07 19:53:24 UTC MAIN commitmail json YAML

Fix a typo in a comment.

(matt)

2013-09-07 19:48:57 UTC MAIN commitmail json YAML

Add more initialization code for AHCI and USB.
Alas, neither still is coming up.

(matt)

2013-09-07 19:47:28 UTC MAIN commitmail json YAML

Finish off GPIO handler.  Add hook for other driver to access a named gpio.
Add two input gpio's for usb0.

(matt)

2013-09-07 19:06:29 UTC MAIN commitmail json YAML

2013-09-07 18:55:29 UTC MAIN commitmail json YAML

apply changes from Robert Sprowson in PR 47765 and PR 47788:
- make sure we wait long enough after resetting the chip.
- add the necessary delay after changing the FIFO pointer.
- add a missing interrupt ACK.
- fix padding of short and odd-length packets.

and a few more changes from me:
- do 2-byte writes in most places even if SMC91CXX_NO_BYTE_WRITE
  is not defined.  the only ones still conditionalized are
  writing to the interrupt ack/mask registers.
- the only big-endian front-end of this driver (on mac68k) uses
  a bus_space that does all the byte-swapping in that layer,
  so remove the explicit byte-swapping in the MI part.

tested on mac68k.

(chs)

2013-09-07 18:17:35 UTC MAIN commitmail json YAML

2013-09-07 17:58:00 UTC MAIN commitmail json YAML

Add an initial console device and open fd's 0/1/2 for initproc.  This is
again useful in standalone-type environments such as Xen, where all
printf/etc calls go through the rump kernel.

(pooka)

2013-09-07 17:30:22 UTC netbsd-5 commitmail json YAML

2013-09-07 17:23:55 UTC MAIN commitmail json YAML

Add forgotten xsh device.

(rkujawa)

2013-09-07 17:23:39 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by he in ticket #1872):
sys/arch/i386/stand/lib/bootmenu.c: revision 1.11 via patch
sys/arch/i386/stand/lib/bootmenu.h: revision 1.3 via patch
sys/arch/i386/stand/boot/boot2.c: revision 1.59 via patch
Two changes for the i386 boot loader related to the boot menu which
can be defined in boot.cfg:
* Add a "menu" command which re-displays the menu and initiates
  the timed countdown
* Use any default command defined in boot.cfg as default args
  if the user runs "boot" with no arguments
This is useful in circumstances where you e.g. need to interrupt
the normal boot process to switch to serial console, and where
simply "boot netbsd" is no longer sufficient (e.g. as with install
media which needs the miniroot kernel module loaded).

(bouyer)

2013-09-07 17:19:19 UTC netbsd-5-2 commitmail json YAML

2013-09-07 17:19:02 UTC netbsd-5-1 commitmail json YAML

2013-09-07 17:18:37 UTC netbsd-5-2 commitmail json YAML

doc/3RDPARTY patch
share/zoneinfo/africa patch
share/zoneinfo/asia patch
share/zoneinfo/australasia patch
share/zoneinfo/europe patch
share/zoneinfo/iso3166.tab patch
share/zoneinfo/southamerica patch
share/zoneinfo/zone.tab patch

Import tzdata2013d from
    ftp://ftp.iana.org/tz/releases/tzdata2013d.tar.gz
Summary of changes from tzdata2013c to tzdata2013d:
  Changes affecting current and future time stamps:
    Morocco's midsummer transitions this year are July 7 and August 10,
    not July 9 and August 8.  (Thanks to Andrew Paprocki.)

    Israel now falls back on the last Sunday of October.
    (Thanks to Ephraim Silverberg.)

  Changes affecting past time stamps:
    Specify Jerusalem's location more precisely; this changes the
    pre-1880 times by 2 s.

  Changing affecting metadata only:
    Fix typos in the entries for country codes BQ and SX.

  Changes affecting documentation and commentary:
    Deemphasize the significance of national borders.

    Update the zdump man page.

    Remove obsolete NOID comment (thanks to Denis Excoffier).

    Update several URLs and comments in the web pages.

    Spelling fixes (thanks to Kevin Lyda and Jonathan Leffler).

    Update URL for CLDR Zone->Tzid table (thanks to Yoshito Umaoka).
[apb, ticket #1870]

(bouyer)

2013-09-07 17:18:25 UTC netbsd-5-1 commitmail json YAML

doc/3RDPARTY patch
share/zoneinfo/africa patch
share/zoneinfo/asia patch
share/zoneinfo/australasia patch
share/zoneinfo/europe patch
share/zoneinfo/iso3166.tab patch
share/zoneinfo/southamerica patch
share/zoneinfo/zone.tab patch

Import tzdata2013d from
    ftp://ftp.iana.org/tz/releases/tzdata2013d.tar.gz
Summary of changes from tzdata2013c to tzdata2013d:
  Changes affecting current and future time stamps:
    Morocco's midsummer transitions this year are July 7 and August 10,
    not July 9 and August 8.  (Thanks to Andrew Paprocki.)

    Israel now falls back on the last Sunday of October.
    (Thanks to Ephraim Silverberg.)

  Changes affecting past time stamps:
    Specify Jerusalem's location more precisely; this changes the
    pre-1880 times by 2 s.

  Changing affecting metadata only:
    Fix typos in the entries for country codes BQ and SX.

  Changes affecting documentation and commentary:
    Deemphasize the significance of national borders.

    Update the zdump man page.

    Remove obsolete NOID comment (thanks to Denis Excoffier).

    Update several URLs and comments in the web pages.

    Spelling fixes (thanks to Kevin Lyda and Jonathan Leffler).

    Update URL for CLDR Zone->Tzid table (thanks to Yoshito Umaoka).
[apb, ticket #1870]

(bouyer)

2013-09-07 17:17:36 UTC netbsd-5 commitmail json YAML

doc/3RDPARTY patch
share/zoneinfo/africa patch
share/zoneinfo/asia patch
share/zoneinfo/australasia patch
share/zoneinfo/europe patch
share/zoneinfo/iso3166.tab patch
share/zoneinfo/southamerica patch
share/zoneinfo/zone.tab patch

Import tzdata2013d from
    ftp://ftp.iana.org/tz/releases/tzdata2013d.tar.gz
Summary of changes from tzdata2013c to tzdata2013d:
  Changes affecting current and future time stamps:
    Morocco's midsummer transitions this year are July 7 and August 10,
    not July 9 and August 8.  (Thanks to Andrew Paprocki.)

    Israel now falls back on the last Sunday of October.
    (Thanks to Ephraim Silverberg.)

  Changes affecting past time stamps:
    Specify Jerusalem's location more precisely; this changes the
    pre-1880 times by 2 s.

  Changing affecting metadata only:
    Fix typos in the entries for country codes BQ and SX.

  Changes affecting documentation and commentary:
    Deemphasize the significance of national borders.

    Update the zdump man page.

    Remove obsolete NOID comment (thanks to Denis Excoffier).

    Update several URLs and comments in the web pages.

    Spelling fixes (thanks to Kevin Lyda and Jonathan Leffler).

    Update URL for CLDR Zone->Tzid table (thanks to Yoshito Umaoka).
[apb, ticket #1870]

(bouyer)

2013-09-07 17:11:30 UTC netbsd-5 commitmail json YAML

2013-09-07 17:10:18 UTC netbsd-5 commitmail json YAML

sys/dev/pci/if_wm.c 1.246-1.247, 1.249-1.258
sys/dev/pci/if_wmreg.h 1.51, 1.53
sys/dev/pci/if_wmvar.h 1.15-1.16
sys/dev/pci/pcidevs 1.1152-1.1153
sys/dev/pci/pcidevs.h regen
sys/dev/pci/pcidevs_data.h regen

Add I21[0178] support.
Fix a bug that wm_attach() may fail on some PCH2 or newer system.
wm_valid_nvm_bank_detect_ich8lan() misunderstood the NVM's bank
number. Fixes PR#47878.
Fix a bug that the check of reset complete fails on Intel 8 series
with "wm_lan_init_done: lan_init_done failed to complete" message.
The broken code was used for ICH8, 9... and PCH2.
The wm_linkintr_gmii() function is called from interrupt. That's
not tick, so call mii_pollstat() instead of mii_tick().
Add ECC support for the packet buffer. Only 82571 and I21[78] support
ECC.
Fix a bug that wrong semaphore is used in wm_gmii_hv_{read,write}reg.
Add comments, fix some comments, use macros and remove trailing
whitespaces.
[msaitoh, ticket #1867]

(bouyer)

2013-09-07 16:56:48 UTC netbsd-6-1 commitmail json YAML

2013-09-07 16:55:44 UTC netbsd-6-1 commitmail json YAML

Welcome to 6.1.1_PATCH.

(bouyer)

2013-09-07 16:55:04 UTC netbsd-6-1 commitmail json YAML

2013-09-07 16:47:23 UTC MAIN commitmail json YAML

2013-09-07 16:44:29 UTC netbsd-6-0 commitmail json YAML

2013-09-07 16:44:13 UTC netbsd-6 commitmail json YAML

tickets 930 931 932 933 934 935 937 938 939

(bouyer)

2013-09-07 16:43:48 UTC MAIN commitmail json YAML

2013-09-07 16:41:08 UTC netbsd-6 commitmail json YAML

2013-09-07 16:40:25 UTC netbsd-6 commitmail json YAML

2013-09-07 16:39:32 UTC netbsd-6 commitmail json YAML

sys/dev/pci/if_bge.c 1.203-1.237, 1.239-1.241, 1.243-1.258 via patch
sys/dev/pci/if_bgereg.h 1.58-1.74, 1.76-1.83 via patch
sys/dev/pci/if_bgevar.h 1.10-1.16 via patch
sys/dev/pci/pcidevs 1.1149 via patch
sys/dev/pci/pcidevs.h regen
sys/dev/pci/pcidevs_data.h regen
sys/dev/mii/brgphy.c 1.61-1.63, 1.65, 1.67 via patch
sys/dev/mii/miivar.h 1.61 via patch
sys/dev/mii/miidevs 1.112-1.113 via patch
sys/dev/mii/miidevs.h regen
sys/dev/mii/miidevs_data.h regen
share/man/man4/bge.4 1.13-1.15 via patch

Add some device support, fix a lot of bugs and add some enahcements.
- Add Altima AC1003, APPLE BCM5701, Broadcom BCM5785F,
  BCM5785G, BCM5787F, BCM5719, BCM5720, BCM57766, BCM57782 and BCM57786.
- brgphy(4): Add BCM5756, BCM5717C, BCM5719C, BCM5720C and BCM57780.
- Add some bugfixes and enhancement from FreeBSD:
  - Workaround for BCM5906 silicon bug. When auto-negotiation results in
  half-duplex operation, excess collision on the ethernet link may
  cause internal chip delays that may result in subsequent valid
  frames being dropped due to insufficient receive buffer resources.
  (FreeBSD: r214219, r214251, r214292)
  - Allow write DMA to request larger DMA burst size to get better
  performance on BCM5785.
  (FreeBSD r213333: OpenBSD 1.294)
  - Enable TX MAC state machine lockup fix for both BCM5755 or higher
  and BCM5906. Publicly available data sheet just says it may happen
  due to corrupted TxMbuf.
  (FreeBSD r214216)
  - Follow Broadcom datasheet:
  Delay 100 microseconds after enabling transmit MAC.
  Delay 10 microseconds after enabling receive MAC.
  (FreeBSD r241220)
- Insert the completion barrier between register write and the
  consecutive delay(). It will fix some device timeout problems
  we have seen before.
- Add DELAY(40) after turning on write DMA state machine.
- Add some workarounds for 5717 A0 and 5776[56] to be stable.
  From Linux tg3 driver.
- Sync with *BSD. No functional change:
  - make bge_chipid() and use it.
  - use switch() instead of a lot of if()s.
- Check BGE_RXBDFLAG_IPV6 flag for 5717_PLUS case.
  Note that {tcp,udp}6csum flag is currently not added in the
  capability.
- Add delay after clearing BGE_MACMODE_TBI_SEND_CFGS for the link
  checking.  FreeBSD has the same delay().
- Rename PHY related flags for the consistency. It's the same as
  FreeBSD.
- Remove BGE_10_100_ONLY flag because this was not used.
  For 10/100 devices, when calling mii_attach(), mask BMSR_EXTSTAT
  flag to not to check Gigabit flags. It's the same as FreeBSD.
- In brgphyattach(), set sc_isbge, sc_isbnx and sc_phyflags before
  PHY_RESET() because brgphy_reset() refers those flags.
- Call brgpy specific autonego function in MII_TICK. Before this commit,
  only MII_MEDIACHG calls brgphy_mii_phy_auto() and MII_TICK calls MI
  mii_phy_auto(). That was not intended.
- Sync with FreeBSD and OpenBSD. Almost the same as OpenBSD rev. 1.325:
  - Sync the ring setup code closer to FreeBSD's driver
  - Do not touch the jumbo replenish threshold register on chips that
    do not have jumbo support
- Wait for the bootcode to complete initialization for 5717 and newer
  devices.  See BCM5718 programmer's guide's "step 13,
  Device reset Procedure, Section7".
  57781's document has the same note.
- 5718 and 57785 document say we should wait 100us.
- Change the order of register settings a little to match both
  Broadcom's document and Linux tg3.
- Add detach function.
- Fix a bug that chips which have BCM5906 ASIC touch GPIO wrongly.
- Fix a bug that the NVRAM lock timeout occured on sparc64 onboard bge.
- Check BGE_SGDIG_STS when the chip is NOT a 5717 A0, like freebsd
  (OpenBSD rev. 1.327).
- Fix the setting of Tx Random Backoff Register.
- Add BGE_PCIMISCCTL_PCISTATE_RW in BGE_INIT. It's required to set the
  PCISTATE register correctly.
- Update comments from 57XX-PG105-R.pdf and 5718-PG106-R.pdf.
- Add missing bus_dmamap_sync() in bge_intr(). The status word is
  in DMAed area. Same as other *BSDs.
- Check the hardware config words and print them. This change only
  read them and print the values.
- Set BGE_MISC_CTL's byte/word swap options before using
  bge_readmem_ind().
- For BGE_IS_575X_PLUS() devices, don't set
  BGE_RXLPSTATCONTROL_DACK_FIX bits because these bits are reserved.
- bge_init_tx_ring() uses BGE_RSLOTS (==256) but bge_free_tx_ring() uses
  BGE_TX_RING_CNT (== 512). Delete BGE_RSLOTS and use BGE_TX_RING_CNT.
  Same as OpenBSD's if_bge.c rev. 1.86.
- Document says 5717 and newer chips have no
  BGE_PCISTATE_INTR_NOT_ACTIVE bit, so don't use the bit on those
  chips. Same as OpenBSD.
- Fix a bug that the PHY address bits in MI_MODE register is wrongly
  cleard.  Set the PHY address correctly.
- Use BGE_SETBIT() instead of CSR_WRITE_4() for the BGE_MISC_LOCAL_CTL
  register to not to modify some GPIO bits.
- Call bge_poll_fw() before writing BGE_MODE_CTL register like the
  latest linux tg3 dirver.
- Set DMA watermark depend on the PCI max payload size.
- Add BGE_JUMBO_CAPABLE flag to some chips. With this commit, 5714,
  5780, 5717, 5718, 5719 (exclude rev. A0), 5720, 57765 and 57766 are
  added to support jumbo frame.
- Fix the setting of sc->bge_flags for 5717 and newer devices.
- Fix a link detect bug on non-autopoll systems. Same as OpenBSD
  (rev.1.329 and 1.336) and FreeBSD (r213710).
- 57765 series is not based on 5717 series. 5717 series is based on
  57765 series.
- Set the TX DMA segment size based on the MTU size.
- Change the TX ring size for 5717 series and 57764 series.
- For 57766, set BGE_RDMAMODE_JMB_2K_MMRR for non-jumbo frame.
  Same as Linux tg3.
- For 57765 and newer devices, set BGE_MAX_RX_FRAME_LOWAT to 1.
  This value is recommended by the document.
- Change sysctl related functions for consistency.
- Style change.
- Use macro. Remove duplicated macro. Remove unused variable.
- Fix comments. Add comments.
- Remove extra semicolon. Remove unused code.
[msaitoh, ticket #939]

(bouyer)

2013-09-07 16:39:15 UTC MAIN commitmail json YAML

Reload the full device descriptor after re-establishing the default pipe
with the new address.

Some HCDs, e.g. dwc2, need wMaxPacketSize to be the value returned from
the device to complete transfers after the set address.  Opening the pipe
again gives the HCD access to the correct value.

(skrll)

2013-09-07 16:28:35 UTC netbsd-6 commitmail json YAML

external/ibm-public/postfix/dist/HISTORY patch
external/ibm-public/postfix/dist/src/global/mail_version.h patch
external/ibm-public/postfix/dist/src/smtp/smtp_connect.c patch
external/ibm-public/postfix/dist/src/smtp/smtp_reuse.c patch
external/ibm-public/postfix/dist/src/tls/tls_misc.c patch
external/ibm-public/postfix/dist/src/trivial-rewrite/resolve.c patch
external/ibm-public/postfix/dist/src/util/exec_command.c patch

Update postfix to 2.8.15, fixing several bugs
[tron, ticket #938]

(bouyer)

2013-09-07 16:23:24 UTC netbsd-6 commitmail json YAML

2013-09-07 16:22:29 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by dholland in ticket #937):
sys/dev/usb/u3g.c: revision 1.30
sys/dev/usb/usbdevs: revision 1.653
PR/48172: Reinhard Speyerer: u3g(4): add 4G Systems XS Stick W14 support

(bouyer)

2013-09-07 16:17:12 UTC MAIN commitmail json YAML

Deal with control transfers better by

- removing the UHCI_PTR_VF flag for the setup and status stages
  which means they are scheduled less aggressively.  Some devices
  appear to require this (blymn@ has one).  The flag was
  introduced as a performance improvement for bulk transfers.

- Checking for short reads and making sure the status stage runs
  if they're encountered.

PR/47522 Enumeration of LUFA/Atmel devices on UHCI fails

Thanks to jak@ and blymn@ for testing and mlelstv@ for comments.

(skrll)

2013-09-07 16:16:10 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by rkujawa in ticket #935):
sys/arch/amiga/amiga/amiga_init.c: revision 1.127
sys/arch/m68k/m68k/pmap_motorola.c: revision 1.66
Set user page table base address dynamically on amiga. This unbreaks =
machines
with large Zorro III I/O spaces. Patch originally by Michael L. Hitch.
Test on an A4000.
=20
=20

(bouyer)

2013-09-07 16:16:00 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by rkujawa in ticket #935):
sys/arch/amiga/amiga/amiga_init.c: revision 1.127
sys/arch/m68k/m68k/pmap_motorola.c: revision 1.66
Set user page table base address dynamically on amiga. This unbreaks =
machines
with large Zorro III I/O spaces. Patch originally by Michael L. Hitch.
Test on an A4000.
=20
=20

(bouyer)

2013-09-07 16:11:41 UTC netbsd-6 commitmail json YAML

Apply patch, requested by joerg in ticket #934:
lib/libc/locale/global_locale.c: patch
provide consistent and correct data for the C locale.

(bouyer)

2013-09-07 16:08:28 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by hannken in ticket #933):
sys/nfs/nfs_bio.c: revision 1.189
Function nfs_vinvalbuf() ignores errors from vinvalbuf() and therefore
delayed write errors may get lost.
Change nfs_vinvalbuf() to keep errors from vinvalbuf() for fsync() or =
close().
=20
Presented on tech-kern@
=20
Fix for PR kern/47980 (NFS over-quota not detected if utimes() called
before fsync()/close())
=20
=20

(bouyer)

2013-09-07 16:08:20 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by hannken in ticket #933):
sys/nfs/nfs_bio.c: revision 1.189
Function nfs_vinvalbuf() ignores errors from vinvalbuf() and therefore
delayed write errors may get lost.
Change nfs_vinvalbuf() to keep errors from vinvalbuf() for fsync() or =
close().
=20
Presented on tech-kern@
=20
Fix for PR kern/47980 (NFS over-quota not detected if utimes() called
before fsync()/close())
=20
=20

(bouyer)

2013-09-07 16:08:13 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by hannken in ticket #933):
sys/nfs/nfs_bio.c: revision 1.189
Function nfs_vinvalbuf() ignores errors from vinvalbuf() and therefore
delayed write errors may get lost.
Change nfs_vinvalbuf() to keep errors from vinvalbuf() for fsync() or =
close().
=20
Presented on tech-kern@
=20
Fix for PR kern/47980 (NFS over-quota not detected if utimes() called
before fsync()/close())
=20
=20

(bouyer)

2013-09-07 16:05:59 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by kardel in ticket #932):
sys/dev/pci/mpii.c: revision 1.2
sys/dev/pci/mpii.c: revision 1.3
Allow 8 luns instead of 1. This enables access to the changer device on
a Dell PV-124T:
ch0 at scsibus0 target 9 lun 1: <DELL, PV-124T, 0086> changer removable
ch0: 16 slots, 1 drive, 1 picker, 0 portals
fix issues when reading variable block sized tapes.
symptoms:
        generic HBA error on console when reading
        with a larger blocksize. blocks read
        are padded to requested block size with
        a 5a... a5... pattern.
problems fixed:
        - controller scsi_status values did not match
          the ones used by the spsipi layer.
          a mapping function was introduced.
        - when experiencing an underrun (read 64k and
          get a 63k block) the controller posted
          not a SUCCESS status but CHECK status. handle
          that like SUCCESS adjusting xs->resid and set
          XS_SENSE.
          now the correct data amount is returned and
          nothing is 'added' and no 'generic HBA error'
          occurs.
        - make decisions using variables and constants
          from the controller domain.

(bouyer)

2013-09-07 16:01:28 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #931):
sys/dev/pci/virtio.c: revision 1.4
Make sure to check if the driver has a valid intr handler in virtio_detach().
Fixes a panic during shutdown on KVM under ubuntu 13.04 with virtio,
as reported in PR kern/48105 by Richard Hansen.
Should be pulled up to netbsd-6 branches.

(bouyer)

2013-09-07 16:01:25 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #931):
sys/dev/pci/virtio.c: revision 1.4
Make sure to check if the driver has a valid intr handler in virtio_detach().
Fixes a panic during shutdown on KVM under ubuntu 13.04 with virtio,
as reported in PR kern/48105 by Richard Hansen.
Should be pulled up to netbsd-6 branches.

(bouyer)

2013-09-07 16:01:03 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #931):
sys/dev/pci/virtio.c: revision 1.4
Make sure to check if the driver has a valid intr handler in virtio_detach().
Fixes a panic during shutdown on KVM under ubuntu 13.04 with virtio,
as reported in PR kern/48105 by Richard Hansen.
Should be pulled up to netbsd-6 branches.

(bouyer)

2013-09-07 15:58:31 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by reinoud in ticket #930):
sys/fs/udf/udf_allocation.c: revision 1.34
Fix 32 bit issue in main file read-in function. On both 32 bit and 64 bit
hosts a missing cast would result in `garbage' after the 4Gbyte limit.

(bouyer)

2013-09-07 15:58:15 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by reinoud in ticket #930):
sys/fs/udf/udf_allocation.c: revision 1.34
Fix 32 bit issue in main file read-in function. On both 32 bit and 64 bit
hosts a missing cast would result in `garbage' after the 4Gbyte limit.

(bouyer)

2013-09-07 15:57:35 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by reinoud in ticket #930):
sys/fs/udf/udf_allocation.c: revision 1.34
Fix 32 bit issue in main file read-in function. On both 32 bit and 64 bit
hosts a missing cast would result in `garbage' after the 4Gbyte limit.

(bouyer)

2013-09-07 15:56:11 UTC MAIN commitmail json YAML

2013-09-07 10:46:18 UTC MAIN commitmail json YAML

2013-09-07 10:45:53 UTC MAIN commitmail json YAML

usb irq handler should be IPL_SCHED

(jmcneill)

2013-09-07 09:22:37 UTC MAIN commitmail json YAML

Disable USE_ARM_SIMD for now. It crashes Xorg.

(skrll)

2013-09-07 03:34:59 UTC MAIN commitmail json YAML

Change two KASSERTs to KASSERTMSG

(matt)

2013-09-07 03:34:20 UTC MAIN commitmail json YAML

2013-09-07 02:46:26 UTC MAIN commitmail json YAML

Only configure awiniic0 for now

(matt)

2013-09-07 02:46:06 UTC MAIN commitmail json YAML

correct twi -> awiniic entries

(matt)

2013-09-07 02:36:59 UTC MAIN commitmail json YAML

Add an INSTALL kernel for CUBIEBOARD

(matt)

2013-09-07 02:34:01 UTC MAIN commitmail json YAML

2013-09-07 02:32:53 UTC MAIN commitmail json YAML

Allow either ohci or ehci to be missing.

(matt)

2013-09-07 02:10:37 UTC MAIN commitmail json YAML

Make sure to turn on the phys and clocks and crap.

(matt)

2013-09-07 02:10:02 UTC MAIN commitmail json YAML

Move awin_ahci_set_clear to awin_var.h and rename to awin_reg_set_clear.

(matt)

2013-09-07 02:09:24 UTC MAIN commitmail json YAML

2013-09-07 02:08:56 UTC MAIN commitmail json YAML

2013-09-07 01:50:12 UTC MAIN commitmail json YAML

This uses an EDGE interrupt. (D'oh)

(matt)

2013-09-07 01:42:44 UTC MAIN commitmail json YAML

2013-09-07 00:35:53 UTC MAIN commitmail json YAML

2013-09-07 00:33:32 UTC MAIN commitmail json YAML

Remove brain fart with TTBCR

(matt)

2013-09-07 00:32:54 UTC MAIN commitmail json YAML

Add CPU_ID_CORTEXA7R0 entry

(matt)

2013-09-07 00:32:33 UTC MAIN commitmail json YAML

fix CPU_ID_CORTEXA7R0

(matt)

2013-09-07 00:32:02 UTC MAIN commitmail json YAML

2013-09-07 00:31:11 UTC MAIN commitmail json YAML

call pmap_devmap before awin_bootstrap.
Don't copy bootargs yet.

(matt)

2013-09-07 00:30:17 UTC MAIN commitmail json YAML

Make sure the core register are mapped PA:VA too.

(matt)

2013-09-07 00:29:22 UTC MAIN commitmail json YAML

Add AWIN_CONSOLE_EARLY and comment out sdhc

(matt)

2013-09-06 22:56:47 UTC MAIN commitmail json YAML

Use KERNEL_BASE_PHYS for load and entry addresses for u-boot.

(matt)

2013-09-06 21:25:34 UTC MAIN commitmail json YAML

Fix INTEGRATOR build.

(skrll)

2013-09-06 17:54:09 UTC MAIN commitmail json YAML

document MD ways to access private data for some platforms

(yamt)

2013-09-06 17:43:20 UTC MAIN commitmail json YAML

2013-09-06 11:15:14 UTC MAIN commitmail json YAML

2013-09-06 09:43:32 UTC MAIN commitmail json YAML

Improve the #ifdefs

"it's not worse." from matt@

(skrll)

2013-09-06 05:50:22 UTC MAIN commitmail json YAML

2013-09-06 00:56:13 UTC MAIN commitmail json YAML

2013-09-05 22:28:57 UTC MAIN commitmail json YAML

Make sc_started bool and true/false instead of 1/0

(matt)

2013-09-05 21:00:15 UTC MAIN commitmail json YAML

Implement __negative_p without floating-point arithmetic, using
a solution proposed by jxh on Stack Overflow.  Fixes the second
half of PR lib/48131.

While there, simplify __type_fit_u by using the same logic
as in __type_fit_s.

ok christos@

(gsutre)

2013-09-05 20:49:25 UTC MAIN commitmail json YAML

2013-09-05 20:25:27 UTC MAIN commitmail json YAML

2013-09-05 17:35:11 UTC MAIN commitmail json YAML

Avoid strict-alias problem flagged by certain compilers (e.g. Centos one):
libc/gen/utmpx.c:89: error: dereferencing pointer 'otv' does break strict-aliasing rules

reviewed by Christos (thanks!)

(pooka)

2013-09-05 15:28:07 UTC MAIN commitmail json YAML

Pull across some linux header files from riastradh-drm2, but put them
in a shared location.

Riastradh: nick, OK.

(skrll)

2013-09-05 13:56:12 UTC MAIN commitmail json YAML

Do a better job of matching some linux APIs. Still not quite working.

(skrll)

2013-09-05 12:23:07 UTC MAIN commitmail json YAML

In fd_abort(), reset ff_exclose to preserve invariants expected by fd_free()

(pooka)

2013-09-05 12:22:10 UTC MAIN commitmail json YAML

socket(-1, SOCK_CLOEXEC, 0); followed by the process exiting (i.e.
fd slot does not get initiailized before fd_free()) cases a diagnostic
kernel panic.

(pooka)

2013-09-05 11:34:40 UTC MAIN commitmail json YAML

Fix
/var/log/httpd/access.log  644  52  *  $W0D23 ZBP /var/run/httpd.pid 30
newsyslog: config line 16: bad signal type
(strtol: **endptr is '\0' on success rather than *endptr)

(prlw1)

2013-09-05 09:03:13 UTC MAIN commitmail json YAML

Check for overflow in __type_fit_s when casting to intmax_t.
Fixes the first half of PR lib/48131.

ok christos@

(gsutre)

2013-09-05 09:01:27 UTC MAIN commitmail json YAML

Fix two tests for typefit: constants larger than LLONG_MAX
do not fit in a signed long long.

(gsutre)

2013-09-05 07:09:33 UTC MAIN commitmail json YAML

2013-09-05 07:09:14 UTC MAIN commitmail json YAML

2013-09-05 07:08:09 UTC MAIN commitmail json YAML

2013-09-05 07:06:37 UTC MAIN commitmail json YAML

2013-09-05 05:16:08 UTC MAIN commitmail json YAML

Use __ARM_EABI__ and new __UNWIND_TABLES__ to decide when to use .cfi ops

(matt)

2013-09-05 05:15:47 UTC MAIN commitmail json YAML

2013-09-05 00:28:11 UTC MAIN commitmail json YAML

mips .eh_frame is writable

(matt)

2013-09-05 00:27:38 UTC MAIN commitmail json YAML

bic sp not allowed in thumb (even with thumb2)

(matt)

2013-09-04 23:08:29 UTC MAIN commitmail json YAML

2013-09-04 22:59:50 UTC MAIN commitmail json YAML

allow compile-time overriding of BOZO_WRSZ/MMAPSZ parameters

(pooka)

2013-09-04 22:38:09 UTC MAIN commitmail json YAML

Fix build by matching .cfi/#if.

(htodd)

2013-09-04 21:17:15 UTC MAIN commitmail json YAML

only emit cfi if __ARM_EABI__ && __UNWIND_TABLES__

(matt)

2013-09-04 20:02:10 UTC MAIN commitmail json YAML

Don't ring the terminal bell if the user forward-searches for a string
that appears in the first displayed line.

This patch was supplied by M. Levinson in PR bin/45451.

(tron)

2013-09-04 19:51:37 UTC MAIN commitmail json YAML

Version 458 of less(1) was imported.

(tron)

2013-09-04 19:44:21 UTC MAIN commitmail json YAML

2013-09-04 17:56:08 UTC MAIN commitmail json YAML

Also create hw.pagesize, makes sysconf(_SC_PAGESIZE) return a more
sensible result.

(pooka)

2013-09-04 17:45:40 UTC MAIN commitmail json YAML

2013-09-04 17:39:02 UTC MAIN commitmail json YAML

2013-09-04 17:38:37 UTC MAIN commitmail json YAML

PR/48180: Christian Groessler: Support for Oxford Semi OXuPCI952 dual serial
PCI card

(christos)

2013-09-04 15:38:26 UTC MAIN commitmail json YAML

Add VAR_INTERNAL as a context for variables set by make itself,
which should not override those set by makefiles.
Currently MAKEFILE is the only variable affected.

Reviewed by: christos

(sjg)

2013-09-04 13:03:22 UTC MAIN commitmail json YAML

2013-09-04 10:17:58 UTC MAIN commitmail json YAML

2013-09-04 10:16:16 UTC MAIN commitmail json YAML

2013-09-04 09:14:57 UTC MAIN commitmail json YAML

establish intr handler before calling sdhc_host_found

(jmcneill)

2013-09-04 09:09:25 UTC MAIN commitmail json YAML

add missing call to ahci_attach at the end of awin_ahci_attach

(jmcneill)

2013-09-04 02:39:01 UTC MAIN commitmail json YAML

2013-09-03 21:32:21 UTC MAIN commitmail json YAML

+ don't rename rump_syscalls.*o
+ support RUMP_KERNEL_IS_LIBC

(pooka)

2013-09-03 21:30:43 UTC MAIN commitmail json YAML

2013-09-03 21:28:24 UTC MAIN commitmail json YAML

If RUMP_KERNEL_IS_LIBC is defined, alias the rump kernel syscalls to libc
syscall stub symbol names.  This allows running standalone programs in
OS-less environments such as directly on a Xen DomU backed only by a
libc and a rump kernel.

(pooka)

2013-09-03 20:54:03 UTC MAIN commitmail json YAML

Autogenerate rump_syscalls.c into the correct namespace, i.e. it no
longer needs to go through rename in the build.

(pooka)

2013-09-03 19:57:02 UTC MAIN commitmail json YAML

RUMPCOMP_USEROBJ -> RUMPOBJ_NORENAME

Widens the implied usage scope of the variable.

(pooka)

2013-09-03 19:55:13 UTC MAIN commitmail json YAML

Don't autogenerate the wrapper that is called from the rump kernel
local syscall entry points.  The wrapper is now so big that it doesn't
get inlined (original intent for having it close to the entry points),
and autogenerating a regular function just loses in flexibility.

(pooka)

2013-09-03 18:02:26 UTC MAIN commitmail json YAML

2013-09-03 18:01:33 UTC MAIN commitmail json YAML

2013-09-03 15:32:55 UTC MAIN commitmail json YAML

no EFR on tl16c750, use AFE bit on MCR reg instead for flow control

(jmcneill)

2013-09-03 14:54:00 UTC MAIN commitmail json YAML

Use CPPFLAGS.src and not COPTS.src to override -std=c++11 flag. The
latter doesn't help make depend.

(joerg)

2013-09-03 13:21:53 UTC MAIN commitmail json YAML

Fix debug build by adding cgram.debug.

(htodd)

2013-09-03 08:44:45 UTC MAIN commitmail json YAML

print an error if we failed to allocate.

(christos)

2013-09-03 06:12:00 UTC MAIN commitmail json YAML

2013-09-03 04:02:13 UTC MAIN commitmail json YAML

2013-09-03 02:25:36 UTC MAIN commitmail json YAML

Teach this to print FS_SUJ (and FS_GJOURNAL, whatever that is, as it
was missing for some reason) and cope with FS_INDEXDIRS not currently
being defined.

Since FS_SUJ actually appears in the wild, it's fairly important to
recognize it.

(dholland)

2013-09-03 02:24:01 UTC MAIN commitmail json YAML

Add the FS_SUJ flag for journaled softupdates from FreeBSD.

This conflicts with our flag for FS_INDEXDIRS. Apparently FreeBSD
changed that arbitrarily on their end when implementing journaled
softupdates, so follow their lead.

Unfortunately, the new value they use for FS_INDEXDIRS conflicts with
our flag FS_DOQUOTA2 for 64-bit quotas. Since the only thing in our
tree that knows about FS_INDEXDIRS is dumpfs (for printing it), leave
FS_INDEXDIRS commented out.

Also add FS_NFS4ACLS from FreeBSD, commented out because it conflicts
with our FS_DOWAPBL, and FS_TRIM.

(We could honor FS_TRIM as we have code for doing that; however I'm
not sure why FreeBSD chose to make it an on-disk flag instead of e.g.
a mount option and it seems problematic to me. In any case, not in
this commit.)

Also see a post I just made in tech-kern about the flag conflicts.

(dholland)

2013-09-03 00:30:20 UTC MAIN commitmail json YAML

2013-09-02 19:26:42 UTC MAIN commitmail json YAML

Do not apply shellErrFlag unless errCheck is true.

(sjg)

2013-09-02 15:48:08 UTC MAIN commitmail json YAML

Use C99 designated initializers.

(skrll)

2013-09-02 14:34:58 UTC MAIN commitmail json YAML

Update LLVM/Clang snapshot to r189662. This includes many improvements
to the new SLP vectorizer, fast codegen support for PPC and using
terminfo for the color sequences. In addition, add (optional) build
infrastructure for lld to allow easier testing. This is controlled by
MKLLD.

(joerg)

2013-09-02 12:27:18 UTC MAIN commitmail json YAML

Use C99 designated initializers.

(skrll)

2013-09-02 12:20:59 UTC MAIN commitmail json YAML

2013-09-02 08:37:12 UTC MAIN commitmail json YAML

Preserve -std=* options as they may change the dependency list.

(joerg)

2013-09-02 07:59:32 UTC MAIN commitmail json YAML

Missing alias for strerror_l.

(joerg)

2013-09-02 07:41:01 UTC MAIN commitmail json YAML

2013-09-02 07:39:03 UTC MAIN commitmail json YAML

PR/48172: Reinhard Speyerer: u3g(4): add 4G Systems XS Stick W14 support

(christos)

2013-09-02 07:24:17 UTC MAIN commitmail json YAML

2013-09-01 21:14:05 UTC MAIN commitmail json YAML

2013-09-01 18:37:23 UTC MAIN commitmail json YAML

2013-09-01 18:37:06 UTC MAIN commitmail json YAML

hook cgram to the build

(dholland)

2013-09-01 04:58:15 UTC MAIN commitmail json YAML

Add support 16750 64Byte FIFO.  But not test.

(kiyohara)

2013-09-01 04:51:24 UTC MAIN commitmail json YAML

2013-08-31 15:01:08 UTC MAIN commitmail json YAML

convert rfid to rfi in exception handlers.

(matt)

2013-08-31 12:26:56 UTC MAIN commitmail json YAML

md_root_setconf also depends on option MEMORY_DISK_DYNAMIC

(jmcneill)

2013-08-31 10:42:18 UTC MAIN commitmail json YAML

Bump the image size so that the contents fits again.  Kernel (at
least INSTALL32_IP3x) has big enough area already.

(he)

2013-08-31 07:33:15 UTC MAIN commitmail json YAML

Move the pmap_setup to the start oea_init (no non-OFW ports can use it).
If PPC_OEA64_BRIDGE is defined, add code so that when OEACPU_64_BRIDGE is not
present, it replaces the rfid with rfi and mfmsr/rldicl/mtmsrd sequence
with NOPs.  This allows plain OEA kernels to work.  (tested on PMPPC with
PPC_OEA64_BRIDGE option added).

(matt)

2013-08-30 21:29:29 UTC MAIN commitmail json YAML

Add CACHE_INFO_DCACHE_LINE_SIZE to assym.h

(matt)

2013-08-30 21:28:59 UTC MAIN commitmail json YAML

Use a constructor to get the cache_info.
However memset can be called before the constructor is called, just treat
those as simple fills.
Add CACHE_INFO_DCACHE_LINE_SIZE to assym.h and use it

(matt)

2013-08-30 20:57:26 UTC MAIN commitmail json YAML

move most of the header writing code from record.c into wav.c and sun.c.

introduce a struct write_info for communication between front ends and
backends.

libaudio API is still pretty ugly, and needs to stay local here for now,
but it is a little more usable for other tools now.

(mrg)

2013-08-30 16:43:33 UTC MAIN commitmail json YAML

Bump bootloader version for memory disk image changes.

(jmcneill)

2013-08-30 16:42:17 UTC MAIN commitmail json YAML

2013-08-30 16:24:06 UTC MAIN commitmail json YAML

Remove trailing whitespace in texi2dvi which confuses sed.

XXX pull up to 5, 6?

(riastradh)

2013-08-30 15:00:08 UTC MAIN commitmail json YAML

2013-08-30 12:59:19 UTC MAIN commitmail json YAML

Remove race introduced by using usbd_sync_transfer_sig with a callback
that use the xfer cv (or does wake up on the xfer). The xfer has likely
been freed or re-used.

While here update utoppy(4) to use usbd_sync_transfer_sig.

Fixes PR/48151

(skrll)

2013-08-30 12:58:22 UTC MAIN commitmail json YAML

Dounmount() violates the locking protocol for member v_mountedhere.
A vnode lock is required to access or modify this field.

Lock/unlock the vnode when clearing v_mountedhere.

Reviewed by: David Holland <dholland@netbsd.org>

Should fix PR #48135 (Bad locking for umount)

(hannken)

2013-08-30 11:10:35 UTC MAIN commitmail json YAML

2013-08-30 10:34:39 UTC MAIN commitmail json YAML

2013-08-30 10:33:11 UTC MAIN commitmail json YAML

There is absolutely no way that fexecve() could even theoretically work
in a rump kernel, so don't create a wrapper for that.

recv/sendmmsg(), however, can, so create wrappers for those.

(pooka)

2013-08-30 10:29:06 UTC MAIN commitmail json YAML

Rename RUMPTEST_BUILDSH to RUMPKERN_ONLY.  Turns out not building any
POSIX implementations of hypercalls is useful beyond the build.sh test,
such as when building rump kernels for non-POSIX hosts.

(pooka)

2013-08-30 10:13:39 UTC MAIN commitmail json YAML

PR/48164: BEAGLEBONE_INSTALL kernel not built with preferred ABI for
platform

(skrll)

2013-08-30 07:42:08 UTC MAIN commitmail json YAML

draft-gont-6man-ipv6-atomic-fragment-00 is now RFC 6949 (Loganaden Velvindron
logan at elandsys dot com)

(christos)

2013-08-30 07:35:44 UTC MAIN commitmail json YAML

Use __CTASSERT instead of handrolled version.

(dholland)

2013-08-30 07:30:50 UTC MAIN commitmail json YAML

more typos in comments

(dholland)

2013-08-30 07:25:43 UTC MAIN commitmail json YAML

2013-08-29 21:54:11 UTC MAIN commitmail json YAML

Make the rpi hwrng feed data to the entropy pool in a softint.

The two-lock scheme here is excessive but will do provisionally until
rnd(9) gets disentangled.

Tested by Aymeric Vincent.

(riastradh)

2013-08-29 20:02:35 UTC MAIN commitmail json YAML

New sentence, new line. Bump date for previous.

(wiz)

2013-08-29 17:49:21 UTC MAIN commitmail json YAML

2013-08-29 15:50:41 UTC MAIN commitmail json YAML

Use __BIT(), not __BITS() to define a single-bit mask.
From Dennis Ferguson in PR#48162.

(riz)

2013-08-29 15:46:17 UTC MAIN commitmail json YAML

2013-08-29 15:01:57 UTC MAIN commitmail json YAML

add stdint.h for FreeBSD compat.

(christos)

2013-08-29 14:58:56 UTC MAIN commitmail json YAML

use sysctl to find the pathname argv[0] if available (from FreeBSD via
Ed Maste)

(christos)

2013-08-29 14:25:41 UTC MAIN commitmail json YAML

Implement BPF_COP/BPF_COPX instructions in the misc category (BPF_MISC)
which add a capability to call external functions in a predetermined way.

It can be thought as a BPF "coprocessor" -- a generic mechanism to offload
more complex packet inspection operations.  There is no default coprocessor
and this functionality is not targeted to the /dev/bpf.  This is primarily
targeted to the kernel subsystems, therefore there is no way to set a custom
coprocessor at the userlevel.

Discussed on: tech-net@
OK: core@

(rmind)

2013-08-29 09:46:04 UTC MAIN commitmail json YAML

Fix build failed with ofppc.
  Move 'attach mvspi at mvsoc' to arch/arm/marvell/files.marvell.

(kiyohara)

2013-08-29 01:05:29 UTC MAIN commitmail json YAML

Mix in boot time (wherever we may find it).  Helps avoid predictable output
on young systems.

(tls)

2013-08-29 01:04:49 UTC MAIN commitmail json YAML

Fix rnd_add_* to conform to manual page: allow addition of entropy
with NULL source.

(tls)

2013-08-28 23:59:38 UTC rmind-smpnet commitmail json YAML

2013-08-28 23:40:43 UTC MAIN commitmail json YAML

Schedule the softint to run once when it's first registered.

(tls)

2013-08-28 21:56:50 UTC MAIN commitmail json YAML

2013-08-28 19:31:14 UTC MAIN commitmail json YAML

Comment on possible data-dependent branch in `!res'.

(riastradh)