aboutsummaryrefslogtreecommitdiff
path: root/sys/gnu
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert and redo r306083.Warner Losh2016-09-22512-11759/+18383
| | | | | | | | | | | | | Update the device tree source files to a Linux 4.7-RC. The dts tree currently can't be merged w/o specific revisions. Note: due to a stupid bug in the commit checking script, I couldn't just remove the svn:keyword tag from the new files, I had to add fbsd:nokeywords to all the files (including ones that didn't need it) Notes: svn path=/head/; revision=306197
* Update the device tree source files to a Linux 4.7-RC.Andrew Turner2016-09-21194-626/+32603
| | | | | | | | MFC after: 2 weeks Sponsored by: ABT Systems Ltd Notes: svn path=/head/; revision=306083
* Revert changes for local testing, inadvertantly commited in r300811.Ian Lepore2016-05-261-9/+0
| | | | Notes: svn path=/head/; revision=300812
* Add a PPS driver that takes the timing pulse from a gpio pin. CurrentlyIan Lepore2016-05-261-0/+9
| | | | | | | | supports only ofw/fdt systems. Some day, hinted attachment for non-fdt systems should be possible too. Notes: svn path=/head/; revision=300811
* Bring ralink/mediatek DTS files in sync with LEDEStanislav Galabov2016-05-25114-125/+127
| | | | | | | | | | This is the last sync with LEDE Project dts files before 11.0. Obtained from: LEDE Project Sponsored by: Smartcom - Bulgaria AD Notes: svn path=/head/; revision=300658
* [bwn] convert another PHY-N workaround to the freebsd bwn format.Adrian Chadd2016-05-231-8/+4
| | | | | | | | | These were hidden behind an #ifdef that we weren't setting. I don't have the hardware in question to check. Notes: svn path=/head/; revision=300448
* [bwn] typo.Adrian Chadd2016-05-191-1/+1
| | | | Notes: svn path=/head/; revision=300193
* [bwn] disable rfon checks so the 2056/2057 radios are programmed.Adrian Chadd2016-05-191-2/+8
| | | | | | | | | | | | This was the big missing piece for getting the BCM94322MC NIC to work at all. Tested: * BCM4322, STA mode (2g, 5g) Notes: svn path=/head/; revision=300192
* [bwn] improve N-PHY debuggability a little bit.Adrian Chadd2016-05-191-5/+14
| | | | Notes: svn path=/head/; revision=300191
* [bwn] add opt_wlan.h and opt_bwn.h to each of the phy_n source files.Adrian Chadd2016-05-196-0/+17
| | | | Notes: svn path=/head/; revision=300190
* Kill off ReiserFS as it is no longer supported, for obvious reasons.George V. Neville-Neil2016-05-1713-6308/+0
| | | | Notes: svn path=/head/; revision=300062
* [bwn] add initial bwn(4) N-PHY code, ported from Linux b43.Adrian Chadd2016-05-1713-0/+26868
| | | | | | | | | | | | | | | | | | | | | This is a GPLv2 PHY-N implementation based on the Linux b43 driver, ported over to work in bwn(4). I've tested this on the BCM4321 11abgn device, in 11bg and 11a modes. The b43 PHY code only supports 11abg, no 11n, and 20MHz only wide channels. Yes, this is a GPLv2 driver, so it won't be included in the default builds. Tested: * BCM4321 11abgn device (Apple!), 11bg and 11a STA mode. Obtained from: Linux b43 Notes: svn path=/head/; revision=300016
* Import LEDE dts files for Ralink/MediatekStanislav Galabov2016-05-17199-9495/+10339
| | | | | | | | | | | | | | | | | | | | | | | | | This is an import of the reworked LEDE dts files. Besides other things they make it easier for us to reuse. The only diffs left are for the following SoCs: MT7620A (fbsd-mt7620a.dtsi) MT7621 (fbsd-mt7621.dtsi) MT7628 (fbsd-mt7628an.dtsi) RT3883 (fbsd-rt3883.dtsi) So we include the fbsd-*.dtsi files at the end of the original LEDE dtsi files, using '#include "fbsd-xxxx.dtsi"'. For example, for MT7621, the LEDE dtsi file is mt7621.dtsi. At the end of it we add: #include "fbsd-mt7621.dtsi" Approved by: adrian (mentor) Obtained from: LEDE project Sponsored by: Smartcom - Bulgaria AD Differential Revision: https://reviews.freebsd.org/D6394 Notes: svn path=/head/; revision=300013
* Change OpenWRT imported dtsi filesStanislav Galabov2016-04-209-9/+9
| | | | | | | | | | | | | | | | | Change '#include <fbsd-*>' to '/include/ "fbsd-*"' in [rm]t*.dtsi Basically the pre-import work on OpenWRT's dts/dtsi files boils down to: for f in `ls [mr]t*.dtsi`; do printf '\n/include/ "fbsd-$f"\n' >> $f done Approved by: adrian (mentor) Sponsored by: Smartcom - Bulgaria AD Differential Revision: https://reviews.freebsd.org/D5993 Notes: svn path=/head/; revision=298345
* Import Mediatek/Ralink dts files from OpenWRTStanislav Galabov2016-04-16192-0/+23011
| | | | | | | | | | | | | | | | | Import original OpenWRT dts files after executing the following script on them: for f in `ls [mr]t*.dtsi`; do printf "\n#include <fbsd-$f>\n" >> $f done Approved by: adrian (mentor) Obtained from: OpenWRT Sponsored by: Smartcom - Bulgaria AD Differential Revision: https://reviews.freebsd.org/D5971 Notes: svn path=/head/; revision=298128
* Update our copy of the Linux dts files to be in sync with Linux 4.5-rc1. WeAndrew Turner2016-02-091018-19701/+128148
| | | | | | | | | | now uave a full copy of the arm device tree sources to help when adding support for newer boards. Sponsored by: ABT Systems Ltd Notes: svn path=/head/; revision=295436
* Fixing a memory leak on module unloading.Tai-hwa Liang2015-09-111-0/+1
| | | | | | | MFC after: 3 weeks Notes: svn path=/head/; revision=287698
* Using consistent coding style to deal with error inside the loop.Tai-hwa Liang2015-08-181-2/+2
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=286888
* The GNU Amlogic DTS files have some errors (e.g. bad registerGanbold Tsagaankhuu2015-04-113-11/+20
| | | | | | | | | | | | | address, bad IRQ, etc) which are fixed by this patch. John has sent these changes to the author of the files who said he'll propagate the changes further upstream. Submitted by: John Wehle Reviewed by: imp Notes: svn path=/head/; revision=281412
* File names with commas in them cause issues for freebsd-update. WeWarner Losh2015-03-1279-12867/+0
| | | | | | | | | | | don't actually use these files at the moment, so eliminate them until we actually do. In the mean time, freebsd-update will be updated to eliminate the issues. Requested by: cperciva Notes: svn path=/head/; revision=279902
* Merge latest (commit c8c1b3a77934768c7f7a4a9c10140c8bec529059) filesWarner Losh2015-02-28923-2019/+209531
| | | | | | | | | | | | | from the git tree. This merges a lot that we're not using, but there's too many files to be selective and have a hope of catching everything. If there are conflicts with the rest of the tree, we'll resolve them on a case by case basis. MFC after: 2 weeks Sponsored by: Netflix, Inc. Notes: svn path=/head/; revision=279385
* reiserfs: Use signed i_nlinkPedro F. Giffuni2014-09-251-1/+1
| | | | | | | | | | Unlike Linux, FreeBSD's kernel doesn't like unsigned file link count. This is consistent with our ext2fs implementation. MFC after: 1 month Notes: svn path=/head/; revision=272126
* Merge forgotten .h files from vendor branch.Warner Losh2014-09-055-0/+5177
| | | | Notes: svn path=/head/; revision=271151
* Reimport dts files from vendor repo now that it has been properlyWarner Losh2014-09-04181-0/+38860
| | | | | | | trimmed. Notes: svn path=/head/; revision=271143
* Delete old arm dts tree. This was created by cherry picking from aWarner Losh2014-09-0476-11013/+0
| | | | | | | | | full vendor tree. This worked great until it was time to update, but now it is time to update. Hit the rest button by removing this branch and re-adding it by a full copy of whatever is in the vendor tree. Notes: svn path=/head/; revision=271140
* Update bindings to latest vendor branch representing 3.17-rc2 level ofWarner Losh2014-09-0468-44/+4836
| | | | | | | Linux DTS API. Notes: svn path=/head/; revision=271133
* New DTS files to suppport the SAM9260EK eval board. Derived, in part,Warner Losh2014-08-191-0/+217
| | | | | | | from the SAM9G20EK dts files (so that file is GPL'd). Notes: svn path=/head/; revision=270161
* Revert r269528; this was not the right way to bring these changes in.Ian Lepore2014-08-052-258/+1
| | | | Notes: svn path=/head/; revision=269609
* Bring in the latest standard defines for imx6 clocks referenced in dts files.Ian Lepore2014-08-042-1/+258
| | | | Notes: svn path=/head/; revision=269528
* Symbolic bindings for the dts files...Warner Losh2014-02-2848-0/+5919
| | | | Notes: svn path=/head/; revision=262610
* Add missing skeleton file.Warner Losh2014-02-281-0/+13
| | | | Notes: svn path=/head/; revision=262609
* Add skeleton.dtsi and update to new place in tree.Warner Losh2014-02-282-2/+3
| | | | Notes: svn path=/head/; revision=262608
* These file have a, possibly dubious, GPL claim. Until that's sorted, move to ↵Warner Losh2014-02-2876-0/+10883
| | | | | | | gnu. Notes: svn path=/head/; revision=262606
* Garbage collect XFS bits which are now already completely disconnectedAttilio Rao2013-03-02164-108070/+0
| | | | | | | | | from the tree since few months. This is not targeted for MFC. Notes: svn path=/head/; revision=247631
* r16312 is not any longer real since many years (likely since when VFSAttilio Rao2012-11-191-7/+0
| | | | | | | | | | | | | received granular locking) but the comment present in UFS has been copied all over other filesystems code incorrectly for several times. Removes comments that makes no sense now. Reviewed by: kib MFC after: 3 days Notes: svn path=/head/; revision=243311
* Complete MPSAFE VFS interface and remove MNTK_MPSAFE flag.Attilio Rao2012-11-091-1/+0
| | | | | | | | Porters should refer to __FreeBSD_version 1000021 for this change as it may have happened at the same timeframe. Notes: svn path=/head/; revision=242833
* Add an unified macro to deny ability from the compiler to reorderAttilio Rao2012-10-092-5/+1
| | | | | | | | | | | | | instruction loads/stores at its will. The macro __compiler_membar() is currently supported for both gcc and clang, but kernel compilation will fail otherwise. Reviewed by: bde, kib Discussed with: dim, theraven MFC after: 2 weeks Notes: svn path=/head/; revision=241374
* Add VFCF_READONLY flag that indicates ntfs and xfs file systems areKevin Lo2012-09-121-1/+1
| | | | | | | only supported as read-only. Notes: svn path=/head/; revision=240379
* Partially revert r239959, after actually fixing most of the clangDimitry Andric2012-09-025-8/+6
| | | | | | | | | | | | | warnings in sys/gnu/fs/xfs. The only warnings that still need to be suppressed are those about array bound overruns of flexible array members in xfs_dir2_{block,sf}.c, which are too expensive (in terms of cascading code changes) to fix. MFC after: 1 week X-MFC-With: r239959 Notes: svn path=/head/; revision=240011
* Just like the other file systems found in /sys/fs, g_vfs_open()Tai-hwa Liang2012-08-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | should be paried with g_vfs_close(). Though g_vfs_close() is a wrapper around g_wither_geom_close(), r206130 added the following test in g_vfs_open(): if (bo->bo_private != vp) return (EBUSY); Which will cause a 'Device busy' error inside reiserfs_mountfs() if the same file system is re-mounted again after umount or mounting failure: (case 1, /dev/ad4s3 is not a valid REISERFS partition) # mount -t reiserfs -o ro /dev/ad4s3 /mnt mount: /dev/ad4s3: Invalid argument # mount -t msdosfs -o ro /dev/ad4s3 /mnt mount: /dev/ad4s3: Device busy (case 2, /dev/ad4s3 is a valid REISERFS partition) # mount -t reiserfs -o ro /dev/ad4s3 /mnt # umount /mnt # mount -t reiserfs -o ro /dev/ad4s3 /mnt mount: /dev/ad4s3: Device busy On the other hand, g_vfs_close() 'fixed' the above cases by doing an extra step to keep 'sc->sc_bo->bo_private' and 'cp->private' pointers synchronised. Reviewed by: kib MFC after: 1 month Notes: svn path=/head/; revision=238980
* Fix build:Xin LI2012-05-231-2/+2
| | | | | | | | | | - Use %ll instead of %q for explicit long long casts; - Use %j instead of %q in XFS and cast to intmax_t. Tested with: make universe Notes: svn path=/head/; revision=235822
* Remove unused thread argument to vrecycle().Edward Tomasz Napierala2012-04-231-3/+1
| | | | | | | Reviewed by: kib Notes: svn path=/head/; revision=234607
* Make ReiserFS MPSAFEJean-Sébastien Pédron2012-03-271-3/+11
| | | | | | | | | Most functions seemed to be already fine w.r.t. what's done in msdosfs. MFC after: 1 month Notes: svn path=/head/; revision=233575
* Remove fifo.h. The only used function declaration from the header isKonstantin Belousov2012-03-111-2/+0
| | | | | | | | | migrated to sys/vnode.h. Submitted by: gianni Notes: svn path=/head/; revision=232821
* Use new OSS-based BSD-licensed header for cs sound driver.Pedro F. Giffuni2012-02-011-341/+0
| | | | | | | | | | | | | | | | | | | | The cs driver requires a table with firmware values. An alternative firmware is available in a similar Open Sound System driver. This is actually a partial revert of Revision 77504. Special thanks to joel@ for patiently testing several replacement attempts. The csa driver and the complete sound system are now free of the GPL. Tested by: joel Approved by: jhb (mentor) MFC after: 3 weeks Notes: svn path=/head/; revision=230897
* Replace GPLd headers from the Maestro3 driver with BSD licensedPedro F. Giffuni2012-01-202-906/+0
| | | | | | | | | | | | | | | | | | | | versions derived from /usr/ports/audio/oss. The particular headers used were taken from the attic/drv/oss_allegro directory and are mostly identical to the previous files. The Maestro3 driver is now free from the GPL. NOTE: due to lack of testers this driver is being considered for deprecation and removal. PR: kern/153920 Approved by: jhb (mentor) MFC after: 2 weeks Notes: svn path=/head/; revision=230401
* Make sure all intermediate variables holding mount flags (mnt_flag)Kirk McKusick2012-01-171-1/+1
| | | | | | | | | | and that all internal kernel calls passing mount flags are declared as uint64_t so that flags in the top 32-bits are not lost. MFC after: 2 weeks Notes: svn path=/head/; revision=230249
* Convert files to UTF-8Ulrich Spörlein2012-01-1512-13/+13
| | | | Notes: svn path=/head/; revision=230132
* Replace GPL'd headers in the emu10kx snd driver code.Pedro F. Giffuni2012-01-113-2015/+0
| | | | | | | | | | | | | | | | | This uses the emuxkireg.h already used in the emu10k1 snd driver. Special thanks go to Alexander Motin as he was able to find some errors and reverse engineer some wrong values in the emuxkireg header. The emu10kx driver is now free from the GPL. PR: 153901 Tested by: mav, joel Approved by: jhb (mentor) MFC after: 2 weeks Notes: svn path=/head/; revision=229981
* Use strchr() and strrchr().Ed Schouten2012-01-021-2/+1
| | | | | | | | | | | It seems strchr() and strrchr() are used more often than index() and rindex(). Therefore, simply migrate all kernel code to use it. For the XFS code, remove an empty line to make the code identical to the code in the Linux kernel. Notes: svn path=/head/; revision=229272