explorer
6d15b43548
add atheros communications, Inc. AR5001 reference goop. This is what the 2.4 Ghz / 5 Ghz linksys cardbus card has inside.
2002-12-30 04:02:22 +00:00
reinoud
2f6fe363fa
Since we dont support switching screenmodes (yet) we might as well claim
...
just enough for the screenmemory to be in instead of the maximum of 1Mb.
Small machines like my 8Mb NC get a 700 kb back and thats really noticeable.
2002-12-30 03:30:16 +00:00
dsainty
3d3cc353c3
extern references to debugging globals that really exist elsewhere
2002-12-30 02:44:32 +00:00
reinoud
3e5225eafa
If we don't have VRAM then at least account the screensize correctly :) it goes
...
pretty wierd if it is set wrongly.
2002-12-30 02:19:20 +00:00
reinoud
33ae7765a1
If we nick memory from the DRAM for video then please account it correctly!
2002-12-30 02:05:12 +00:00
jmcneill
9459fbd817
Allow ACPI_EXTRA_DEBUG without ACPI_DEBUG
2002-12-30 01:56:44 +00:00
reinoud
f223d87792
Typo and comments
2002-12-29 22:41:08 +00:00
ad
d4ed18b479
Block tty interrupts in getc()/putc().
2002-12-29 20:12:19 +00:00
ad
17fa1f0778
- X pads bitmap rows to a word boundary.
...
- Handle WSDISPLAYIO_GCURMAX.
2002-12-29 20:01:17 +00:00
ad
91d54c750b
In dzkbd_attach(): set dzi_ls for the console keyboard, too.
2002-12-29 19:30:57 +00:00
kristerw
e4081b820a
It is not valid C++ to have a semicolon after
...
extern "C" {}
so remove it from __END_DECLS.
2002-12-29 19:21:34 +00:00
thorpej
85c31b11c3
* Move the resched check from setrunnable() and resetpriority() to
...
a new inline, resched_proc().
* When performing the resched check, check the priority against the
current priority on the CPU the process last ran on, not always the
current CPU.
2002-12-29 17:40:26 +00:00
kristerw
9d1bcdf947
Use "__asm" instead of "asm" to pacify lint.
2002-12-29 14:41:29 +00:00
kristerw
d320ba3418
Use "__asm __volatile" instead of "asm volatile" to pacify lint.
2002-12-29 14:40:35 +00:00
kristerw
069c964473
Do not try to return a value from void functions.
2002-12-29 14:38:11 +00:00
tsutsui
7bc5ebdb72
Wrap DELAY() macro with do { } while (/*CONSTCOND*/ 0).
2002-12-29 14:09:37 +00:00
yamt
a05fbf74c0
fix vref/vunref mismatch.
2002-12-29 14:08:12 +00:00
jdc
50b0738c11
Match the D-Link DWL650H.
...
Tested on i386 and hpcarm.
2002-12-29 12:11:45 +00:00
jdc
157591d35a
Regenerate (DWL650H addition).
2002-12-29 12:06:34 +00:00
jdc
d354b364e4
Add D-Link DWL650H wireless card (a different product than the plain DWL650).
2002-12-29 12:04:48 +00:00
yamt
88ae33f9e0
backout assertions in lfs_inactive.
...
they can be false when unmounting forcibly.
2002-12-29 07:05:55 +00:00
yamt
78d9abec0c
sync comment for vflush with reality.
...
from FreeBSD.
2002-12-29 06:47:57 +00:00
uwe
a391e8bea6
Add sh7709 INTEVT2 codes for IRQs, PINTs, IRDA and ADC.
2002-12-29 02:47:07 +00:00
thorpej
63ccfc36f6
Add a comment about affinity to awaken().
2002-12-29 02:08:39 +00:00
reinoud
24dac6bf26
The unique machine ID is used in some networking stuff to generate a
...
unique-ish number, so better add it again!
2002-12-29 00:30:40 +00:00
reinoud
bf5fbfa164
Update the NetBSD part for the bootloader change. Mostly the changes in
...
bootconfig.h needs reflection
2002-12-29 00:02:20 +00:00
reinoud
46dbb0f225
Initial commit of the 3rd generation of bootloaders for the Acorn32
...
platform. It features far better support for newer architectures and is
fully rewritten in C and compile-able under NetBSD.
Since it shares code with `boot26' for Acorn26 merging the common parts is
likely to be next on the list.
2002-12-28 23:57:36 +00:00
thorpej
18e5ffe231
Fix typo.
2002-12-28 23:07:18 +00:00
uwe
0982def9d8
Sync US map with reality. Rename what used to called "us" map to
...
international. Drop Hungarian map that is a proper subset of
international map (and I strongly suspect the "Hungarian" is a
misnomer in the first place). Adjust hpckbd_keymap_table accordingly.
With this change selecting "US" in hpcboot will give you real US
layout. Selecting "Hungarian" will give you international layout and
I think hpcboot shall be changed accordingly.
I'm not sure if there's separate "German" layout for hpcs. I think
any layout that is not different from us/international on the primary
layer shall be handled with wsconsctl.
2002-12-28 22:50:09 +00:00
leo
d2a5a7fd71
Regen.
2002-12-28 22:13:22 +00:00
leo
e946acdd50
Since 1.6 we have 3 images (not 2!):
...
- 1Mb on HD floppy's
- 1.44Mb on HD floppy's
- 1.44Mb on a DD floppy
2002-12-28 22:11:30 +00:00
kristerw
83b5a18c99
Restore the system priority level in case of errors.
...
OK:ed by martin.
2002-12-28 21:09:14 +00:00
reinoud
779842e0f8
Remove spurious declaration of bootconfig structure since that is already
...
done in bootconfig.h
2002-12-28 20:40:21 +00:00
sommerfeld
20d271e712
TODO list, paraphrasing Jason Thorpe
2002-12-28 20:12:24 +00:00
kristerw
2ae40935fb
The correct way to decorate objects with attributes is to use __attribute__
...
instead of the synonyms understood by gcc.
2002-12-28 20:11:57 +00:00
christos
ae2bf40b7e
fix compile problem.
2002-12-28 20:08:36 +00:00
kristerw
cfdca0df6b
Remove a spurious ;.
2002-12-28 20:06:09 +00:00
christos
f69bc61a87
remove redundant declaration
2002-12-28 20:06:07 +00:00
jmcneill
fdcb4005e7
Correctly pass the proper DRQ down to the common fdc driver.
2002-12-28 19:53:50 +00:00
jmcneill
18e5fbcc75
Add an fdc at acpi(4) attachment
2002-12-28 19:31:35 +00:00
jmcneill
57713b735f
We no longer need to delay the call to wssprobe, so remove the disgusting
...
config_interrupts hack.
2002-12-28 18:59:52 +00:00
jmcneill
8eb0fffdfc
Add an npx at acpi(4) attachment
2002-12-28 17:51:16 +00:00
uwe
b83d14425f
jornada6x0_us_keytrans: Map "del" key to 211 ("Del") not 14 ("<=").
...
Our default keymaps map "<=" to KS_Delete (i.e. vt-style rubout)
anyway, so default behavior is not changed, but some people might
prefer to map "<=" and "del" differently. Let them distinguish
between the two. Fix the flying windows key mapping it should be 219,
not 221 (menu). Drop non-existent keycode 125.
2002-12-28 17:49:01 +00:00
matt
13e7cd4f3f
Use i386_isa_chipset explicitly.
2002-12-28 17:36:59 +00:00
jmcneill
df719d72e4
NACPCA -> NACPI, so isa_dmainit gets called if we have ACPI support too.
2002-12-28 17:31:25 +00:00
yamt
d840722863
avoid warnings without DIAGNOSTIC.
...
pointed by Andreas Wrede.
2002-12-28 17:22:47 +00:00
matt
6b5d7a7b6c
Remember the isa_chipset_tag_t and supply to isa_intr_establish.
...
(thereby removing a XXX in the code).
2002-12-28 17:13:39 +00:00
matt
51ec27c813
Move the call to isa_dmainit to mainbus_attach from pnpbios_attach since
...
ACPI needs to have that done for the exact same reasons as ACPI.
2002-12-28 17:11:50 +00:00
tsutsui
e60823f9f2
Fix typo in comment.
2002-12-28 16:52:02 +00:00
tsutsui
46cc633768
Oops, fix typo in the previous.
2002-12-28 16:44:43 +00:00
pooka
bca1052dab
on second thought... make this also compile
2002-12-28 16:44:36 +00:00
pooka
00ddd0deec
add timer calibration
...
from Chris Sekiya
2002-12-28 16:40:48 +00:00
tsutsui
da446ea2da
Change device names in struct pica_dev to match ones used by ARC BIOS.
...
All of these parameters should be obtained from ARC BIOS, and we will
switch to the way in future. As per discussion with soda.
2002-12-28 16:25:38 +00:00
yamt
a428d8a5af
dirop inode can't be passed to lfs_inactivate.
2002-12-28 15:12:26 +00:00
yamt
59be5399b7
- in lfs_reserve, vref vnodes that we're locking so that cleaner doesn't
...
try to reclaim them.
(workaround for deadlock noted in the comment in lfs_reserveavail)
- in lfs_rename, mark vnodes which are being moved as well as directry vnodes.
2002-12-28 14:39:08 +00:00
jmc
549904564e
Implementation of page table support for 64k or greater transfers. This should
...
also handle uio structs passed in as well. All standard filesystem actions
are working at this stage (can copy, execute, mount, umount, fsck, etc).
2002-12-28 10:54:47 +00:00
jmc
ae8cc0726d
Move SBP data area's below the 4G mark as some broken devices seem to clip data
...
address's to 32 bits.
XXX - Need to move the if_fw fifo addr as well but this needs some testing
2002-12-28 10:52:41 +00:00
jmcneill
e4db50c7b9
Add IBM0071, until we have access to the Compat Ids.
2002-12-28 10:19:06 +00:00
matt
60040239dc
Only remember the softc if was for the keyboard port. Only try to attach
...
the console to a keyboard port.
2002-12-28 10:14:43 +00:00
matt
d00c47eb40
Add IBM3780 (PNP id for IBM's trackpoint). Also consider anything starting
...
with PNP0F as a mouse.
2002-12-28 09:44:11 +00:00
matt
17fb086421
Add a pckbc acpi attachment (it compiles but it untested).
2002-12-28 08:45:31 +00:00
matt
da1df3d58f
Make sure we record the type of irq as well as its number.
2002-12-28 08:44:43 +00:00
jmcneill
ea66278262
In com_acpi_attach, set sc->sc_iot unconditionally.
2002-12-28 08:14:39 +00:00
jmcneill
3b08a81ed6
Add an lpt attachment to acpi(4)
2002-12-28 08:04:28 +00:00
matt
8ff6f8feb3
Fix an uninitialized variable.
2002-12-28 07:37:51 +00:00
matt
99597db362
make id const, and use it for the strcmp since we went to the trouble
...
of remembering it.
2002-12-28 07:34:04 +00:00
matt
f388356f39
const the pnpid array.
2002-12-28 07:30:33 +00:00
tsutsui
26f0714b7f
sparc/tab cosmetics.
2002-12-28 07:11:24 +00:00
jmcneill
33ac82dfff
Add 'com at acpi' and 'wss at acpi' glue. These are both working great on
...
my ThinkPad 600E.
XXX isa_dmainit isn't called early enough for the 'audio at wss' attachment
XXX to work, so I'm deferring the call to 'wssattach' until later on. This
XXX should be fixed soon.
2002-12-28 06:20:15 +00:00
jmcneill
c8111254a1
Pass ISA chipset information through to ACPI devices, to allow for porting
...
of pnpbios(4) glue to acpi(4).
2002-12-28 06:14:07 +00:00
dsainty
47fa5a292f
An earlier revision of the data sheet documented MIR data rate support,
...
576000bps and 1152000bps. In the current published version of the data
sheet the MIR support documentation is gone, and the MIR mode bit is
documented as reserved. Possibly the device has a design flaw affecting
the MIR data rates? Document here that this information came from an
earlier data sheet, but leave MIR support in for the moment.
2002-12-28 06:04:18 +00:00
dsainty
912898cad7
Update reference to online data sheets
2002-12-28 05:35:34 +00:00
dsainty
4bfd7daa84
This device has a single FIFO shared by both incoming and outgoing data.
...
If a series of outputs are delivered to the device before the kernel thread
has polled for input data, any input data will be lost. As a
counter measure, always force an input check between outputs.
2002-12-28 04:55:30 +00:00
dsainty
562d1e4603
Delinting - as the data passed to ustir_dumpdata() is always u_int8_t,
...
use that type in the prototype too.
2002-12-28 04:28:39 +00:00
dsainty
df379868e8
Delinting - don't treat ennumerated types as booleans
2002-12-28 04:23:40 +00:00
dsainty
6e4d13a881
Delinting - sprinkle some ARGSUSED
2002-12-28 04:16:33 +00:00
mrg
44b02011f4
tweak some comments
2002-12-28 02:47:35 +00:00
reinoud
ca70f10e3b
Add the loadfile_machdep.h as needed for native bootloaders
2002-12-28 02:42:13 +00:00
mrg
122353da40
rename CPU_READY() to CPU_NOTREADY() seeing that's what it checks.
2002-12-28 02:35:56 +00:00
mrg
7d51aacb32
update the vme bus_space_tag_t to reality.
2002-12-28 01:33:00 +00:00
manu
459d0be3a4
More hacks to make Darwin's /sbin/init happy with its pid.
2002-12-28 00:15:23 +00:00
manu
874517b438
- When MACH_MSG_RCV_LARGE is set, we must return a message with just a header
...
and a body.
- If mach_init is not availabkle for boostrap requests, try to handle them
in the kernel (we don't really handle them, we just try to avoid hanging there)
- minor tweaks.
2002-12-27 19:57:47 +00:00
manu
3b815ab820
We must also return pid 2 when mach_init asks for its pid after it forked init.
2002-12-27 19:54:54 +00:00
hannken
c122326822
Clear IN_SPACECOUNTED on (re-)used inodes.
...
This cures the "unmount pending error:" on softdep umounts.
Approved by: Frank van der Linden <fvdl@netbsd.org>
2002-12-27 16:07:13 +00:00
mrg
39493d781e
this file is way out of date...
2002-12-27 15:17:36 +00:00
tsutsui
5a1aba72d6
Bump SYMTAB_SPACE to 190000.
2002-12-27 14:59:21 +00:00
tsutsui
fbc8e4748a
Add support for SEGA LAN Adapter, MB86967 based Ethernet adapter.
...
Based on the patches in port-dreamcast/17493 by Christian Groessler,
with several modification by me.
2002-12-27 11:43:38 +00:00
tsutsui
c680050521
Add a set of bus_space(9) functions for g2bus devices with
...
sparse address space. This is required for SEGA LAN adapter support.
2002-12-27 11:34:05 +00:00
manu
f464631d66
Several things:
...
1) rights should be shared by the threads within a process. While it would
be easier to handle this with the struct proc/struct lwp split, we attempt to
do this now by sharing the right lists. Because each right holds a reference
to struct proc, this might cause some problems later.
2) in pthread_exit, really exit the thread. Also reintialize the righ tlist to
make sure we will not destroy the parent's right list
3) rights can hold multiple permissions on a port (ie: send and receive). Fix th
is.
4) first attempt on right carried by messages. We still have to do rights carrie
d in the message body (complex messages).
2002-12-27 09:59:24 +00:00
dyoung
1a8833b7c1
On Lucent cards, indicate that changing BSSID with SIOCS80211BSSID
...
is impossible. Never write to the Prism-only JOIN RID.
2002-12-27 08:29:46 +00:00
dyoung
fb22424264
The RID for the RSSI->dBm adjustment is not supported by Prism
...
station firmware version <= 1.1.1.
2002-12-27 07:54:35 +00:00
matt
78b64fd232
Recognize BCM5703 phy. (with this and the bge changes, the bge0 on my
...
ASUS P4PE m/b is now working)
2002-12-27 03:15:52 +00:00
matt
9d04e25e82
Regen.
2002-12-27 03:14:23 +00:00
matt
2860168d98
Add BCM5703.
2002-12-27 03:14:06 +00:00
itohy
ca7d3d53d6
Lookup and use the Ethernet address in the FCode PROM,
...
and avoid using MD myetheraddr() function.
This makes the driver MI, and closes PR kern/13797.
The PCI HME is a PCIO chip, which is composed of two functions:
function 0: PCI-EBus2 bridge, and
function 1: HappyMeal Ethernet controller.
The Ethernet address is (expected to be) in the PCI FCode PROM connected
to the EBus bridge (function 0) of the device.
Since the HME is on function 1, some magic is used to access to the PROM.
We don't have MI EBus driver since no EBus device exists (besides the
FCode PROM) on add-on HME boards. The ``not configured'' message for
function 0 is what is expected.
The SPARC case is currently unchanged. It needs interaction with OpenBoot.
2002-12-26 22:59:51 +00:00
pooka
30d4a8344b
sync with mecreg change, ie. make this compile
2002-12-26 22:25:12 +00:00
pooka
a0c298e366
brush up situation with mec register definitions
...
from Chris Sekiya
2002-12-26 22:24:46 +00:00
jdolecek
362cc2fa44
fix incorrectly introduced coda_psdev.c name change from previous
...
revision; it was part of local devel change I did not intend to commit
2002-12-26 22:23:30 +00:00
matt
a5201ab8fc
Recognize AD1981 codec (0x41445370). XXX name is a guess but it follows
...
the existing pattern.
2002-12-26 20:56:52 +00:00
matt
5914ae08f9
Recognize BCM5702X and BCM5703X. Add a ONLY_PHY_1 quirk and use it.
...
Add support for getting the macaddr for 5703 (taken from FreeBSD).
2002-12-26 20:55:30 +00:00
matt
46531db96c
Recognize Promise Serial ATA/150 TX2plus
2002-12-26 20:54:03 +00:00
matt
741e85a725
Regen.
2002-12-26 20:53:18 +00:00
matt
fef7827774
Add Promise Serial ATA/150 TX2plus
2002-12-26 20:52:58 +00:00
pooka
c99132ebb0
Shuffle network interface and phy drivers into alphabetical order and
...
add comments for them.
2002-12-26 18:26:07 +00:00
pooka
0b31dc8e73
For the ES1370 do "best effort" rate selection for the FM DAC. The
...
card contains only one clock, which is already used by the other
DAC. The FM DAC can handle a few fixed-frequency choices.
thanks to Matthew Green for testing
2002-12-26 17:59:16 +00:00
manu
20fca78f89
regen
2002-12-26 14:41:34 +00:00
manu
bab8693bba
Added the mysterious system call 331 (it does not seems to be in the
...
header files anywhere). This is pthread_exit.
2002-12-26 14:41:05 +00:00
manu
2894c4a53f
Handle the kernel clock service by the kernel.
2002-12-26 13:45:17 +00:00
yamt
4b9c604ba7
- in lfs_reserve, reserve locked buffer count as well.
...
- don't wait for locking buf in lfs_bwrite_ext to avoid deadlocks.
- skip lfs_reserve when we're doing dirop.
reserve more (for lfs_truncate) in set_dirop instead.
this mostly solves PR 18972. (and hopefully PR 19196)
2002-12-26 13:37:18 +00:00
jdolecek
cc09c0a28f
insert newlines to the MAKEDEV section, so that it's more clear
...
what part is MAKEDEV coda and what text
2002-12-26 13:20:44 +00:00
jdolecek
f21116a486
slightly tweak so that the file for vcoda pseudo device is next to
...
pseudo device declaration
2002-12-26 13:19:05 +00:00
yamt
e9bd1836a5
don't try to write all blocks passed to lfs_markv at once
...
since it likely causes buf starvation.
2002-12-26 13:04:39 +00:00
jdolecek
5342a9827c
coda_nc_initialized is not used here, remove local extern defition
2002-12-26 12:40:01 +00:00
jdolecek
efbdd9bcb6
do not need <vcoda.h>/NVCODA here
2002-12-26 12:38:59 +00:00
jdolecek
98d58548c7
move msdosfs code from sys/msdosfs to sys/fs/msdosfs
2002-12-26 12:31:23 +00:00
martin
ffbcb6d927
Conditionalize T_DBPAUSE trap handling on #ifdef MULTIPROCESSOR to make
...
single CPU kernels compile again.
2002-12-26 12:14:31 +00:00
christos
1ee98692bb
Don't leak memory on double init, and don't panic on double fini. Emit
...
a message when diagnostic.
2002-12-26 12:01:42 +00:00
manu
f4d5ba5dbd
Queue and dequeue message replies from kernel servers. This is less efficient,
...
but it sticks closer to the actual Mach semantics: the reply is queued at the
end of the queue. Also add more debug messages on port operations.
2002-12-26 11:41:46 +00:00
junyoung
9f582c3342
Cosmetic changes to reduce diff against GENERIC.
2002-12-26 08:25:20 +00:00
junyoung
41313fe244
#<space>comment...
...
Pointed out by collver1 via PR#18468.
2002-12-26 08:21:56 +00:00
matt
629336e5c6
Regen.
2002-12-26 01:52:00 +00:00
matt
d06eca3d63
Add some more BCM570x variants.
2002-12-26 01:51:27 +00:00
petrov
89143201f7
add db_dump_itlb.
2002-12-25 22:24:56 +00:00
petrov
70bd8bf51e
new function dump_itlb.
2002-12-25 22:05:10 +00:00
jdolecek
d379f66da8
update to post gehenna-devsw world
2002-12-25 17:31:53 +00:00
jdolecek
bd1114bc8e
fix RCS Id
2002-12-25 17:23:22 +00:00
martin
501da0e586
In do not call pppoe_abort_connect if we fail to send the initial PADI
...
packet - there is nothing to abort.
In pppoe_abort_connect rearange state handling slightly to avoid calls
to the PPP LCP state machine get into an infinite recursion.
This should fix the symptoms of PR kern/19500, but does not touch the
real cause for the lossage described there.
2002-12-25 11:54:33 +00:00
jdolecek
6973160773
count input/output bytes for tun device
...
Problem reported and patch provided in PR kern/19554 by Michael van Elst
2002-12-25 08:40:20 +00:00
jdolecek
a80733a697
fix typo in QE_CR_STAT_BITS - bit indication for EDEFER was wrong
...
Reported in kern/19557 by Ron Roskens
2002-12-25 08:24:30 +00:00
toshii
c3e4f1d795
Fix broken programming of VSCALE_HI registers in yuv422_prog.
2002-12-25 06:40:27 +00:00
toshii
7eb93bf41f
Consistently use BKTR_GEN_IRQ and BKTR_RESYNC instead of numbers.
...
Also, do some whitespace cleanup.
2002-12-25 06:20:11 +00:00
toshii
0c6bdb0df1
Merge FreeBSD rev.1.122:
...
Be consistent about "static" functions: if the function is marked
static in its prototype, mark it static at the definition too.
2002-12-25 06:16:58 +00:00
manu
dc403d4519
Bootstrap messages are not for the kernel, they are for mach_init.
2002-12-24 16:40:46 +00:00
manu
b2a7ace594
Better error reporting in mach_msg_trap: this system call does not use the
...
standard error codes.
2002-12-24 15:54:26 +00:00
manu
4d3d28af57
cosmetic
2002-12-24 15:53:46 +00:00
tsutsui
2837b28251
If the chip is in byte access mode for system bus, we should set
...
FE_D6_SBW_BYTE, not clearing FE_D6_SBW_WORD (which is zero).
Pointed out by Christian Groessler.
2002-12-24 13:10:26 +00:00
manu
93b65fbd1d
regen
2002-12-24 12:29:28 +00:00
manu
185383e0a7
Typo
2002-12-24 12:29:06 +00:00
manu
41bfbd28fe
On Darwin, mach_init is the system bootstrap process. It is responsible
...
for forking the traditional UNIX init(8) and it does the Mach port naming
service. We need mach_init for the naming service, but unfortunately, it
will only act as such if its PID is 1. We introduce a sysctl
(emul.darwin.init_pid) to fool a given process into thinking its PID is 1.
That way we can get mach_init into behaving as the name server.
Typical use:
/sbin/sysctl -w emul.darwin.init_pid=$$ ; exec /emul/darwin/sbin/mach_init
2002-12-24 12:15:45 +00:00
manu
c075c4d7f5
Get less debug output
2002-12-24 12:13:15 +00:00
uwe
580c60b346
When scanning HP keyboard, disable output on all scan lines except the
...
one we are currently scanning. This is what Hitachi's sample WinCE
code does. Thanks to YAEGASHI Takeshi for pointing this out!
This makes same row chords work properly, most importantly
Ctrl-@, Ctrl-W, Ctrl-S, Ctrl-Alt-F1 (ctrl row), Ctrl-Alt-F3 (alt row).
2002-12-24 11:49:03 +00:00
jdolecek
94f0c1c2d1
emuxki_intr(): return 1 if interrupt was for us, 0 if not
...
this appear to fix occassional sample repeats on my dual CPU i386
2002-12-24 10:53:03 +00:00
jdolecek
6641019152
add cd9660 subdirectory
2002-12-24 08:12:15 +00:00
david
fa8f4c27d5
isofs dir will be empty after update -dP, now that all contents are in
...
the Attic. Make clean was broken for me without this.
2002-12-24 02:56:10 +00:00
pooka
87a74ecee8
Use crimereg.h definitions for the crime dog. Also, move watchdog
...
disable down the very last possible place in cpu_reboot.
from Chris Sekiya
2002-12-23 21:04:23 +00:00
pooka
8ecf5692ac
add bus_space_vaddr()
...
from rafal
2002-12-23 20:41:47 +00:00
pooka
0dd7013e7a
MACE register definitions
...
from Chris Sekiya
2002-12-23 20:05:06 +00:00
pooka
b31b740c2b
CRIME register definitions
...
from Chris Sekiya
2002-12-23 20:04:22 +00:00
pooka
1fcaee0848
add debug printf
...
from Rafal
2002-12-23 19:49:27 +00:00
pooka
2f32342d20
also create boot.ip32 with the entry point set to the IP32 load address
...
from Chris Sekiya
2002-12-23 19:31:24 +00:00
pooka
fb83173bb6
add some ethernet interfaces
...
from Chris Sekiya
2002-12-23 19:18:34 +00:00
jdolecek
3a8872dee7
move cd9660 filesystem code from sys/isofs/cd9660 to sys/fs/cd9660
2002-12-23 17:52:02 +00:00
jdolecek
5d0e84b25e
flatten the LKM vfs hierarchy a bit - no need for isofs/cd9660, put
...
the LKM code directly to cd9660 directory
2002-12-23 17:45:14 +00:00
jdolecek
9accf4df15
move NTFS code from sys/ntfs to sys/fs/ntfs
2002-12-23 17:38:19 +00:00
jdolecek
5356de155a
move filecorefs code from sys/filecorefs to sys/fs/filecorefs
2002-12-23 17:30:36 +00:00
jdolecek
829bd3c01c
adosfs moved from sys/adosfs to sys/fs/adosfs
2002-12-23 17:23:13 +00:00
jdolecek
8974c3cf90
move adosfs files from sys/adosfs to sys/fs/adosfs
2002-12-23 17:15:20 +00:00
jdolecek
fa3da541f9
update for added ktrsyscall() argument
...
XXX this should probably be converted to use trace_enter()/trace_exit(),
XXX the current code doesn't support systrace
2002-12-23 16:26:13 +00:00
pk
f8055a350c
* Use correct PC value for displaying the called function.
...
* Merge code to display non-kernel frames.
2002-12-23 13:21:10 +00:00
augustss
095017c9ef
Add quirk. From kern/19499, Werner Backes.
2002-12-23 12:42:53 +00:00
augustss
09b10d25e0
Regen.
2002-12-23 12:40:03 +00:00
augustss
cb1f48b543
Add SIIG MULTOCARDREADER. From kern/19499
2002-12-23 12:39:36 +00:00
tsutsui
1bfd32c4f3
Fix pasto in comment.
2002-12-23 09:59:25 +00:00
tsutsui
f9fdb92c0f
Always print the device name first in epic_pci_attach().
2002-12-23 03:57:03 +00:00
tsutsui
fe708bb3ae
Set PCI_PMCSR more properly.
2002-12-23 03:23:00 +00:00
tsutsui
ee29810638
Save PCI_PMCSR value correctly.
2002-12-23 03:06:39 +00:00
tsutsui
238efe4697
Replace magic numbers for power management control with PCI_PMCSR* macros.
...
XXX Should we use pci_get_powerstate() and pci_set_powerstate() in pci.c?
2002-12-23 02:58:36 +00:00
tsutsui
b22b6283f3
Sync with if_rtk_pci.c:
...
- Fix typo in printf message.
- Don't use PCI_PRODUCT_DELTA_8139 (0x1360) for args of cardbus_conf_read()
and cardbus_conf_write(); use CARDBUS_INTERRUPT_REG (0x3c) instead.
2002-12-23 02:19:22 +00:00
tsutsui
b4354edb93
Don't use PCI_PRODUCT_DELTA_8139 (0x1360) for args of pci_conf_read() and
...
pci_conf_write(); use PCI_INTERRUPT_REG (0x3c) instead. (How does it work?)
2002-12-23 02:12:49 +00:00
tsutsui
199ad243a0
Fix typo in printf message.
2002-12-23 01:58:26 +00:00
gmcgarry
6b5b61b136
Update for revised ktrsyscall() prototype.
...
Perhaps this file should be changed to use trace_enter() so that
systrace works for aliased syscalls? Leave that for someone familiar
with the systrace system.
2002-12-23 01:08:45 +00:00
pk
f953a01835
xcallintr() receive a `clockframe *' argument, not a `trapframe *'.
...
Setup a DDB context for paused CPUs by defining a soft trap (T_DBPAUSE)
which uses the generic trap handler code to get the trapframe constructed
and then calls on a debugger-defined `suspend' routine.
2002-12-23 00:55:16 +00:00
pk
5c62f82bdf
Upon trap exit, update the trapframe with data for the running CPU rather
...
than the one which was the last target of the `machine cpu' command.
2002-12-23 00:42:37 +00:00
kanaoka
31623769c9
Resolve conflict from acpica-unix-20021205.
2002-12-23 00:22:04 +00:00
kanaoka
932351b509
Import INTEL acpica 20021205 release.
2002-12-23 00:01:36 +00:00
manu
360f1c3ebe
Cosmetic changes, added a debug printf
2002-12-22 21:51:56 +00:00
yamt
362c57a2d2
add a XXX comment. (description of possible deadlock)
2002-12-22 17:31:52 +00:00
wiz
ea577b210e
Debugging is usually spelled with three gs.
2002-12-22 13:50:35 +00:00
ichiro
7bda39e405
Use generic_bs_wr_4 for writing region
2002-12-22 11:28:37 +00:00
ichiro
2c9ff5a338
Use generic_bs_sr_4
2002-12-22 11:24:07 +00:00
mrg
131dc6aa08
catch up with changes in sparc64/autoconf.c.
2002-12-22 02:54:34 +00:00
mrg
6ee482ef5b
change what 'hw.model' reports to be more inline with other netbsd ports, as
...
well as reporting the actual machine model & cpu, rather than first configured
CPU. changes for two machines are:
old:
hw.model = TMS390Z50 v0 or TMS390Z55 @ 75 MHz, on-chip FPU
hw.model = SUNW,UltraSPARC @ 143.002 MHz, version 0 FPU
new:
hw.model = SUNW,SPARCstation-20 (TMS390Z50 v0 or TMS390Z55 @ 75 MHz, on-chip FPU)
hw.model = SUNW,Ultra-1 (SUNW,UltraSPARC @ 143.002 MHz, version 0 FPU)
as per discussion on port-sparc & port-sparc64.
2002-12-22 02:17:24 +00:00
gmcgarry
85dbe5f6c5
Make the DMA controller a separate device attached to intio. Intio
...
devices can use the DMA controller too.
2002-12-22 00:17:13 +00:00
gmcgarry
75851dc4ed
Make this compile with LOCK_DEBUG
2002-12-22 00:11:10 +00:00
gmcgarry
66c19fc50c
Add stubs for scheduler syscalls.
2002-12-22 00:05:59 +00:00
gmcgarry
87aecbbd2c
Add scheduler syscalls.
2002-12-22 00:04:29 +00:00
gmcgarry
53bdf646b5
Use yield() for voluntary context switches.
2002-12-22 00:00:22 +00:00
gmcgarry
c4b66baf3f
We do want yield() for voluntary context switches. Update comment.
2002-12-21 23:57:57 +00:00
gmcgarry
f8f2c11fe0
Re-add yield(). Only used by compat code at the moment.
2002-12-21 23:52:05 +00:00
manu
8958b6f9ba
Handle receive operations on port sets
2002-12-21 23:50:47 +00:00
manu
ccd9e9a24d
Fix plain bugs that prevented insert_right and move_member from working correctly.
2002-12-21 23:50:00 +00:00
manu
3ee2623baa
Make it build again
2002-12-21 23:48:47 +00:00
manu
4a06119a9d
Pass the system call table to trace_enter() and ktrsys() so that it is
...
possible to use alternate system call tables. This is usefull for
displaying correctly the arguments in Mach binaries traces.
If NULL is given, then the regular systam call table for the process is used.
2002-12-21 16:23:56 +00:00
manu
ebf321d707
Comment what e_fault in struct emul does
2002-12-21 16:22:10 +00:00
kristerw
06c22c74ac
sf_copy_small is not used anywhere. Remove.
2002-12-21 16:15:28 +00:00
kristerw
2ce6431736
wm_copy_small in not used anywhere. Remove.
2002-12-21 16:12:15 +00:00
kristerw
084ae1f838
ibcs2_debug is used only for IBCS2_DEBUG, so no need to define it otherwise.
2002-12-21 15:48:57 +00:00
kristerw
0828199fd1
aarptab_size is never used. Remove.
2002-12-21 15:45:10 +00:00
kristerw
14d4c7d175
Move dp8390_debug to the #ifdef DEBUG section.
2002-12-21 15:24:42 +00:00
pk
4e0634669b
* xcallintr(): use cpuinfo directly again.
...
* nmi_soft(): remove most of the obsoleted requests.
2002-12-21 12:55:54 +00:00
pk
0408b1cbc8
tlb_flush_segment() and tlb_flush_region() now take a virtual address
...
argument instead of segment and region numbers.
2002-12-21 12:52:55 +00:00
pk
82815de0ad
Use xcall() to broadcast MMU TLB flushes.
2002-12-21 12:13:38 +00:00
pk
8dcde9f5b1
* cpu_hatch(): enable interrupts upon return from cpu_setup().
...
* interrupt trap: acquire the kernel lock only for interrupt levels <= PIL_SCHED
2002-12-21 11:57:41 +00:00
pk
1d8dc4daf2
* getcacheinfo_obp(): also initialise the cacheinfo i/d associativity fields
...
in the case of a unified cache.
* xcall(): slightly optimise the `wait for other CPUs' loop.
2002-12-21 11:48:55 +00:00
yamt
4370be165c
add a XXX comment
2002-12-21 05:35:54 +00:00
thorpej
899e58abe7
Bump ramdisk size to 2920 blocks.
2002-12-20 23:14:14 +00:00
atatat
da6a21704a
Spelling police. "DETATCH" is not the right speling.
2002-12-20 20:57:26 +00:00
fredette
9d97e92d89
If the user is providing a mode value in AUDIO_SETINFO, that value
...
cannot change the recording or playback mode of the device, it can
only change other mode-like values (like AUMODE_PLAY_ALL). Be very
explicit about fixing up the user's mode value based on the mode of
the device. Before, giving AUMODE_PLAY_ALL could cause AUMODE_PLAY
to become set on the device, and once AUMODE_PLAY_ALL was set it
was impossible to clear.
2002-12-20 18:30:01 +00:00
atatat
84a6247a30
Properly set page references counts at the start of the newly
...
allocated ppref data to zero in the case of an amap that has empty
space at the front.
Don't set anything in the ppref array if "len" is zero.
Many thanks to Sami Kantoluoto for providing gdb access to a machine
that would reliably crash with problems related to the above, and to
Stephan Thesing for corroborating that the patch properly addressed
the problem.
Note that the ar_pageoff (and related variables) types must be changed
soon. The use of "int" here is not theoretically sufficient.
2002-12-20 18:21:13 +00:00
tsutsui
738ea71fdd
Remove __P().
2002-12-20 16:54:15 +00:00
tsutsui
2cac3aae2d
Remove __P().
2002-12-20 16:39:10 +00:00
tsutsui
0687b33b99
Remove __P().
2002-12-20 16:23:46 +00:00
scw
4e87eae834
Use Software Single Stepping for now when PPC_IBM4xx is defined. The
...
existing hardware assisted method doesn't work on this cpu.
Also correct the "I_B" constant in db_machine.h.
2002-12-20 15:23:12 +00:00
gmcgarry
a5424a9df1
Remove yield() until the scheduler supports the sched_yield(2) system
...
call.
2002-12-20 05:43:09 +00:00
gmcgarry
74da856861
yield() -> preempt().
2002-12-20 05:06:25 +00:00
gmcgarry
16f1be1856
Flag a context switch using need_resched() rather than invoking yield().
...
Matches the linux compat approach.
2002-12-20 04:58:44 +00:00
bsh
9e1fd4dd36
Driver for keyboard controller in the SA-1111 companion chip.
...
Our PC keyboard driver (sys/dev/pckbc/pckbd.c) works only with 8042
keyboard controller driver (sys/dev/ic/pckbc.c). So, This file
provides same functions as those of 8042 driver.
XXX: we need cleaner interface between the keyboard driver and
keyboard controller drivers.
XXX: PS/2 mice are not supported yet.
2002-12-20 04:12:51 +00:00
bsh
7b1d3e8b2b
comment out a file that is not in the tree yet.
2002-12-20 01:10:11 +00:00
thorpej
4c82425f5e
Regen: reserved syscall slots for sigwaitinfo(2), sigtimedwait(2),
...
and sigqueue(2).
2002-12-19 23:53:42 +00:00
thorpej
39e4cd68c4
Reserve syscall slots for sigwaitinfo(2), sigtimedwait(2), and
...
sigqueue(2).
2002-12-19 23:51:00 +00:00
kleink
ac7290d7c2
Add a sysconf(3) knob for {ATEXIT_MAX}.
2002-12-19 23:31:54 +00:00
manu
3b71b464b2
First attempt on mach ports sets. Also maitian only one list of rights
...
per process, as segregating recv, send and send_once did not buy anything.
2002-12-19 22:23:06 +00:00
thorpej
2a39e8388d
Merge the IBM 4xx into the common powerpc/locore_subr.S, and
...
eliminate all the duplicated context switch related code in
the IBM 4xx port.
2002-12-19 19:37:25 +00:00
thorpej
a6dc36fa4e
Build LKMs with -msoft-float.
2002-12-19 19:36:26 +00:00
pk
f0a20f1305
* mark selected fields of `struct xpmsg' as volatile, instead of the whole
...
structure.
* change volatile => __volatile
2002-12-19 16:31:38 +00:00
scw
c10c20ac28
Add a range check for the DCR address in db_ppc4xx_dcr().
2002-12-19 13:45:03 +00:00
scw
de98ba0a49
Add a "machine dcr" command, for the IBM4XX case, which permits
...
reading/writing of the cpu's DCR registers.
2002-12-19 13:29:53 +00:00
pk
2fba4e01ff
Mark CPUs that did not spin up properly and don't enable them later on.
2002-12-19 11:20:30 +00:00
pk
75c5f270d2
Brush-up the generic cross-call routine and use it to implement the SMP
...
cache flush ops.
Also a standard soft interrupt handler for standard cross-call notification
reserving the NMI level 15 softint for urgent cross calls.
2002-12-19 10:38:28 +00:00
pk
eaf530d598
Sprinkle volatiles to avoid register allocation, esp. in cross-call
...
synchronisation functions used in SMP kernels.
2002-12-19 10:30:39 +00:00
pk
ec2b1c3c64
smp_cache_flush() also takes a context parameter.
2002-12-19 10:27:19 +00:00
jmc
8630685f69
Add support for page tables
2002-12-19 09:59:47 +00:00
jmc
ef48ba7693
Add a minphys routine since the single largest packet is less than minphys()
2002-12-19 09:58:24 +00:00
jmc
31f02beb7c
Add defines for supporting page tables
2002-12-19 09:56:10 +00:00
jmc
9980e6b848
Updates
2002-12-19 07:22:40 +00:00
augustss
1b5acb64d0
Initialize the media to 10baseT. From Steph Bailey.
2002-12-19 07:15:05 +00:00
jmc
092fe54e3d
Add additional debugging for fwohci_arrq_input: no listener conditions
2002-12-19 02:15:31 +00:00
martin
324c47457d
Since we have to select one of the two possible PHYs when configuring
...
the MIF Configuration Register PHY_Select, there is no use in pretending
we could talk to both at the MII interface layer.
If both PHY are reported to be present, prefer the external one.
Remember this selection and enforce it in hme_mii_{read,write}reg.
This fixes problems with one of the dual hmes in Netra T1s.
From OpenBSD.
2002-12-18 23:13:02 +00:00
tron
c4b584f5c4
Use "NULL" instead of "0" in pointer checks.
2002-12-18 14:12:33 +00:00
yamt
0d95cc5d66
correct/add assertion.
2002-12-18 14:05:50 +00:00
pk
2076dbdb04
Install the sparc V8 multiply/divide routines after we've collected some
...
basic information on the CPUs.
2002-12-18 11:56:43 +00:00
mrg
1a854929dd
we use nmi_hard and nmi_soft on SUN4D as well
2002-12-18 06:20:36 +00:00
jmc
62da7b9c60
Add SBP2_MAXPHYS
2002-12-18 06:08:21 +00:00
bsh
b757504104
Config information for Intel PXA2xx application processors.
2002-12-18 05:47:31 +00:00
bsh
ee778f8dfa
config staff for Lubbock
2002-12-18 04:56:52 +00:00
jmc
fe19747374
Redo state handling as ack's, status, etc can come in and be processed in
...
various orders depending how the upper level driver is flushing it's queue's.
This prevents the deadlocks I was seeing before with >8k writes.
XXX: Still not completely there as > 64k copies trigger bugs and the page
table support still needs to be written to break those down.
2002-12-18 04:48:33 +00:00
bsh
5f7d2415b6
back out a part of my previous commit.
2002-12-18 04:25:56 +00:00
bsh
7e91daa3b3
guard against being included twice
2002-12-18 04:20:36 +00:00
bsh
35345c15f5
+ protect against including twice
...
+ add struct sa1111_attach_args for keyboard controller support.
2002-12-18 04:16:09 +00:00
bsh
b454cbf9c6
+ protect against including twice
...
+ add bit definitions in SKCR
+ add keyboard controller registers
2002-12-18 04:09:31 +00:00
manu
f037b240d0
Instead of keeping track of the receiving process in struct mach_port,
...
keep track of the receive right for the port. There can be only one, and
the receive right references struct proc should we need it.
This makes easier to find the receive right associated with the port.
2002-12-17 22:48:33 +00:00
manu
391c8a71fc
In mach_ports_lookup, allow the out of band data mapping anywhere we have
...
some free space
2002-12-17 22:47:07 +00:00
gmcgarry
5abd84e433
Use callee-saved registers in RAS processing.
2002-12-17 20:49:07 +00:00
gmcgarry
7443ad1b01
Move to MI runqueue functions.
2002-12-17 19:47:15 +00:00
manu
5ba396cfb3
Added support for exchange of Mach messages between processes.
...
This does not buy us new functionnality for now, because we still have to
discover how mach_init (which acts as a name server, enabling processes to
discover each other's ports) is able to receive messages from other processes
(this is a bootstrap problem, and the bootstrap port might be the place to
search).
While we are there:
- removed a lot of debug which is now available using ktrace.
- reworked message handling to avoid mutliple copyin/copyout of the
same data. ktrace of Mach message now uses the in-kernel copy of the
message instead of copying it from userland.
- packed mach trap handlers arguments into a structure to avoid modifying
everything next time we have to add an argument.
2002-12-17 18:42:54 +00:00
yamt
beff0dd387
#if 0 out vnode unlock/lock in lfs_reserve for now and add a comment about it.
...
deadlock is better than corruption (or panic), IMO.
2002-12-17 15:23:37 +00:00
yamt
a999523301
no need for cleaner to hold vnode locks.
...
cleaner and normal vnode operations are synchronized enough by
seglock/fraglock and buf's B_BUSY-ness.
2002-12-17 14:37:49 +00:00
yamt
b2d5b49e2b
use ufs_daddr_t instead of int where appropriate.
2002-12-17 14:28:54 +00:00
simonb
5b6caeca74
Mark the Au1x00 CPUs as having a fully coherent data cache that doesn't
...
require flushing (even in the instruction cache handlers). This gives
about a 4% improvement in a "make depend" benchmark.
Mark the SB-1 CPUs as having a fully coherent data cache that only
require flushing in the instruction cache handlers. This gives about
a 5% improvement in a "make depend" benchmark.
2002-12-17 12:07:50 +00:00
simonb
2c1a832f25
Add support for caches where the data cache is fully coherent, and
...
either requires flushing either only when the I cache ops are used
or not at all. Currently only used by MIPS32/MIPS64 cache code.
2002-12-17 12:04:29 +00:00
simonb
4ec8d15e0d
Use the already-filled-in-but-not-used native syscall args in
...
linux_sys_mknod().
2002-12-17 11:48:02 +00:00
tron
ad9b98744f
Include "uvm/uvm_param.h" to get definition of PAGE_MASK required for
...
last change.
2002-12-17 10:42:02 +00:00
pk
a26cbfba69
Deal with an `unimplemented flush' trap from kernel mode.
2002-12-17 10:04:19 +00:00
pk
456e1ad2d2
Establish high-level interrupt with IPL_SERIAL.
2002-12-17 08:32:12 +00:00
elric
0e1a1badc4
Memset disklabel area to zero before beginning when constructing default
...
labels. Problem noticed and tested by dan@.
2002-12-17 01:55:44 +00:00
christos
c0bc51eec5
Don't allow non-page-aligned offsets! So dumb. From Jason Ish, thanks.
2002-12-16 19:37:03 +00:00
jdolecek
30f7194bc4
use the __HAVE_CPU_MAXPROC hook to limit kern.maxproc to number
...
of available GDT slots
add code in init386() to force maxproc to be maximum cpu_maxproc()
this fixes port-i386/1635 by John Kohl
2002-12-16 18:31:08 +00:00
fvdl
f11e75d5f6
Remove comparison of u_int8_t value to (512 - a few bytes), since it's
...
always false. As found by gcc-current.
2002-12-16 18:27:20 +00:00
jdolecek
94062cc04a
add support for optional arch-specific restriction of valid value
...
for kern.maxproc
2002-12-16 18:15:18 +00:00
pk
c2ddc52f2d
The cache flush routines now take a CPU context parameter. This is going
...
to be necessary in SMP kernels.
2002-12-16 16:59:09 +00:00
pk
b036b089a7
Multiple inclusion protection.
2002-12-16 16:24:40 +00:00
fvdl
4bd73a650e
Remove leftover declarations used for debugging purposes only.
2002-12-16 16:22:50 +00:00
jdc
0a3a2262cb
Increment version number for match function and Cycle 5 IP changes.
2002-12-16 13:02:58 +00:00
jdc
079b83cafa
Extend the matching routine to take a function pointer, so that additional
...
(arbitrary) matching can be done.
Add match function and patch for Cycle 5 IP (Sparc 5 clone).
Reviewed by Uwe.
2002-12-16 13:01:01 +00:00
thorpej
6ff0a8ba21
Initialize pools in pmap_init(); the low-water mark must be set when
...
it is safe to allocate pages via the normal mechanism.
2002-12-16 07:18:30 +00:00
thorpej
7affeb0071
Add support for RAS (initially added by me on nathanw_sa branch).
2002-12-16 02:15:58 +00:00
thorpej
9ad045c958
Use MI setrunqueue()/remrunqueue().
2002-12-16 01:56:47 +00:00
martin
ae7d5baab6
Fix pasto - make it compile for !MULTIPROCESSOR
2002-12-15 23:01:09 +00:00
jmcneill
ee462f15e8
Another sizeof -> 4 + 2048 fix for dvd_read_manufact after malloc changes
2002-12-15 17:48:14 +00:00
jmcneill
675603655c
In dvd_read_disckey, sizeof(buf) is no longer '4 + 2048' after the
...
malloc change. Replace 'sizeof(buf)' with '4 + 2048' -- this makes
dvd_read_disckey work properly again.
2002-12-15 17:43:50 +00:00
pk
9313f9570d
Disable `unimplemented flush' traps during boot. Keep it disabled on
...
non-MULTIPROCESSOR kernels.
2002-12-15 15:01:08 +00:00
takemura
e9628b7102
Added Vrc4173PIU. (touch panel interface unit on Vrc4173)
2002-12-15 09:24:24 +00:00
takemura
564a7fd556
Changed SCALE value from (1024*1024) to (1024*256) to support large (1024<)
...
sample values.
2002-12-15 09:17:07 +00:00
fvdl
74fe783bef
Avoid using a lot of kernel stack.
2002-12-15 01:56:02 +00:00
fvdl
530a60a1e0
Don't waste too much kernel stack space on (infrequent) ioctl operations,
...
use malloc instead for temp space.
2002-12-15 01:55:44 +00:00
manu
b8a9df5e21
FIrst attempt at mach ports and rights, which are needed if we ever want
...
to implement messages between kernel and userland.
While we are there, cleanup some debug messages.
2002-12-15 00:40:24 +00:00
pooka
a2e85e2b1c
Silly me for assuming that the CT5880 cards could be identified by looking
...
at which ones had the Product ID CT5880. Try to get the checks right now.
Also add ES1373_8 to the list.
2002-12-14 17:52:47 +00:00
christos
cc079cff49
release the kernel lock if trace_enter fails.
...
XXX[1]: We need to fix all platforms that do this.
XXX[2]: x86 does not check for MPSAFE syscalls before grabbing the lock.
2002-12-14 14:52:24 +00:00
fvdl
b2622c34d6
In syscall_fancy(), drop the kernel lock if trace_enter fails.
...
From Nick Hudson.
2002-12-14 14:40:36 +00:00
yamt
a79cb6db43
- in lfs_bwrite_ext, if we're cleaner,
...
mark inode IN_CLEANING rather then IN_MODIFIED.
otherwise cleaned (indirect) blocks belongs to the inode isn't written
until next sync.
- add assertions.
2002-12-14 13:41:25 +00:00
yamt
e5ea55e4ea
in lfs_writefile, check v_type==VNON earlier.
...
to avoid null dereference with DEBUG_LFS_VERBOSE.
2002-12-14 11:54:47 +00:00
junyoung
16c0ce8d78
Fix comment.
...
De-__P().
2002-12-14 09:46:36 +00:00
junyoung
058737862e
Now that gdt_compact() is gone, #if 0'ed gdt_shrink() doesn't need to be
...
here, either. Remove other #if 0 code as well.
2002-12-14 09:38:50 +00:00
tsutsui
e0481a14c5
Change type of dumpmag from u_long to u_int32_t to sync with other ports.
2002-12-14 05:23:19 +00:00
christos
fa65bb7322
Add /dev/twex support. To be used with FreeBSD's 3dmd.
...
Initial port from Masaru OKI <oki@netbsd.org>, with KNF, memory leak fixes,
denial of service problems, and null pointer fixes from me.
2002-12-13 23:31:32 +00:00
christos
0cc4fbf335
add twe control device
2002-12-13 23:26:47 +00:00
fredette
856e98cd30
bcopy -> memcpy, bzero -> memset
2002-12-13 20:44:44 +00:00
drochner
9ab86cb8ae
do a TBIAS after modifying cache enable bits
2002-12-13 18:52:56 +00:00
drochner
b36fe906bf
scatter some pmap_update(pmap_kernel()) to reduce differences to other ports
2002-12-13 18:50:22 +00:00
drochner
53cb6b767d
use <net/netisr_dispatch.h>
2002-12-13 18:49:35 +00:00
fvdl
8cbcf0f7a3
Remove check for 32bit-only access of the old syscall path.
2002-12-13 17:44:13 +00:00
yamt
8fe8a4ced8
save a segment write when doing checkpoint.
2002-12-13 14:40:02 +00:00
scw
173ca7d4d0
Add support for i830/i845 agp. From Shingo WATANABE (on tech-x11) and
...
FreeBSD, with cleanup/KNF by me.
Note: These chipsets are not well supported by the i810 driver in
NetBSD's in-tree xsrc (based on XFree86 4.2.1 at this time). However,
the driver works perfectly using bleeding-edge XFree86-current on my
Omnibook's i830MG with these agp changes.
2002-12-13 11:32:50 +00:00
jmc
e627b7fefc
Improve performance with disks almost 60x by redoing the callback handler to
...
accept ranges as well as single addresses. Still need to go through any key
areas and remove the malloc's and replace these with some sort of pooling
instead.
2002-12-13 07:47:52 +00:00
fvdl
81a877b0f1
Restore all registers at sigreturn.
2002-12-13 02:52:10 +00:00
lukem
7f7f9da211
minor delint
2002-12-13 02:36:37 +00:00
manu
530e1a6b60
Added thread_switch and some bits of Mach semaphores
2002-12-12 23:18:20 +00:00
fvdl
ac22ef18d8
Remove redundant cli/sti instructions. From Enami Tsugutomo.
2002-12-12 21:39:33 +00:00
jdolecek
300acddf8c
don't allow kern.maxproc bigger than PID_MAX - PID_SKIP; the pid allocation
...
code in fork1() would enter endless loop if all the allowed pids are taken
by running processes
2002-12-12 20:54:58 +00:00
jdolecek
d18332248c
replace magic number '500' in pid allocation code with a macro PID_SKIP,
...
defined in <sys/proc.h> (along PID_MAX, NO_PID)
2002-12-12 20:41:45 +00:00
christos
61b8a488ba
Add empty shells of new functions so we can keep compiling.
2002-12-12 17:42:10 +00:00
christos
09e9a5cde9
This new file is wanted by compat_darwin.
2002-12-12 17:41:53 +00:00
christos
c9498dd93c
add missing dependency.
2002-12-12 17:41:19 +00:00
christos
ebad7fe0c2
always prototype mach message support.
2002-12-12 17:40:55 +00:00
christos
80564fa341
always compile in mach ktrace support; it is to small to bother.
2002-12-12 17:40:40 +00:00
masuda
91481144ea
Now that OpenBlockS code lives in evbppc, this directory is no longer needed.
...
OK'd by masuda.
2002-12-12 13:54:43 +00:00
masuda
edba4e9dbc
Added some descriptions of OpenBlockS products just for your information.
2002-12-12 13:45:27 +00:00
masuda
8d55809f2f
Description file for OpenBlockS S and R.
...
Those products are shipped from Plat'Home Inc.
See http://www.plathome.co.jp/
2002-12-12 12:51:37 +00:00
yamt
275b3a47a2
correct DIAGNOSTIC code for duplicated inodes in a segment and su_nbytes.
2002-12-12 12:28:13 +00:00
pk
f4fe3fda21
dumpsys(): Use pmap_kremove() to unmap pages mapped pmap_kenter().
2002-12-12 09:34:04 +00:00
manu
98bc8767ae
Bug fixes:
...
- In case of ailure in the child, kill the child and wakeup the parent
- Do call child_return
- The src and dst args were mixed up when copying regs 0-31 to the trapframe
This makes pthread_create(3) fully working (test program works).
2002-12-12 08:23:27 +00:00
manu
66a29c52af
Added a few Mach traps: mach_boostrap_register, mach_port_set_attributes,
...
mach_port_move_member, mach_port_set_attributes, mach_task_set_special_port,
(none do anything)
Added mach_thread_create_running, which creates a new Mach thread. It
provides the register context of the new thread. We use it in a child
function provided to fork1(). The child function is machine dependent and
is not yet implemented for i386.
The new thread crashes quickly, but at least it starts.
2002-12-12 00:29:23 +00:00
abs
39387a63f4
Define nofile and maxuprc variables (set to NOFILE and MAXUPRC), so they can
...
be patched in a compiled kernel.
2002-12-11 23:23:45 +00:00
abs
603a2bdd3d
Allow NOFILE to be overridden in kernel configs, similar to MAXUPRC
2002-12-11 23:22:03 +00:00
jdolecek
9cdaccbbdd
regen: add Madge Networks Smart 16/4 PCI Ringnode Mk2 entry
2002-12-11 21:35:19 +00:00
jdolecek
62c201e271
add Madge Smart 16/4 PCI Ringnode Mk2 entry
2002-12-11 21:34:36 +00:00
manu
39e39a5b0f
Added vm_inherit mach trap.
2002-12-11 21:23:37 +00:00
jdolecek
0c7b52a284
linux_sys_mknod(): if creating device file (i.e. !fifo case), mask
...
the passed device number to only contain lower 16 bits; older glibc
appears to pass some junk in upper bits sometimes, resulting in incorrect
device entries being created
Problem initially analyzed by Thor Lancelot Simon.
2002-12-11 19:30:39 +00:00
manu
4d607adf4f
Load __OBJC and ____CGSERVER sections of Mach-O binaries as __TEXT.
2002-12-11 19:28:41 +00:00
jdolecek
5fd22809a5
Add kern.forkfsleep sysctl - set/get time (in miliseconds) for which
...
process would be forced to sleep in fork() if it hits either global
or user maxproc limit. Default is zero (no forced sleep).
Maximum is 20 seconds.
2002-12-11 19:14:34 +00:00
atatat
7ede0eeb03
Provide a ioctl called FIOGETBMAP (there are some who call
...
it...FIBMAP) that translates a logical block number to a physical
block number from the underlying device. Via VOP_BMAP().
2002-12-11 18:25:03 +00:00
jdolecek
f13ab92159
put back portion of fork-bomb protection removed in last commit,
...
and make the sleep length depend on value of variable forkfsleep;
it's set to zero by default (no sleep)
this is a preparation for making the sleep length settable via sysctl
2002-12-11 18:09:07 +00:00
jdolecek
5ea539a0c5
reserve sysctl number for kern.lwp, which is used on nathanw_sa branch
2002-12-11 17:32:53 +00:00
atatat
89b889a8a7
Always recompute the IP checksum, otherwise fast-routed packets that
...
also get natted leave with an invalid checksum which can prevent
things from working properly.
2002-12-11 16:33:11 +00:00
atatat
944cb6f8ff
Add /* MEMORY_DISK_SERVER */ comments to the #endifs to match the #ifdefs.
2002-12-11 16:24:38 +00:00
joda
86b7f22e4f
cpuid feature bit 30 is set on IA-64 (in x86 mode)
2002-12-11 13:50:14 +00:00
yamt
9097ffce96
take care of B_CLRBUF in lfs_balloc.
...
otherwise you'll see uninitialized blocks.
2002-12-11 13:34:14 +00:00
pk
047870f66e
softintr_establish(): append handler to the list for the actually choosen
...
processor interrupt level.
2002-12-11 13:21:19 +00:00
scw
5238505cfe
KERN_MAXID needs to be one more than the last sysctl. Spotted by simonb.
2002-12-11 13:12:48 +00:00
ad
42c8a17c80
Fix typo.
2002-12-11 13:02:31 +00:00
scw
39a5a9dc76
Add two sysctls: kern.labelsector and kern.labeloffset.
...
These are of use to userland code which previously depended on the
hard-coded values of LABELSECTOR and LABELOFFSET to figure out the
location of the disklabel for a particular platform.
With the introduction of umbrella ports such as evbarm, evbmips, etc,
the location of the disklabel may vary between kernels for the same
MACHINE. This sysctl will allow userland programs to remain independent
of the particular flavour of MACHINE in such cases.
2002-12-11 12:59:29 +00:00
scw
36109bbc9c
Avoid strict-alias warnings.
2002-12-11 12:13:11 +00:00
fvdl
a167f47c0c
Since a CPU may spin waiting for another CPU to handle an IPI, an
...
IPI must be the very first thing to be handled in splx(), if it
had been blocked before. Change things around a bit to guarantee
this.
2002-12-11 12:02:07 +00:00
pk
e675712f0d
* loadfile() return a file descriptor that must be closed.
...
* check the kernel size before loading
2002-12-11 10:35:06 +00:00
pk
bd20047a69
Only display the final progress counter if any of the LOAD_ flags was given.
...
Fix comment describing the return value.
2002-12-11 09:55:20 +00:00
thorpej
130e5c278b
UVM_KMF_NOWAIT -> UVM_FLAG_NOWAIT
2002-12-11 07:14:28 +00:00
thorpej
8ae922d8a7
Define a UVM_FLAG_NOWAIT, which indicates that we're not allowed
...
to sleep. Define UVM_KMF_NOWAIT in terms of UVM_FLAG_NOWAIT.
From Manuel Bouyer. Fixes a problem where any mapping with
read protection was created in a "nowait" context, causing
spurious failures.
2002-12-11 07:10:20 +00:00
junyoung
65ce86ee32
'.' was missing in license notice.
2002-12-11 05:49:34 +00:00
groo
b9df764f32
Remove portion of fork-bomb protection that has unfortunate side effects.
2002-12-11 05:01:22 +00:00
perry
c2afe21c94
Change from a hardcoded sanity check date that has to be updated by
...
hand every few years to code that uses the automatically generated
time value from config_time.h
Fixes an ancient XXX in the code.
2002-12-10 23:24:33 +00:00
bouyer
e69ba7cb79
Commit patch I sent to tech-net on 29/09/2002:
...
The driver puts the adapter in promisc mode to receive multicast addresses.
At last set the IFF_PROMISC flag so that the upper layer filters frames
that are not for us.
Sure, the real fix would be to get multicast filters working ...
2002-12-10 21:50:32 +00:00
manu
8d921b897b
Added a few traps: port_type, port_set_attributes, port_insert_member,
...
and vm_protect.
This makes Darwin's /usr/bin/telnet working
2002-12-10 21:36:45 +00:00
fvdl
e718b57a20
Silence strict-alias warning.
2002-12-10 20:56:30 +00:00
fvdl
c4045d2838
Avoid strict-alias warning.
2002-12-10 20:45:31 +00:00
fvdl
c21b595185
Use 0xff as the 'unknown processor type' (which is what Linux does).
2002-12-10 20:06:43 +00:00
atatat
7fead95d43
Remove an antiquated comment and make .depend depend on config_time.h
...
so that the depend target can properly complete now that perry has the
time to use the time.
2002-12-10 19:33:11 +00:00
fvdl
ddb412e581
Define NFS_WSIZE and NFS_RSIZE as on i386.
2002-12-10 17:57:19 +00:00
thorpej
e8cc3884de
Rename __LDPGSZ to AOUT_LDPGSZ, to accurately reflect what it is.
2002-12-10 17:14:02 +00:00
toshii
cf41cc5294
Add a couple of le32toh which were missing in the previous.
...
Pointed out by SOMEYA Yoshihiko.
2002-12-10 14:07:37 +00:00
drochner
cc12f9fb4e
remove ttydefchars declaration which was wrong anyway,
...
a correct one is now pulled in from <sys/ttydefaults.h>
2002-12-10 13:50:10 +00:00
pk
725a6aebf7
Remove the `flags' argument from bus_intr_establish().
2002-12-10 13:44:47 +00:00
itohy
6e91aedc2d
Use use WSMOUSE_TYPE_MAPLE.
...
Enable periodic GETCOND only if the mouse is enabled.
2002-12-10 13:19:10 +00:00
itohy
9cd48c7572
Use WSKBD_TYPE_MAPLE.
2002-12-10 13:18:04 +00:00
itohy
32c9c7f1cc
Add WSKBD_TYPE_MAPLE and WSMOUSE_TYPE_MAPLE for Dreamcast Maple bus devices.
2002-12-10 13:05:09 +00:00
pk
68817a2024
bus_intr_establish() signature change.
...
The additional `fast trap' argument is ignored in these drivers.
BUS_INTR_ESTABLISH_FASTTRAP and BUS_INTR_ESTABLISH_SOFTINTR are no longer used.
2002-12-10 12:24:05 +00:00
pk
db6d8afe02
bus_intr_establish() signature change.
...
The additional `fast trap' argument is ignored in these drivers.
2002-12-10 12:21:02 +00:00
pk
7007959dc1
Switch to softintr(9).
2002-12-10 12:17:35 +00:00
pk
5446e96bac
bus_intr_establish() now takes an optional `fast trap' handler argument.
...
BUS_INTR_ESTABLISH_FASTTRAP and BUS_INTR_ESTABLISH_SOFTINTR are no longer used.
2002-12-10 12:16:25 +00:00
pk
45c45fca81
intr_establish() signature change: pass NULL for the `fast trap' argument.
2002-12-10 12:13:24 +00:00
pk
fe233fdc10
The `fast trap' handlers are now pssed as an optional argument to
...
bus_intr_establish(). Allow fall-back on a regular interrupt handler if
the interrupt level must be shared with another device.
2002-12-10 12:11:21 +00:00
pk
4f62e0f7c8
* intr_establish() now takes an optional `fast trap' routine argument.
...
* also remove __P().
2002-12-10 12:04:51 +00:00
pk
6f945ab887
Allow a `fast trap' handler installation to be undone if an interrupt level
...
must be shared. This requires drivers that request the installation of
a `fast trap' handler to supply a regular interrupt handler as well to fall
back on.
The `fast trap' routine (if present) is now passed as an additional
argument to intr_establish().
2002-12-10 12:03:08 +00:00
rafal
3171f081c8
Make this work on fast platforms by making sure signals are held for at
...
least 1us. Documentation I've found for the simple (SPP) parallel port
mode says that data should be stable 500ns before STROBE, STROBE should
be pulsed for no less than 500ns, and that data should be stable another
500ns after STROBE has been de-asserted.
Makes lpt@ebus on my Sun Ultra5 work with my HP DeskJet 712C, at least in
polled mode. Thanks to Martin for astutely noting it was probably a bug
with STROBE being pulsed too quickly.
2002-12-10 07:19:25 +00:00
hamajima
764daa3585
turn off light of LCD, when I closed cover
2002-12-10 06:18:07 +00:00
thorpej
78ea2dd367
Use __LDPGSZ (which must be == USRTEXT) as the text address for a.out
...
executables, and eliminate the USRTEXT constant, which was only used
by the a.out exec code.
2002-12-10 05:14:24 +00:00
thorpej
f09fc7f074
Don't include <i386/isa/icu.h>
2002-12-10 05:05:11 +00:00
thorpej
9004406585
Error out if we get an unexpected buffer type.
2002-12-10 01:09:09 +00:00
simonb
5115869b27
Fix pickier constraints in gcc 3.3. Kernels compiled with gcc
...
"3.3 20021123" (with a small patch from Ian Dall to fix a -O2
problem) and binutils "2.13.90 20021124" now work on the pc532.
2002-12-09 23:47:47 +00:00
jmc
0215635717
Checkpoint commit:
...
1. Reduce debugging level to sane levels
2. Fix bugs in alloc_data_map related to allocing whole bytes of bitmap at
a time.
At this point the driver is functional. It talks to a local drive here and
can label/newfs. Performance is...lacking at the moment as its chewing cpu
heavily (probably due to the number of memcpy's) and will be the next area
attacked.
2002-12-09 23:42:53 +00:00
jmc
151668ce8d
Drop default debugging level to something a bit more sane
2002-12-09 23:39:18 +00:00
simonb
6a5e492b57
Remove the explicit `makeoptions MACHINE_ARCH="mipse{b,l}"' for kernel
...
builds and use the endianness of the toolchain being used to determine
the endianness of the kernel.
2002-12-09 22:54:09 +00:00
jmc
33736c059a
Ooops...Make sure for status to set error and resid before calling the
...
completion routines. Makes reads actually return data to userland now which
means I can now put a disklabel on the drive.
2002-12-09 22:28:21 +00:00
manu
1e050715ea
Stupid (but harmful) copy/paste mistake.
2002-12-09 22:28:16 +00:00
manu
9e08cf7d46
Remove debug printf (now ktrace does the job)
2002-12-09 21:53:28 +00:00
manu
6492e2171f
Added support for dumping mach messages in ktrace/kdump. While we are
...
there, KNFify a few functions.
2002-12-09 21:29:20 +00:00
thorpej
2c75f5b061
No need to depend on userland libraries here.
2002-12-09 16:30:40 +00:00
david
213339df22
Restore the cardbus config line. Cardslot is upset with pcmcia only.
2002-12-09 16:24:39 +00:00
pk
04e582df1b
setsoftint() is no longer used.
2002-12-09 16:13:58 +00:00
pk
48a30a2e35
Soft interrupts use their own set of handlers lists.
2002-12-09 16:13:23 +00:00
pk
c822c6bd84
Finish the switch to the softintr(9) framework.
...
To make this work, we now have to use separate handler lists for hardware
and software interrupts as the soft interrupt handlers do not return
an `interrupt handled' status.
Thanks to Matt Fredette for providing an initial set of patches on port-sparc.
2002-12-09 16:11:50 +00:00
perry
21bf723223
comment out/comment/move p64h2apic line.
2002-12-09 15:50:57 +00:00
ad
318c4b22be
Fix LP64 issues.
2002-12-09 15:24:28 +00:00
scw
c7eafb778a
The walnut port has been subsumed by the new evbppc port.
2002-12-09 14:57:47 +00:00
tsutsui
8c3c217b4d
cosmetics.
2002-12-09 13:38:30 +00:00
tsutsui
a92570f14c
As per discussion with soda, all EISA based Jazz machines seem to require
...
the same method to access TOD clock, so move chipset-dependent mcclock
routines to appropriate files.
This should also fix Express RISCserver and RISCserver2200 (aka R96) support
which has been broken since "struct platform" was introduced.
2002-12-09 13:36:26 +00:00
scw
95bf009dca
s/walnut/evbppc/
2002-12-09 12:56:15 +00:00
scw
0e6f5edb27
Delete walnut, add evbppc.
...
While I'm here, add sh5 and evbsh5.
2002-12-09 12:53:41 +00:00
jdolecek
d9944f3152
need -mno-abicalls in AFLAGS as well, so that .S would be compiled as
...
non-PIC same way as .c
2002-12-09 12:42:18 +00:00
scw
5b5dfad81e
Add evbppc.
2002-12-09 12:29:17 +00:00
scw
67d6f49379
Changes/additions to support evbppc.
2002-12-09 12:28:12 +00:00
jdolecek
a74b5c71e2
build with -ffreestanding
2002-12-09 12:20:56 +00:00
scw
f1d6e9e873
Add pmc.h
2002-12-09 12:17:42 +00:00
scw
5448df2eed
New umbrella-port for PowerPC-based evaluation boards.
...
The first board to be included here is the port to the 405GP-based
Walnut evaluation board, which up until now lived in arch/walnut.
arch/walnut will go away soon, once all the remaining walnut-isms
in the tree have been dealt with.
2002-12-09 12:15:48 +00:00
jdolecek
4f2661e403
add #include <lib/libkern/libkern.h> to pull in prototypes
...
for couple items which don't have implicit prototypes with -ffreestanding
2002-12-09 12:14:10 +00:00
jmc
4d74b607a2
Restructure how the at_output dma map gets setup. Ask for a dma map that can
...
support up to the max ohci descriptor segments. Then attempt to fill it in
via a load. Use the number of segments filled in as the basis for figuring
out how many descriptors to supply to the ohci DMA engine.
XXX: Still needs to account for requests which because of splits may overflow
the 6 dma descriptors available today. For now this fixes cases where a
single 512 byte write was getting split into 2 dma segments from 1 incoming
iov request
2002-12-09 09:09:54 +00:00
jmc
2a3e786250
Fix fwohci_write's sanity check against large packets. Max rec is only used
...
when writing directly to the device (ala IEEE1394_TCODE_WRITE_REQ_BLOCK).
Otherwise the largest size is determined strictly by speed
2002-12-09 07:26:02 +00:00
jmc
11b3f4e7d1
Provide a macro for turning a speed number into a max rec value
2002-12-09 07:24:57 +00:00
jmc
3d5ded55c7
Write sbp2_free_data_mapping and fix a bug where read responses weren't sending
...
back the right tlabel
2002-12-09 07:23:43 +00:00
jmc
1f133763ba
Don't need sbp2_datamapping. Each one is tracked via the associated orb
2002-12-09 07:23:24 +00:00
simonb
719522fdf3
Add "sqphy" for the PHYs on the PB1500.
...
Add a note that this kernel is for the PB1000 and PB1500 boards.
2002-12-09 06:54:25 +00:00
itojun
a02a0a383e
don't permit port spec on tunnel mode policy. sync w/kame.
2002-12-09 03:20:45 +00:00
david
6189641f30
Don't want cardbus here, since there are no devices on it.
...
Thanks to Krister Walfridsson for mentioning it.
2002-12-09 02:38:13 +00:00
martin
92fb024e28
Follow the sparc port and use the MI versions of setrunqueue and
...
remrunqueue.
2002-12-08 22:30:53 +00:00
manu
4386631757
regen
2002-12-08 21:53:57 +00:00
manu
9f6565f2bd
A working fork/vfork implementation. Darwin fork differs from our fork by
...
two ways:
- the child gets its pid as retval[0] (userland stub will turn it into a 0),
retval[1] is 1 and it is 0 in the parent.
- in the child, the fork syscall is successful, hence we must skip the next
instruction.
2002-12-08 21:53:10 +00:00
leo
e1de9af762
regen.
2002-12-08 21:33:56 +00:00
leo
cacf2eb6c2
Make things work with the new autoconf stuff:
...
- The pcibus is now called 'pcib' and the isabus 'isab'. Their attributes are
'pcibus' and 'isabus' respectively. This makes the underlying busses
attach again.
- Initialize the parent structure in the config_console() function.
Otherwise we end up without a console.
2002-12-08 21:31:35 +00:00
pk
74a8332ee9
cpu_switch(): avoid raising the interrupt level and enabling traps at the
...
same time as this may cause a spurious interrupt in some implementations.
Pointed out by uwe.
2002-12-08 16:16:59 +00:00
uwe
38b8c5689a
Use 0x07ffffff for LOADADDR mask. This still provides for 128MB (and
...
given that PROM maps just 4 or 16 this is not going to be a bottle
neck). Doesn't really affect normal kernels, need it for the changed
kernel base address (uncommitted) hack for broken javastation OFW.
Ok by pk.
2002-12-08 14:36:55 +00:00
ichiro
d24191b40d
delete unneed pmap for LED and Clock
2002-12-08 13:22:31 +00:00
ichiro
51b12685a4
change flags of pmap_enter() in ixp12x0_io.c, ixpsip_io.c
...
bug fix: ixp12x0_pci.c
2002-12-08 13:21:44 +00:00
junyoung
81ed087074
- Rename struct linux_ctx to linux_fpctx.
...
- KNF.
2002-12-08 11:20:22 +00:00
jmc
9bea8ca9b7
Fix logic screwup in determining which bits to set in alloc'ing data maps
2002-12-08 05:59:05 +00:00
jmc
29a7ff6364
Put back MSG_IDENTIFY_LUNMASK (renamed to just be within the IHA namespace.
...
The definitions were not the same between the scsi_messages file and this
definition so simply removing it here and letting the other one be used
results in incorrect behavior (regardless of whether it made the code
compile....)
2002-12-08 01:09:34 +00:00
manu
3bc2c4cf57
Now it uses BSD system calls with alternate path checks in compat/common,
...
Darwin does not need freebsd_file.c anymore.
2002-12-08 00:52:04 +00:00
manu
daccb0339c
regen
2002-12-08 00:51:24 +00:00
manu
3b0f6d78ed
Introduce BSD system calls with alternate patch checking (in /emul) in
...
compat/common, so that they can be shared by several emulations, and use
them for Darwin.
This removes the ugly dependance on FreeBSD freebsd_file.c for COMPAT_DARWIN
2002-12-08 00:50:23 +00:00
scw
d4cfbd3754
Implement __cpu_simple_lock{,init,try}() for sh5.
2002-12-07 22:31:33 +00:00
tsutsui
12a1bc1fff
Add (commented out) options SYMTAB_SPACE.
2002-12-07 21:55:44 +00:00
scw
50247a2a3c
Fix PRIiPTR.
2002-12-07 21:37:35 +00:00
tsutsui
005b76cc2a
Call ${DBSYM} in SYSTEM_LD_TAIL_EXTRA.
2002-12-07 21:35:58 +00:00
tsutsui
ecc82050ea
Call ddb_init() unconditionally if SYMTAB_SPACE is defined.
2002-12-07 21:34:48 +00:00
manu
cafe31204f
Try to emulate port_type and bootstrap_look_up (I have no idea of what I am
...
doing with this one!)
2002-12-07 21:23:03 +00:00
ad
59773dea2e
Implement the DPT EATA ioctl() interface.
2002-12-07 19:48:30 +00:00
manu
db18a73b3d
Added vm_wire (unused yet)
2002-12-07 19:06:33 +00:00
manu
74a1ce8272
regen
2002-12-07 19:05:30 +00:00
manu
e03fbf9432
The fp_status fasttrap is called processor_facilities_used in userland, and
...
we discovered the flags it was to collect. Now we need to emulate them, but
it is another story.
load_msr seems only used from kernel code.
2002-12-07 19:05:11 +00:00
junyoung
6b57b095ae
Identify many Intel processors which were misidentified previously.
2002-12-07 15:36:20 +00:00
manu
bb8dabd15a
regen
2002-12-07 15:33:36 +00:00
manu
9b84721494
Added implementation for cthread_self() and cthread_set_self(). Theses are
...
used to get and set the thread user value, which is an opaque pointer to
a per thread structure stored in userland. cthread_self() is used by Darwin
as an implementation for pthread_self(), which return the thread id.
We use the p_emuldata field of struct proc in order to keep track of the
thread user value. For now the value is per-process, but we will make it
per-thread when we will take care of threading.
While we are there, do some KNF
2002-12-07 15:33:01 +00:00
junyoung
721f8f7979
Print processor signature (id) after clock frequency.
2002-12-07 15:18:08 +00:00
tsutsui
40ca5f0895
- Add definitions RD_94_[PVS]_EISA_{IO,MEM} in rd94.h.
...
- J96A (Express5800/240 R4400 EISA) requires different method to access
todclock from other NEC machines (it's similar with magnum),
so handle it in p_nec_j96a.c.
Now my NEC Express5800/240 works. (and now I can test 53c700 SCSI.)
2002-12-07 13:09:46 +00:00
pk
6c8d3fba22
Use MI versions of {set,rem}runqueue().
2002-12-07 10:27:03 +00:00
tsutsui
d3fc98adb8
Remove local definition of MSG_IDENTIFY_LUNMASK, which is now defined in
...
MI dev/scsipi/scsi_message.h. Fixes kern/19313 from Lubomir Sedlacik.
2002-12-07 10:19:31 +00:00
toshii
21318640e1
Update xfer->frlengths for input isoc transfer. Based on patches from
...
SOMEYA Yoshihiko.
Also fix error handling for isoc transfer somewhat; usb_transfer_complete
shouldn't be called for more than once.
2002-12-07 07:33:20 +00:00
jmc
a94542f191
Rename the commented out fwscsi -> sbpscsi (names changed once code was
...
committed)
2002-12-07 07:26:51 +00:00
toshii
44f269f8ff
Fix several nits. Mostly from SOMEYA Yoshihiko.
...
- Call usbd_transfer_complete at splusb.
- Fix a botched for loop in ohci_rem_ed.
- In ohci_close_pipe, wait 1ms after removing an ED to avoid possible race
condition.
2002-12-07 07:14:28 +00:00
toshii
384b45d203
Remove junk at the end of a DPRINTF. From SOMEYA Yoshihiko.
2002-12-07 06:52:11 +00:00
ichiro
170528a210
delete definition of STAILQ_ENTRY
...
previous defined sys/sys/queue.h
2002-12-07 01:40:24 +00:00
fvdl
bc4bea2904
Remove duplicate define that crept in.
2002-12-06 23:04:16 +00:00