chs
2ab420f918
recognize the latest version of the GMAC.
2003-08-24 18:02:00 +00:00
he
b372f2beaa
Adapt to const-ification of first arg of open function in fs_ops.
2003-08-22 08:06:19 +00:00
itojun
8ebd15f8cd
add udav*
2003-08-22 07:52:48 +00:00
itojun
4440262659
create /dev/crypto
2003-08-22 05:06:22 +00:00
matt
a1bba8f344
Relax things so that OFW implementations that don't conform to the OFW PCI
...
bindings will work.
2003-08-20 14:41:56 +00:00
matt
93b63570a0
Properly walk the OF tree to map a PCI node's interrupt property into the
...
proper settings for the interrupt-controller.
2003-08-18 07:08:11 +00:00
hannken
d56baf4735
Add a placeholder for lpt, char 20.
...
Requested by: Matt Thomas
2003-08-17 19:15:50 +00:00
chs
f96eebf908
use the value of the "soft-reset" property (if it exists) to locate
...
the reset vector (needed on my shiny new G4). from tsubai.
2003-08-17 18:12:34 +00:00
chs
86bd9c4a5e
recognize the product ID used on the latest G4s.
2003-08-17 18:10:09 +00:00
matt
a3a18840be
Remove SPILLSTK leftovers.
2003-08-12 05:15:41 +00:00
matt
ff2ea365c3
Nuke spillstk. Use INTSTK instead of hardcoded value.
2003-08-08 07:15:20 +00:00
agc
aad01611e7
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
matt
cef74eb810
Add #define _NOREGNAMES (to suppress asm.h from #define r1 1 ...)
2003-07-31 07:50:02 +00:00
nathanw
c021860e53
Correct comment in FORCE_FUNCTION_KEYS code; the 0x0b (eject) button is
...
on the f12 key, not f7 (the keycode value was correct for f12 already).
2003-07-28 13:21:29 +00:00
itojun
3f14c71f75
reserve cdev major # for PF. ok'ed by technical-exec
2003-07-27 14:17:57 +00:00
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