hubertf
673730506c
Add support for reading cloop2 compressed filesystem image,
...
enable by putting VND_COMPRESSION into kernel config file.
Written by Cliff Wright, polished up slightly by me.
2005-07-17 00:08:27 +00:00
kiyohara
c1a84a4d12
ieee1394 import from FreeBSD.
2005-07-11 15:29:05 +00:00
tron
04b9c3437f
Add (commented out) IPSEC_NAT_T option.
2005-07-07 17:05:46 +00:00
dyoung
6a0e52d84e
Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
...
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.
Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.
In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.
Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.
2005-06-25 22:08:54 +00:00
rpaulo
64fd052c74
Add file-system PTYFS (commented out) so that people know its existence.
...
Ok'ed by Christos Zoulas and Hubert Feyrer.
2005-06-25 12:05:15 +00:00
junyoung
17670568fe
Use FS_OPS() macro.
2005-06-23 19:44:00 +00:00
jmmv
92e653c23c
Let this build again by removing ieee80211_compat.h's inclusion (which does
...
not exist any more).
2005-06-23 14:33:33 +00:00
tsutsui
4e54a2cc7c
- Rename options NEW_BUFQ_STRATEGY -> options BUFQ_READPRIO.
...
(still commented out)
- Add (also commented out) options BUFQ_PRIOCSCAN.
Suggested by perry and soda on tech-kern.
Please refer options(4) for details for these options.
2005-06-09 14:43:29 +00:00
tron
abba7e56c8
Enable RAIDframe support in the NetBSD-macppc installation media.
...
Based on patches submitted by Ian Spray in PR port-macppc/30465.
2005-06-09 13:29:57 +00:00
jmmv
f51dc0f3a7
Constify char* arguments to pm_printerr. Fixes the build when ADB_DEBUG
...
is set.
Note that only the first argument needed to be constified to solve the issue,
but given the usage of the arguments in the function, it's worth to constify
all of them.
2005-06-07 12:14:13 +00:00
tron
8e194a59f6
RAIDframe works fine under NetBSD-macppc according to Ian Spray's testing.
...
Enable raid(4) by default therefore.
2005-06-06 10:39:11 +00:00
nathanw
d198119b32
Don't shadow global aed_sc with local aed_sc.
...
XXX there shouldn't be a global aed_sc in the first place; the interface
among ADB devices is terrible.
2005-06-05 20:32:30 +00:00
nathanw
dda48d8e5e
In ki2c_write() Apply __UNCONST() to the data parameter passed to
...
ki2c_start(). The same back-end routine does reads and writes, so
there's no real type-safety to be had here.
2005-06-05 20:16:35 +00:00
nathanw
5feb882b89
constify some string arguments and return values.
2005-06-05 20:05:48 +00:00
nathanw
a61e9e4fdf
Pass NULL instead of (Ptr)0 to maintain function-pointer safety.
2005-06-05 20:04:47 +00:00
nathanw
a2c1d78ac7
Rearrange some of the ADB types and void * abuse to make -Wcast-qual
...
happy in the presence of the "volatile int flag" construct. Fix up a variety
of calls to pass NULL instead of (Ptr)0 to maintain function-pointer safety.
2005-06-05 20:03:55 +00:00
nathanw
a3ca1f00ff
constify skiplist.
2005-06-05 20:02:01 +00:00
nathanw
30494f81df
Fix shadowing of parameter with local variable.
2005-06-05 20:01:36 +00:00
nathanw
5774b0f330
Nuke the II and IIsi code from this file; it's never used on a
...
macppc. Remove variables and macros no longer used as a result.
This driver *still* needs an enema.
2005-06-05 18:49:49 +00:00
matt
8d53551666
cleanup const/volatile/shadowing
2005-06-03 21:38:05 +00:00
matt
7612d7363f
Cleanup new warnings...
2005-06-03 18:19:11 +00:00
christos
65c1fa1259
First argument to OF_interpret is const. Remove non-ansi prototype while
...
here.
2005-06-03 14:35:36 +00:00
tron
a97eb895f6
Remove attachment for the piixide(4) driver from all non-x86 kernel
...
configurations because Intel IDE disk controllers only exist as part
of Intel chipsets for x86 systems.
2005-05-31 22:23:52 +00:00
tron
fe980f65d4
Remove unnecessary per-driver scsibus attachments and use
...
"scsibus* at scsi?" instead.
2005-05-31 22:09:08 +00:00
chs
b0a8a83e7b
remove vestigal {,e}intr{names,cnt} symbols now that vmstat doesn't need them.
2005-05-31 00:45:02 +00:00
jdolecek
4d515665c5
assign major for nsmb(4)
2005-05-10 00:02:35 +00:00
briggs
0e5d90ca36
Correctly match battery types. Old function would end up matching a
...
zero-length string. Noted in PR port-macppc/30034 by Magnus Henoch.
Patched as in the PR.
2005-04-27 16:41:54 +00:00
itohy
d665949330
Add ukyopon(4).
2005-04-15 17:27:20 +00:00
yamt
6b2d8b66a4
merge yamt-km branch.
...
- don't use managed mappings/backing objects for wired memory allocations.
save some resources like pv_entry. also fix (most of) PR/27030.
- simplify kernel memory management API.
- simplify pmap bootstrap of some ports.
- some related cleanups.
2005-04-01 11:59:21 +00:00
matt
a6db24a485
Add a dm_maxsegsz public member to bus_dmamap_t. This allows a user of the API
...
to select the maximum segment size for each bus_dmamap_load (up to the maxsegsz
supplied to bus_dmamap_create). dm_maxsegsz is reset to the value supplied to
bus_dmamap_create when the dmamap is unloaded.
2005-03-09 19:04:43 +00:00
briggs
6ae9462824
Fix from Nozomu Ando to ensure that read interrupts are acknowledged.
...
May address PR port-macppc/28870.
2005-03-04 04:18:30 +00:00
dyoung
23ec02085c
Write tab-separated records to 'tags' file. A popular vi-alike,
...
vim, expects for the columns in tags files to be tab-separated,
but these makefiles created space-separated records for the assembly
sources.
2005-03-02 04:49:59 +00:00
simonb
ff8f0b23c9
Add COMPAT_20 (and COMPAT_16 in some cases) to kernel config files
...
that didn't have those options but had other earlier compat options.
2005-02-25 13:46:48 +00:00
dsl
4822cbaae2
Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
2005-02-18 21:05:50 +00:00
briggs
7e9ffb8e19
Install spr.h
2005-02-17 02:14:23 +00:00
dsl
05e2f6ebdb
Add 'option FFS_SNAPSHOT' to most of the config files.
...
Commented out for kernels that appear to hace space constraints.
2005-02-11 08:25:53 +00:00
briggs
ecb75428c0
If we have not gotten the CPU speed yet, get it from OF here and print it.
...
This gives us the CPU speed for those CPUs that we can't probe in the ppc
common code.
2005-02-03 15:14:39 +00:00
briggs
fabe87766d
Strip old "pm1" code. All PPC PMUs are "pm2" style. Two benefits:
...
* Cleans code up a bit, and
* Reduces the call stack for PMU interrupts.
2005-02-01 03:24:29 +00:00
briggs
969369e173
Remove one level of interrupt redirection by switching on the ADB
...
hardware type and registering a Cuda or PMU interrupt handler
specifically instead of an intermediate interrupt handler.
2005-02-01 03:08:16 +00:00
briggs
c5d6d91dc9
Clear all interrupts set by cuda. From Michael Lorenz.
2005-02-01 02:54:17 +00:00
briggs
da18d7cc5e
Add a PMU initialization call at ADB init time. This probes the machine
...
type for PMU / battery information, then uses that when getting battery
information for APM. Allows older PowerBooks (pre-smart batteries) to
function with apm enabled in the kernel. Thanks to Linux code for battery
information for these old batteries. Something is still odd, though,
because a charging battery can show > 100% when it's near to full charge.
Enable more interrupts from PMU and handle PB3400 card eject buttons
properly, too.
Also use #defines for commands instead of raw hex codes.
2005-02-01 02:46:00 +00:00
briggs
2fd848709f
Calculate and use seconds of power remaining for smart battery types.
2005-02-01 02:23:26 +00:00
briggs
66ca62ad71
Add some command definitions gleaned from Linux.
...
Add a field to pmu_battery_info to contain est. seconds of power remaining.
2005-02-01 02:22:31 +00:00
briggs
805b9387ef
ADB_HW_PB is really ADB_HW_PMU.
2005-02-01 02:05:10 +00:00
briggs
dba5409d0b
adb_direct.h contents are in adbvar.h. No need for duplication.
2005-02-01 02:03:01 +00:00
hannken
d5fbb6936f
Add file system snapshots to kernel configs.
...
- Ffs internal snapshots get compiled in unconditionally.
- File system snapshot device fss(4) added to all kernel configs that
have a disk. Device is commented out on all non-GENERIC kernels.
Reviewed by: Jason Thorpe <thorpej@netbsd.org>
2005-01-31 16:54:32 +00:00
thorpej
a7ba88252d
Eliminate use of M_HASFCS.
2005-01-30 19:03:23 +00:00
rumble
de81c2c878
Sprinkle options UFS_DIRHASH on GENERIC kernels. It's presently
...
commented out and labeled experimental pending further review and
testing.
2005-01-28 03:19:49 +00:00
kleink
3d7886ed58
MPC601: Use RTC instead of TB. (While I'm here, update these to use
...
the inline versions from <powerpc/cpu.h>).
2005-01-26 20:51:47 +00:00
briggs
d9b6766216
Ensure i/o commands are allocated on 16-byte boundary by allocating 15
...
extra bytes and adjusting array starts.
Issue pointed out on port-macppc by Michael Lorenz.
Also remove extra print of the device name on attach().
2005-01-25 19:05:22 +00:00