dillo
d0c955805c
Remove hfsp directories, they have been reimported as hfs.
2007-03-06 11:31:21 +00:00
dillo
56c3e41252
Complete rename of hfsp to hfs, requested by thorpej.
2007-03-06 11:28:44 +00:00
dillo
abbfd8a897
LKM glue for Apple HFS+ file system.
2007-03-06 11:27:15 +00:00
dillo
9274a5c0f1
Integrate apmlabel and HFS+ file system.
2007-03-05 23:18:01 +00:00
dillo
3eb0182b68
LKM glue for Apple HFS+ file system.
2007-03-05 23:09:16 +00:00
ad
b07ec3fc38
Merge newlock2 to head.
2007-02-09 21:55:00 +00:00
elad
3dcf1cc6ec
Style nitz.
2007-02-05 17:36:12 +00:00
elad
6c98db2b70
Much cleaner, shorter, and simpler, skeleton for an LKM.
...
Not connected to the build.
2007-02-04 22:53:09 +00:00
elad
f053782e48
Make this compile.
2007-02-04 22:34:57 +00:00
elad
7f6d8c248b
Add LKM for secmodel_bsd44. Not linked to the build yet.
2007-01-17 11:28:09 +00:00
pooka
760e789bc2
build puffs lkm if MKPUFFS is set
2006-12-29 17:00:08 +00:00
pooka
380ec0e482
compile puffs_transport.c
2006-12-05 23:41:46 +00:00
christos
36534cb271
move USE_SSP=no one level up.
2006-11-11 22:38:38 +00:00
christos
31b7f8ae5f
Don't build lkms with SSP for now.
2006-11-11 21:35:45 +00:00
pooka
f212146148
make it possible to build & load puffs as an LKM
...
by Lubomir Kundrak, PR kern/35000
2006-11-06 11:44:54 +00:00
jmmv
8d45655462
Add a lkm for tmpfs. All the regression tests pass fine when using the
...
module rather than an in-core build.
2006-11-05 22:42:14 +00:00
cube
11b4b910d2
Make pn_family static.
2006-10-04 21:47:56 +00:00
cube
818a5cb153
Re-arrange probing to match the new way. I apologise for forgetting about
...
the LKM.
While there, rename 'rval' as 'pn_family', and make it a global variable.
The k[78]_powernow_destroy() functions have never been called because of
that...
2006-10-04 21:47:29 +00:00
xtraeme
94e721817e
Back out linux_ptrace.c changes, looks like they were removed with
...
a reason in the past.
2006-09-25 10:55:54 +00:00
xtraeme
8de009a612
linux_ptrace.c is not available in all archs, only in powerpc, arm,
...
mips and i386... make it so.
Patch from Kurt Schreiner.
2006-09-25 10:36:23 +00:00
xtraeme
2e6b13ae04
PR 34478: "modload compat_linux.o fail" by Takehiko NOZAKI.
...
Applied patch, thanks.
2006-09-24 14:35:22 +00:00
tron
595808ad47
Don't build "linux_ptrace.c" anymore. ptrace(2) support is optional now
...
and we can't tell for the LKM whether the kernel supports it or not.
2006-08-31 14:00:29 +00:00
tron
3a715a0a6f
Don't build "freebsd_ptrace.c" anymore. ptrace(2) support is optional now
...
and we can't tell for the LKM whether the kernel supports it or not.
2006-08-31 13:25:50 +00:00
xtraeme
ca450bca52
Update powernow module with POWERNOW_K7 and POWERNOW_K8 support.
...
Works fine on amd64 cpus running in 32-bit mode.
Tested by Joel Carnat.
2006-08-27 10:10:55 +00:00
xtraeme
423aebde2b
- Add k7_powernow_destroy() prototype into cpu.h.
...
- Call k7_powernow_destroy() unloading the module.
2006-08-08 21:04:29 +00:00
xtraeme
e7d2347699
* Sync powernow_k7.c driver with OpenBSD, it seems to work much
...
better finding PST tables.
* Use functions defined in powernow_common.c to detect if the
CPU can run powernow.
* Update the LKM with current code.
2006-08-06 16:05:07 +00:00
cube
b1b29cb4ae
Remove that example. It was obsolete even before 3.0 release.
2006-07-16 10:52:22 +00:00
drochner
8d2b5419d9
make this compile with standard warning level
2006-07-05 14:33:20 +00:00
christos
2bea415e72
remove gcc4 stuff since it is done in bsd.kmod.mk
2006-05-21 05:43:49 +00:00
christos
3c22b94a4a
fix typo
2006-05-21 04:45:35 +00:00
christos
c9904084fe
add -fno-strict-aliasing for gcc4
2006-05-21 04:43:58 +00:00
christos
589a4be805
Add -Wno-pointer-sign for gcc4
2006-05-20 22:22:04 +00:00
christos
d45a53ed73
Finish fixing compilation after device property changes.
2006-05-07 20:48:51 +00:00
christos
2867eb021b
Don't define $S here; nothing uses it and it is broken.
2006-05-07 20:48:01 +00:00
christos
d8d35ea484
Fix the build after old property header removal (Hi Jason)
2006-05-07 20:15:14 +00:00
xtraeme
294582997b
Fix "hard reboot" problem reported by Rhialto weeks ago on current-users@.
...
The problem was that pnowk7_init() was called too early in the boot
process, at this point the required calls were not available.
Thanks to Rhialto for testing and cube/christos for comments.
2006-02-03 02:37:57 +00:00
reinoud
09457a8a6e
Initial import of a UDF file system implementation for NetBSD.
...
Finally the logic glue and the set distribution lists modifications.
2006-02-02 15:26:32 +00:00
reinoud
cff5e7ad2c
Initial import of a UDF file system implementation for NetBSD.
...
The code supports read access to all media types that CD/DVD type drives
can recognize including DVD-RAM and BD- drives as well as harddisc partions
and vnd devices. UDF versions upto the latest 2.60 are to be supported
though due to lack of test media version 2.50 and 2.60 are not implemented
yet though easy to add. Both open and closed media are supported.
Write access is planned and in preparation. To facilitate this some hooks
are present in the code that are not strictly needed in a read-only
implementation but which allow writing to be added more easily.
Implemented and tested media types are CD-ROM, CD-R, CD-RW, CD-MRW,
DVD-ROM, DVD*R, DVD*RW, DVD+MRW but the same code can also read DVD-RAM,
HD-DVD and BluRay discs. Also vnd devices have been tested with several
sector sizes.
Discs created and written by UDFclient, Nero's InCD and Roxio's
DirectCD/Drag2Disc read fine.
2006-02-02 15:19:15 +00:00
martin
60dcc21763
Add missing <sys/device.h> include.
2006-02-01 20:55:31 +00:00
cube
97047d48dd
Properly dispose of cfdata memory when unloading the tap(4) LKM.
2006-02-01 05:51:58 +00:00
cube
9f02c7bd62
Free cfdata memory. The tap LKM might be wrong in that area, to...
...
Pointed out by Greg Oster.
2006-02-01 05:05:22 +00:00
cube
6527a45571
Have vnd(4) devices automatically created when the user tries to
...
configure one. That removes the compile-time constant that limits the
number of vnds.
Thanks xtraeme@ for testing.
2006-02-01 03:15:33 +00:00
xtraeme
d347a5866b
Move the code that checks for a powernow capable cpu to pnowk7_init(),
...
so that the kernel and the lkm can use it without having it in two
files... plus minor fixes (idea from Rhialto).
2006-01-15 04:12:09 +00:00
xtraeme
8173ef37e7
AMD PowerNow LKM contributed by Olaf 'Rhialto' Seibert.
2006-01-11 00:18:28 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
christos
ad2ddf6d2d
Revert previous accidental removal of -DINET6
2005-09-06 23:27:33 +00:00
christos
12184b6c26
Revert inappropriate -D additions.
2005-09-06 23:25:54 +00:00
rpaulo
6459ccf2df
Add freebsd_sysctl.c
2005-09-02 14:34:53 +00:00
rpaulo
5530080d86
Add freebsd_sched.c
2005-09-02 13:34:46 +00:00
drochner
9ab0a3e02e
struct cfdata doesn't have locnames anymore
2005-08-25 15:08:06 +00:00
christos
50f8955b6e
64 bit inode changes.
2005-08-19 02:04:03 +00:00
drochner
20b1effdae
build pci/pcmcia driver LKMs only on i386 and alpha
...
(this is where I could test, could be more)
2005-07-23 16:11:18 +00:00
drochner
bf66affbd6
let the build descend to device driver LKMs
...
this is more to make sure things don't bitrot than to provide
a useful set of modules
(the wi@pcmcia module is useful for me actually)
2005-07-22 20:14:55 +00:00
mrg
1f42a99845
enable the vnd LKM. i meant to do this when this LKM first appeared.
2005-06-26 05:36:57 +00:00
peter
a9b411c198
Change all .Xr config 8 to .Xr config 1, following the recent move of
...
config from usr.sbin -> usr.bin.
Reviewed by wiz.
2005-06-20 13:25:23 +00:00
matt
ea25c64213
Use coredump_elf32, not coredump_netbsd.
2005-06-11 20:06:46 +00:00
thorpej
5821e751d0
Use TOOL_GENASSYM.
2005-05-30 18:33:15 +00:00
he
c8a976c70d
Reduce optimization level for sh5 for one file which causes our gcc
...
3.3.3 to get an internal compiler error of type "can't split insn".
2005-05-26 18:33:36 +00:00
dogcow
f652e348df
With the move of linux_trap.c from sys/arch/i386/i386/ to sys/arch/x86/x86,
...
it's no longer in .PATH; add $S/arch/x86/x86 inside the i386 .if.
2005-05-16 07:48:07 +00:00
dogcow
f7c2079f42
add missing prototype for when CODA_COMPAT_5 is #define'd
2005-03-28 06:59:13 +00:00
peter
5b342fe86a
Correct the entry point for the coda5 LKM.
2005-03-27 18:43:47 +00:00
christos
b4e68c8648
PR/29630: Takehiko NOZAKI: undefined symbols 'linux_ioctl_mtio'
...
in /usr/lkm/compat_linux.o
2005-03-08 15:26:23 +00:00
perry
477853c351
nuke trailing whitespace
2005-02-26 22:58:54 +00:00
peter
1c9b56c830
Add MKIPFILTER; if set to no, don't build and install the ipf(4) programs,
...
headers and LKM.
Add MKPF; if set to no, don't build and install the pf(4) programs,
headers, LKM and spamd.
Both options default to yes, so nothing changed in the default build.
Reviewed by lukem.
2005-02-22 14:39:58 +00:00
jmc
9b1c35ec87
Fixes from PR#29289. Need linux_sg.c in here now as well
2005-02-10 17:37:35 +00:00
martti
534d9de60b
Added -DINET
2005-02-09 06:41:01 +00:00
martti
a023cb1d19
Upgraded IPFilter to 4.1.5
2005-02-08 07:01:52 +00:00
cube
9c61428178
Install tap(4) LKM.
2005-01-24 15:50:52 +00:00
oki
50d1aadd13
kill __P.
2005-01-22 01:36:59 +00:00
cube
5c44c50b34
Default to using (well, assuming) bpf.
2005-01-19 14:59:08 +00:00
cube
daeec6c990
ethfoo(4) is no more. You'll find everything under sys/net/if_tap.[ch]
...
and sys/lkm/net/tap/if_tap_lkm.c.
2005-01-19 11:12:11 +00:00
cube
fead024e60
LKM version of if_tap, derived from ethfoo code.
2005-01-19 11:09:05 +00:00
cube
6717eabf3a
ETHFOO_GOING had no chance to actually be useful if sc_flags is set to 0
...
in ethfoo_dev_close().
2004-12-17 12:17:09 +00:00
cube
e32b031c0f
Change cf_fstate value to FSTATE_STAR to avoid a panic in config_detach()
...
for DISAGNOSTIC kernel. That value of struct cfdata is not currently used
for pseudo-device attachments anyway.
2004-12-13 19:40:56 +00:00
cube
ab9c18a45c
Constify. From Peter Postma.
2004-12-13 19:26:34 +00:00
cube
3957e91683
Fix compilation on LP64 hosts. Reported by Peter Postma.
2004-12-13 19:22:57 +00:00
cube
89a3fae64d
Fix a comment.
2004-12-13 19:21:42 +00:00
cube
f770d4aa14
Remove tests that used to make it possible to compile ethfoo_lkm.c with
...
older versions of NetBSD (specifically, before ksyms was introduced), as
a lot of other changes makes that impossible anyway.
2004-12-12 22:15:28 +00:00
cube
dfc44125a6
Turn ethfoo(4) into a cloning device, following the MOVEFD semantics (like
...
bpf(4)).
While doing that, still keep around the full cdevsw interface, so that the
ethfoo interfaces can be accessed either through /dev/ethfooN or through
the cloning device /dev/ethfoo (whose minor number is 0xfffff). Interfaces
created through the cloning device are destroyed at close() time.
Also add an ioctl() to be used by the cloning interface user to know the
minor number of the created interface, so it can be manipulated later to
get an address set and turned up (otherwise EHOSTDOWN is returned on read
and write).
Document some of the new functions, but read, write, ioctl and kqfilter
still has to be commented.
2004-12-12 21:46:58 +00:00
peter
b2618f9ac2
ifc_destroy returns an int.
2004-12-04 18:40:45 +00:00
cube
0af5ad74e4
Free mbufs as they're read instead of leaking them. Now qemu lets me do a
...
FTP install in tunfd network mode.
2004-11-15 20:19:06 +00:00
cube
992f7838e6
It compiles at WARNS=3.
2004-11-14 20:06:03 +00:00
cube
96c0d03c20
Add tap (as in Linux's tap) functionality to ethfoo. That means you now
...
have a device interface to the ethfoo devices through a device node.
select, poll, kqueue and SIGIO are possible on that device node. See TODO
for what remains to be done at that level.
2004-11-14 20:05:42 +00:00
he
19278a71d3
Um, linux_exec_machdep.c only exists on i386, so don't try to compile
...
it for the other machine types which traverse this directory.
2004-11-14 12:19:28 +00:00
he
c8d952d682
Um, linux_exec_machdep.c only exists on i386, so don't try to compile
...
it for the other machine types which traverse this directory.
2004-11-14 11:40:08 +00:00
skrll
7139fbfc16
Add sources to SRCS not KMOD.
2004-11-13 13:37:06 +00:00
christos
66075fd33d
Fix all the borken exec lkms. setup_stack is mandatory.
2004-11-13 06:09:47 +00:00
jdolecek
1782122374
move sys/lkm/vfs/miscfs/ptyfs/ to sys/lkm/vfs/ptyfs/
2004-11-11 19:25:30 +00:00
jdolecek
e086026946
convert to one 'SUBDIR+=' per entry format
2004-11-11 19:24:04 +00:00
christos
58ac79db8d
Add ptyfs lkm.
2004-11-11 01:43:25 +00:00
thorpej
0b0e09815e
Update config_attach_pseudo() example.
2004-10-15 04:51:48 +00:00
thorpej
c7dc2875d8
Don't need to use config_makeroom() here.
2004-10-15 04:48:24 +00:00
christos
891bc12ddc
Account for pending ipf move.
2004-10-01 15:20:45 +00:00
christos
650f6a8ec7
use <netinet/...> for the ipf headers like everything else.
2004-10-01 15:20:33 +00:00
he
e1ca5516de
Remove reference to now-deleted aoutm68k_ioctl.c.
2004-09-16 09:35:38 +00:00
thorpej
483ec9af85
Remove the COMPAT_AOUT LKM build infrastructure. The code is gone,
...
now.
2004-09-14 22:12:06 +00:00
he
936dfb04a0
More removal of references to aoutm68k_syscalls.c, following that file's
...
removal. Allows our m68k ports to build again.
2004-09-12 08:04:50 +00:00
martti
c72a29a530
Better kernel module for IPF (kern/26112 by Peter Postma)
2004-08-30 11:32:33 +00:00
drochner
de8db0c004
also provide an example how a pci driver LKM looks
...
(This is just a dummy driver which doesn't touch the hardware.)
2004-08-18 14:06:13 +00:00
drochner
b1a9bed356
add an LKM for "wi at pcmcia" as an example for the new MOD_DRV LKM type
2004-08-18 13:12:07 +00:00