Commit Graph

91 Commits

Author SHA1 Message Date
phx
20d6d7ec56 Disable CFI in the GENERIC kernel again, as currently only cmdset 1.3
is supported, which is not present in all flash chips.
Add lmtemp(4), an LM75 temperature sensor, which is found in some
Synology NAS models.
2015-09-30 14:22:02 +00:00
phx
a18983d513 double vlan pseudo-device removed 2015-09-21 23:31:41 +00:00
phx
4b0f549af2 Enable cfi/nor/flash devices as reading from flash seems to work now. 2015-09-07 23:01:08 +00:00
manu
239cf5506d Remove unused extended attributes kernel options
As Masao Uebayashi pointed to me, UFS_EXTATTR_AUTOSTART, LFS_EXTATTR_AUTOSTART
and UFS_EXTATTR_AUTOCREATE are not used anywhere in the code. Remove them
as they have been obsolete for a long time:
UFS_EXTATTR_AUTOSTART was replaced by mount -o extattr
LFS_EXTATTR_AUTOSTART was created to match obsolete UFS_EXTATTR_AUTOSTART
UFS_EXTATTR_AUTOCREATE was replaced by sysctl vfs.ffs.extattr_autocreate
2014-11-16 16:01:39 +00:00
manu
2cab231d44 Support for UFS1 extended attributes in GENERIC and GENERIC-like kernels
This change just brings UFS1 extended attribute *support* in the kernel,
extended attributes are not enabled unless three conditions are met:
1) filesystem is UFS1 (newfs -O1)
2) .attribute/system and .attribute/user directories are created at fs root
3) filesystem is mounted with -o extattr

Some GENERIC kernels are obviously memory constrained, the extended
attributes options were not enabled for them, but just added commented out.
(kernel were considered memory constrained if QUOTA option was disabled)
2014-11-12 10:47:20 +00:00
christos
c7032b5d9a Disable BSDLABEL and MBR DKWEDGE methods again since sysinst does not work
with wedges.
2014-09-19 15:24:24 +00:00
jnemeth
ee79d5b0e4 Create an "options MODULAR_DEFAULT_AUTOLOAD" config option and add
it to all kernel configs that contain "options MODULAR".  This
option turns on module autoloading by default (which is the current
default).  This allows people who don't want module autoloading on
by default to disable it by simply removing/commentting this line.
2014-08-24 07:59:22 +00:00
dholland
4acb6306f5 Systematize (and in many cases, fix) the comments on options COMPAT_NN.
There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
2014-08-23 20:26:56 +00:00
christos
409d07743a - Enable Wedge support for MBR/BSDLABEL where it was commented out.
- Add apple partition support where it was missing
- Add comments where missing
2014-08-18 06:31:24 +00:00
apb
30a0368950 Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
2014-08-16 17:56:30 +00:00
phx
005f3fb199 Enabled SYSV* options, which all ports have (and which is needed by 3rd
party software like SANE, e.g.).
Added ugen*.
2014-03-05 14:13:20 +00:00
rmind
666e919182 G/C PFIL_HOOKS from the kernel configs. 2013-06-30 21:38:55 +00:00
christos
e46f5f0078 remove obsolete networking options 2013-06-05 23:07:59 +00:00
christos
1cc8b68d4b the bogus number police 2013-04-27 21:43:10 +00:00
christos
dc14ae835f remove confusing numeric locators where they are unused. 2013-04-27 18:19:19 +00:00
christos
2c1aa36c3d Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it. 2013-03-02 02:42:07 +00:00
joerg
e240adbd0b Retire OSI network stack. OK core@ 2013-03-01 18:25:13 +00:00
apb
f3929b106b Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
2012-10-17 14:48:07 +00:00
phx
e1294fc1b4 Add driver for ATAPI disk drives. 2012-04-29 15:59:32 +00:00
joerg
99c3eea80c P1003_1B_SEMAPHORE is no longer optional. 2012-03-10 21:51:48 +00:00
nisimura
44b18f23bb - nuke commented-out SYMTAB_SPACE directive since this port has a
companion bootloader which is capable of loading a plain ELF kernel
  and accompanying ELF symbol table.
- remove fxp(4) from GENERIC as no known NAS has the device.
2012-02-22 12:36:14 +00:00
phx
31deee1300 Add support for ATAPI CD/DVD drives as well. 2012-02-11 12:31:47 +00:00
phx
78d2a3b33a Enable support for USB CD/DVD drives. OK releng@. 2012-02-10 21:09:19 +00:00
phx
f47439529e Removed duplicate bridge(4) device. Insert blank after viaide(4).
Some more restructuring.
2012-01-23 14:13:51 +00:00
phx
6ec57fac94 Restructured, based on macppc and ofppc.
Added some new options and pseudo-devices.
2012-01-23 01:58:54 +00:00
phx
e569b3f6a8 New device nhpow(4) to support the onboard GPIO pins on a NH230/231 board for
buttons, powerdown, reset, LEDs and fan control. It attaches gpio(4) for
its 8 pins on demand.
2012-01-14 19:39:25 +00:00
phx
57fa1ff5e0 Disable flash device unless nor(4) is not finished.
Add pcf8563rtc(4) for NH230/231.
2012-01-07 20:51:23 +00:00
phx
3fe734233d Add a workaround for the VT6410 IDE controller on the Iomega Storcenter.
Its interrupt cannot be disabled and remains asserted during the whole
device probing procedure, causing an interrupt storm.
This was fixed by establishing an edge-triggered interrupt for it, so it
will trigger only once during probing.
This workaround makes the WDC_NO_IDS option obsolete, which was removed
from the GENERIC config.
2011-12-28 20:33:20 +00:00
dholland
7bbf82b772 WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
2011-12-18 05:49:22 +00:00
phx
9a274f082f Added NOR flash driver, using nor(4) and flash(4). 2011-12-17 20:20:37 +00:00
tls
8a012bd83f The rnd pseudo-device is not really optional, because it is in the same
source file as the entropy-pool code itself.  Move it to std.  This
will be cleaned up more when I split the sources up as they should be.

This fixes build breaks on several ports.  Thanks to Havard Eidnes for
pointing them out.
2011-11-22 21:25:05 +00:00
phx
9117e0918e Add viaide for Iomega Storcenter, although a VT6410 driver still needs to
be written.
2011-08-11 20:56:34 +00:00
phx
fbb77c10f3 Enable strtc(4). Should theoretically work.
It works indeed for my DSM-G600 after I removed the battery. But there
must be something which confuses the chip later on...
2011-04-11 18:02:11 +00:00
phx
e08320b5eb Enable all known RTC drivers. The correct RTC will automatically be chosen as
an I2C device, depending on the NAS model.
2011-04-06 18:12:15 +00:00
phx
e821698c19 More networking options. 2011-03-20 17:10:46 +00:00
phx
f96a3d06f6 Add ral(4) and stge(4) for DLink DSM-G600.
Disabled DIAGNOSTIC.
2011-03-19 16:05:35 +00:00
bouyer
063f96f3c2 merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
2011-03-06 17:08:10 +00:00
phx
0b5b6e489b uvideo works, so include it 2011-02-13 20:37:26 +00:00
nisimura
0bc06ff35b add Dallas I2C RTC driver for StorCenter, leaving it commented out for now. 2011-02-07 12:51:18 +00:00
phx
c6e30a94f2 Add some USB devices, which I tested successfully.
Replace tab by blank after a device name, where it was forgotten.
2011-01-15 23:06:07 +00:00
nisimura
30ae008b2a step forward to MODULAR sandpoint kernel. disabled until all work gets done. 2011-01-11 13:29:09 +00:00
phx
167fe0b1f6 Removed double WAPBL option. Fixed typo. 2010-08-07 19:18:04 +00:00
phx
9daf9967b6 Add file system snapshot device. 2010-06-30 17:49:32 +00:00
phx
39b0fd3abd The sandpoint port is now focussed on 824x based NAS boxes.
Replaced GENERIC by GENERIC.NAS.
Added INSTALL_KURO for KuroBox.
GENERIC.NAS and RAMDISK are no longer needed.
2010-06-09 17:34:32 +00:00
phx
b2b23a924e Excluded KUROBOX from GENERIC.NAS because console is on a different port.
Add INET6 option to GENERIC(.NAS).
Build KUROBOX kernel together with GENERIC and GENERIC.NAS.
Patch submitted by Toru Nishimura.
2010-05-17 22:52:17 +00:00
phx
9ff7077053 Synology boxes need sk(4), not msk(4). 2010-05-08 18:03:15 +00:00
pooka
70d4493c77 Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs.  User functionality remains the same.
2009-12-05 20:11:01 +00:00
nisimura
17c789b4ca - use options PIC_MPCSOC to replace PIC_OPENPIC. 2009-08-19 06:28:06 +00:00
mrg
c6a4afa995 add COMPAT_50 to all the configs with COMPAT_40. 2009-01-24 05:06:05 +00:00
ad
6ba528b5bc Remove softdep, pass 1. We are focused on improving journalling.
Proposed on tech-kern@.
2008-11-24 11:41:07 +00:00