nathanw
3dae8d28d6
Add commented-out options CAPS_IS_CONTROL and FORCE_FUNCTION_KEYS, with
...
descriptions.
XXX the descriptive text should probably be in options(4), but none of the
*other* mac-specific options are there, either...
2003-07-24 21:03:05 +00:00
nathanw
3945b95a8d
Add an option, enabled with the FORCE_FUNCTION_KEYS macro, that converts
...
"hotkey" abtn events into the function-key akbd events for the keys
that they're actually on (though the eject/f12 mapping is probably wrong for
the 12" PowerBook G4).
2003-07-24 21:01:39 +00:00
nathanw
6ff570e258
Make kbd_passup() an exposed function.
2003-07-24 20:56:24 +00:00
lukem
4b2744bf35
__KERNEL_RCSID()
2003-07-15 02:43:09 +00:00
aymeric
f0696ba4ba
strategy() should really have an ANSI prototype. Otherwise its daddr_t
...
argument gets passed wrongly.
This should fix a bug reported by Martin J. Laubach on port-macppc, and
was fixed two weeks ago in NetBSD/ofppc.
2003-07-11 23:38:08 +00:00
he
db2df0cdd4
After the recent changes to if_ieee80211.h, we need to include
...
if_media.h earlier.
2003-07-09 14:30:29 +00:00
fvdl
d5aece61d6
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
...
and need to be examined and discussed more.
2003-06-29 22:28:00 +00:00
darrenr
257443876f
'struct proc *' -> 'struct lwp *' as required to get GENERIC for macppc built
2003-06-29 11:02:21 +00:00
darrenr
960df3c8d1
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
...
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
2003-06-28 14:20:43 +00:00
dyoung
eb4a83a039
Bracket the opt_multiprocessor.h #include with #ifdef _KERNEL_OPT.
...
It won't compile, otherwise. I figure this is right because it's
done everywhere else.
2003-06-25 00:03:13 +00:00
martin
d505b18964
Make sure to include opt_foo.h if a defflag option FOO is used.
2003-06-23 11:00:59 +00:00
hamajima
b3120a356c
Fix wdc_obio_dma_init() confused WDC_DMA_LBA48 with WDC_DMA_READ.
...
This was tested by jtb@netbsd.org .
2003-06-19 22:36:06 +00:00
thorpej
452a8fdae2
Rename IPL_IMP -> IPL_VM.
2003-06-16 20:00:56 +00:00
fvdl
7dd7f8baa2
Handle 64bit DMA addresses on PCI for platforms that can (currently only
...
enabled on amd64). Add a dmat64 field to various PCI attach structures,
and pass it down where needed. Implement a simple new function called
pci_dma64_available(pa) to test if 64bit DMA addresses may be used.
This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>,
and there is more than 4G of memory.
2003-06-15 23:08:53 +00:00
manu
e4fbe87208
Add COMPAT_DARWIN, and comment out anything related to it. It is too
...
much experimental to be included into GENERIC kernels.
2003-06-11 16:24:13 +00:00
hamajima
0659c2f915
Support the PowerBook G4 12-inch (and maybe 17-inch).
...
Kauai ATA, new obio chip, and Japanese keymap for WSDISPLAY_COMPAT_RAWKBD
I tested only 12-inch Japanese model.
2003-06-11 07:35:39 +00:00
bjh21
6a5af969d4
In mcstop(), don't clear IFF_UP. Other drivers don't mess with IFF_UP
...
internally, other than to set it when they gain their first address.
Every caller of mcstop() bar one was either preserving the state of IFF_UP
itself or was conditional on its already being clear, so the only effect of
this is to simplify the code and to change that one case, thereby curing
PR port-macppc/12088 (underflows on "mc" cause it to be taken down).
2003-06-04 21:30:06 +00:00
lukem
cd46c56ae6
missing rcsid
2003-05-18 06:45:14 +00:00
thorpej
e43fecb228
Change bounds_check_with_label() to take a pointer to the disk structure,
...
rather than the label itself. This paves the way for some future changes.
2003-05-10 23:12:28 +00:00
thorpej
2a90e2a9c9
Remove redundant bounds_check_with_label() prototype.
2003-05-10 16:12:02 +00:00
wiz
1ffa7b76c4
DMA, not dma nor Dma.
2003-05-03 18:10:37 +00:00
dsl
d91455ce26
Change return type of readdisklabel() to const char *
...
I hope I've found all the correct places!
2003-05-02 08:45:10 +00:00
ragge
d8c8fa8111
Add pseudo-device ksyms.
2003-04-26 14:10:04 +00:00
ragge
69a66687f8
Call ksyms_init() instead of ddb_init() in case of
...
NKSYMS || defined(DDB) || defined(LKM)
2003-04-26 11:05:05 +00:00
ragge
766d04f56a
Add ksyms device major.
2003-04-25 21:10:46 +00:00
bouyer
aec10dd80c
Nake return values from bounds_check_with_label() conform to the man
...
page: -1 for error, 0 for EOF, 1 otherwise. Inspired by an OpenBSD commit
message, pointed out by Miod Vallat in private mail.
vax/mba/hp.c: check return value <= 0, not < 0 to be concistent with how
other places handle return values from bounds_check_with_label().
2003-04-16 15:00:59 +00:00
christos
b9f9db3ca2
Bye Bye UCONSOLE
2003-04-10 22:06:51 +00:00
thorpej
a9caf2cae5
G/c the traceq; nothing uses it.
2003-04-09 01:55:14 +00:00
thorpej
0871fe346f
Use PAGE_SIZE rather than NBPG.
2003-04-09 01:54:42 +00:00
thorpej
ecd9fdcc76
Oops, didn't mean to commit this.
2003-04-02 03:16:39 +00:00
thorpej
d470cda51b
Use PAGE_SIZE rather than NBPG.
2003-04-02 02:56:40 +00:00
mjacob
3b3cb97b5b
Attach esiop to a scsibus.
2003-03-14 17:29:05 +00:00
matt
8344279675
Synchronize macppc and evbppc majors when possible. Add a lot of missing
...
devices to evbppc.
2003-03-13 17:02:52 +00:00
drochner
a15dcfdce7
Avoid conflict with sockets[] definition in net.h
...
and add some typecasts.
Thanks to Juergen Hannken-Illjes for compile-checking.
2003-03-13 14:05:53 +00:00
drochner
47fe380b4c
make netif_close() return value void
...
fix prototype
2003-03-13 12:15:31 +00:00
drochner
e5cc00b939
Remove remaining uses of libsa/netif -- the "netif" structure was only
...
used to lookup a "struct of_dev", everything else was ballast.
Do it straightforward now and assign the ofdev directly to io_netif.
2003-03-13 11:35:54 +00:00
he
1565f9401d
Remove remnants of support for console on ite, since the ite device
...
driver is no more.
2003-03-09 13:59:56 +00:00
mrg
60b9080da3
don't depend on "../../../../../gnu/dist/toolchain/include/coff/rs6000.h".
2003-03-09 00:39:10 +00:00
soren
ea477f4ba7
Forgot dummy printf.
2003-03-05 16:52:16 +00:00
soren
1f3cd4f95f
Be more verbose about unsupported keys.
2003-03-05 16:18:24 +00:00
matt
92d0498c3d
Remove port-specific procfs_machdep.c (since they are all identical and
...
a better one resides in powerpc/powerpc/).
2003-03-05 05:43:42 +00:00
soren
e0395ed0f1
G/c old macppc grf entries.
2003-03-04 13:29:12 +00:00
soren
889bcccc72
Attach on recent TiBooks.
...
XXX The mixer doesn't work yet.
2003-03-04 13:28:20 +00:00
matt
a391bf2e06
Make this play with gcc 3.3. Add -ffreestanding. Cleanup bootxx.
2003-02-28 05:24:56 +00:00
perseant
eab869e1c0
Make BRIDGE_IPF an option, and document it. Add it (commented) to GENERIC.
...
Let brconfig tell whether the bridge is using the ipfilter hook, or not.
2003-02-27 19:22:36 +00:00
manu
b09955adaf
Merged mac68k and macppc keayboards, since they are the same. The file
...
could move to <arch/mac> if one day we create it.
Fixed french keymap: option was not mapped correctly, thus making
impossible to use |{}[] (tested).
Added jp keymap from PR/15438, and sf, sv, de and uk keymaps from OpenBSD.
(all untested).
2003-02-23 18:09:25 +00:00
soren
e9d72b5b52
Make ALLOC_TRACE work again.
2003-02-17 08:21:39 +00:00
augustss
519f8f3d30
Add uax(4) (and url(4) in some cases).
2003-02-16 17:35:13 +00:00
briggs
0ba0225830
Initialize the framebuffer BAT with BAT_G, too. This marks the region
...
as (G)uarded, protecting it from the processor being too aggressive in
reordering and prefetching. This allows OFB_ENABLE_CACHE to work on my
Powerbook G4.
Thanks to matt@ for suggesting this fix. "It's the right thing to do."
2003-02-15 05:07:57 +00:00
tsutsui
9dc8f99b73
Add prototypes for ZS_TXDMA functions.
...
XXX Maybe we should have DMA hooks in MI z8530tty.
2003-02-15 02:28:22 +00:00