itojun
decb8a7bae
add netdock driver.
2002-06-19 03:48:31 +00:00
itojun
4c1feea9d8
correct writedisklabel() on MBR-partitioned disk.
...
while here, correct labelsector/offset mismatch in writedisklabel,
when readdisklabel() have found the label at nonstandard location
(due to magic number search). a lot of other ports have the same problem.
2002-06-19 03:10:56 +00:00
itojun
ef879bfb42
netdock* - ethernet driver for Asante NetDock/Newer Ether MicroDock.
...
by Daishi Kato <daishi@axlight.com>
test/stabilization by Takeo Kuwata <tkuwata@virus.kyoto-u.ac.jp>
2002-06-19 01:54:26 +00:00
wrstuden
10d47b4dd3
Updated version of cscope/mkid support. Check libkern and compat lib
...
for source files. Also include header files in mkid run.
2002-06-18 23:46:52 +00:00
jdolecek
20644ff75f
clear_inodedeps(): use CIRCLEQ_FOREACH() appropriately
2002-06-18 20:24:31 +00:00
jdolecek
6710074860
update comment
2002-06-18 20:23:08 +00:00
thorpej
ae0f07dd51
Fix syscall_intern after systrace (HI CHRISTOS!)
2002-06-18 18:30:15 +00:00
lukem
a0d38da2c9
Regenerate with new m4 mechanism (vs old cpp mechanism).
...
New files are same as old (except for whitespace differences), except
that the new GENERIC doesn't have melody, because GENERIC defines
DRACO and the latter can't have it.
2002-06-18 17:45:13 +00:00
lukem
c13ae5b7a9
Use m4 instead of cpp to generate the various kernel configurations,
...
since cpp is the "C compiler pre-processor", and as such, isn't really
suited to parsing non-C-language files...
2002-06-18 17:39:39 +00:00
itojun
463d764d56
write/readdisklabel are not consistent in MBR-partitioned case;
...
forbid writes for now (real fix should follow).
2002-06-18 17:25:21 +00:00
christos
0b3fc0988b
Regen.
2002-06-18 17:22:10 +00:00
christos
88612aefe1
${CC}
2002-06-18 17:21:53 +00:00
christos
48b4953ba1
simplify: use hexdump to produce the output in the desired form instead
...
of massaging it with sed.
2002-06-18 17:21:33 +00:00
thorpej
eafe65f83a
No need to have two complete copies of the header in the same file.
2002-06-18 16:53:49 +00:00
drochner
cb01228cf4
Make the DMA memory allocators (uvm_pglistalloc())
...
obey the preferences expressed by freelist assignment,
to avoid wasting valuable "low memory" to devices which
don't really need it.
comments:
-I'm not sure searching the physsegs within a freelist
beginning with the biggest is the right thing. This is
what the "memory steal" code in uvm_page.c does, so
keep it consistent.
-There seems to be some confusion whether the upper
address limit passed is inclusive or not. Stays on
the save side, possibly leaving one page out.
-The boundary/pagemask check can be simplified, also some
arguments passed are only used for diagnostic checks.
-Integration with UVM_PAGE_TRKOWN???
2002-06-18 15:49:48 +00:00
tshiozak
fe6f56bfb7
add support for the per-device power management capability.
...
int pci_set_powerstate(pci_chipset_tag_t pc, pcitag_t tag, int newstate)
set power state of the device to newstate.
int pci_get_powerstate(pci_chipset_tag_t pc, pcitag_t tag)
get current power state of the device.
In the future, these functions will be used for ACPI support.
2002-06-18 13:18:37 +00:00
wiz
a266aad8d4
Fix typo in comment.
2002-06-18 12:35:09 +00:00
drochner
8d0aee4e8d
make it compile with ACPI_DEBUG
...
(removing the half-done debugging support, sorry)
2002-06-18 10:32:02 +00:00
drochner
93755862ca
make it compile with ACPI_DEBUG
2002-06-18 10:26:15 +00:00
tron
cee165577f
Fix typo which caused a build failure for kernels with diagnostic checks.
2002-06-18 09:56:33 +00:00
fvdl
0b5350133b
Add MTRR support.
2002-06-18 08:35:14 +00:00
fvdl
7a777905af
Make this compile again.
2002-06-18 08:34:57 +00:00
fvdl
ff5489fd50
MTRR includes.
2002-06-18 08:31:42 +00:00
fvdl
4622ad6f14
MTRR support for x86_64. Will be shared with i386 later.
2002-06-18 08:30:33 +00:00
tshiozak
368090887b
add MI part of ACPI sleep state transition code.
...
However, we have no interface to use it, and we also need device driver
support. (e.g. D2/D3 support for PCI)
2002-06-18 08:09:21 +00:00
fvdl
87b285ba0d
Repair damage done in systrace commit. Since argsize is nog longer
...
passed, assume it's sy_narg * sizeof (register_t). The code
made this assumption implicitly anyway. Fixes compat_*32 tracing.
2002-06-18 08:01:30 +00:00
tshiozak
2d5fc6d0a9
add MD support for ACPI sleep/wakeup.
2002-06-18 07:56:12 +00:00
tshiozak
0c0fe6076b
use AcpiHwRegister{Read,Write} functions instead of (obsoleted)
...
AcpiHwBitRegister{Read,Write}.
2002-06-18 07:53:05 +00:00
tshiozak
c6d5efc480
auto-generated code from acpi_wakecode.S.
...
standard update process of this file :
1. fix acpi_wakecode.S .
2. commit acpi_wakecode.S .
3. make -f Makefile.wakecode
4. commit acpi_wakecode.h .
2002-06-18 07:41:15 +00:00
tshiozak
4ba1b15b75
add a code to embed RCS tag of acpi_wakecode.S in acpi_wakecode.h .
2002-06-18 07:37:37 +00:00
tshiozak
834397e5a9
ACPI wake-up code for i386. but, we have no interface to use it efficiently.
2002-06-18 07:25:12 +00:00
thorpej
02ce7a5707
cdev_systrace_init() only gets an "open" entry point.
2002-06-18 05:30:40 +00:00
itojun
524e044ee5
apm emulation, from openbsd
2002-06-18 05:22:50 +00:00
itojun
ddd8d90dc2
KNF (whitespace)
2002-06-18 04:35:02 +00:00
itojun
b00d5fb87a
extern decl for adbHardware
2002-06-18 04:33:36 +00:00
itojun
7eba810efa
s/options\t\t/options \t/
2002-06-18 03:06:58 +00:00
christos
1fb8545c60
Copyright and comment clarification from Masanori-san.
2002-06-18 02:42:16 +00:00
thorpej
2d2b1d78ae
sys_fpathconf: Don't panic in the default case; just return EOPNOTSUPP.
2002-06-18 02:04:08 +00:00
itojun
0c74b798cb
make macppc install floppy IPv6 ready
...
(we have two floppies anyways, and there's plenty of space in 2nd floppy)
2002-06-18 02:02:20 +00:00
thorpej
2d892281ef
Need DTYPE_SYSTRACE (XXX for now, until we get real cloning devices).
2002-06-18 01:54:05 +00:00
thorpej
5cbb1e82f1
* Don't bother protecting the body of the source file with #ifdef SYSTRACE.
...
It's not even built if the option isn't present.
* Use cdev_decl() to generate prototypes for the devsw functions.
* Minor whitespace cleanup.
* Nuke the SYSTR_CLONE ioctl from orbit; instead, just clone it in
systraceopen(), like we do with svr4_net.
2002-06-18 01:24:15 +00:00
augustss
b281015496
Regen.
2002-06-18 01:02:39 +00:00
augustss
c76a2b70d7
Another Atmel chip.
2002-06-18 01:02:15 +00:00
itojun
73941c5096
avoid hardcoding MBR_MAGICOFF and MBR_MAGIC.
2002-06-18 00:37:25 +00:00
thorpej
1058dd7aa3
Only build kern_systrace.c if the SYSTRACE option is used.
2002-06-18 00:33:57 +00:00
augustss
cdfeb5f2ff
Regen.
2002-06-18 00:32:55 +00:00
augustss
81779a3b41
Add another scanner.
2002-06-18 00:32:30 +00:00
itojun
980d7c811b
LABELSECTOR is redefined to be 0 on macppc, so it is not usable for MBR
...
disk label offset. use hardcoded "1" for now, i guess we need a new #define
in sys/disklabel_mbr.h. fixes ofwboot to boot kernel off from MBR-formatted
disk.
2002-06-17 23:59:01 +00:00
simonb
4cf248e04b
Fix tyop.
2002-06-17 22:48:45 +00:00
christos
8bb4772dd8
move spic_acpi to arch/i386/acpi
2002-06-17 22:39:25 +00:00
christos
d0497fdbca
glue for MD acpi devices.
2002-06-17 22:38:31 +00:00
christos
5d3a22f6d5
Move MI drivers here. Approved by thorpej
2002-06-17 22:38:03 +00:00
christos
4b396d8f13
AcpiUtGetObjectTypeName is not defined if we are not debugging.
2002-06-17 22:30:07 +00:00
fvdl
42d8b412ee
Add XMM trap type.
2002-06-17 21:38:20 +00:00
matt
c937154e18
Add a missing return; after print the 745x cache size(s).
2002-06-17 21:28:48 +00:00
christos
281c8c638b
apply the fix from the powerpc port. this is almost a copy of powerpc/trap.c
...
and needs to be refactored.
2002-06-17 21:08:56 +00:00
christos
eb5c1061a2
try to make this compile.
2002-06-17 21:07:40 +00:00
bjh21
1dda0b462c
Kill off vidcvideo_textpalette() again, but better.
...
This time, vidcvideo_stdpalette() uses vidcvideo_write(), as it should, and
correctly initialises the paletter in 16bpp and (I hope) 32 bpp modes.
This fixes the colours on the text console in 16bpp modes. 32bpp seems to be
generally broken anyway.
2002-06-17 21:00:13 +00:00
wrstuden
de114b01ee
Add cscope and mkid (and cscope.out and ID) targets to kernel compile
...
Makefiles. The main feature added by these targets is that they cover
ONLY the source files used for a given kernel and no other. Thus when
examining MD routines provided by all machines, you will see only
those applicable for your kernel.
2002-06-17 20:31:26 +00:00
christos
3b50728cf4
MD systrace gluons.
2002-06-17 16:32:57 +00:00
christos
581a55332b
systrace support.
2002-06-17 16:24:57 +00:00
christos
b86e6ac858
Systrace support.
2002-06-17 16:23:58 +00:00
christos
acf2d4083d
Niels Provos systrace work, ported to NetBSD by kittenz and reworked...
2002-06-17 16:22:50 +00:00
itojun
9e1c373ba9
make it possible to handle/mount FDISK-partitioned disk.
...
extended FDISK partitions are not supported yet.
openbsd code was used as reference.
2002-06-17 15:07:06 +00:00
jdolecek
1d64dfa199
regen:
...
add VIA Technologies VT8653 and VT8633 entries
move VT82C686A_MC97 entry to where it numerically belongs
2002-06-17 14:08:25 +00:00
jdolecek
8a8c3e3040
add VIA Technologies VT8653 and VT8633 entries
...
move VT82C686A_MC97 entry to where it numerically belongs
2002-06-17 14:07:14 +00:00
fredette
51c7735d8a
Compile all standalones for the 68010, which makes bootblocks
...
compiled for the sun3 also usable on a sun2. This enables
making a single filesystem that can boot on all of sun2, sun3,
and sun3x (say, like on a CD-ROM).
2002-06-17 13:35:04 +00:00
kanaoka
23508069b7
- Show SCI interrupt information.
...
- Remove ACPI_STA_DEV_SHOW from device check in acpi_build_tree().
2002-06-17 08:18:51 +00:00
martin
802d01cc19
Add support for Zcomax/ELSA XI325. From Jasper Wallace in PR 17252.
2002-06-17 07:47:33 +00:00
martin
1afa7ca375
Regen (XI325 Wireless LAN added)
2002-06-17 07:40:31 +00:00
martin
c7a70b196f
Add ELSA XI325 Wireless LAN, from Jasper Wallace
2002-06-17 07:38:42 +00:00
lukem
4f0cd76133
Add clockctl device (at major # 55).
2002-06-17 06:27:26 +00:00
lukem
9574a41373
regen for clockctl
2002-06-17 05:25:18 +00:00
lukem
fde6ae6f04
Enable "pseudo-device clockctl" in all kernels, except
...
installation related kernels (INSTALL* and RAMDISK*).
This enables rc.conf(5) $ntpd_chroot to be used "out of the box"
2002-06-17 05:14:02 +00:00
manu
758eb330b4
build without DEBUG_IRIX
2002-06-17 05:01:56 +00:00
manu
eae183fa32
Added COMPAT_LINUX and COMPAT_ULTRIX (commented out)
2002-06-16 21:03:36 +00:00
manu
e7be1a51a5
Commented out COMPAT_IRIX in GENERIC kernels, because it is still
...
quite experimental.
Added irix_kmem and irix_usema pseudo devices which are used by
IRIX binary compatibility (commented out for now)
2002-06-16 20:54:28 +00:00
itojun
3033187db0
previous commit cached pcb policy too much (when pcb points to
...
SPD entry that is not ipsec - like "none"). back it out. sync w/kame
2002-06-16 16:28:36 +00:00
augustss
0c3e1ecc44
Match Sony Clie 4.1.
2002-06-16 15:01:31 +00:00
augustss
a66fe6523b
Regen.
2002-06-16 15:00:41 +00:00
augustss
72ec9576e9
Add Sony Clie 4.1 devices.
2002-06-16 15:00:18 +00:00
augustss
9b2766b49b
Use different quirks for Sony Memory Stick. From John Heasley in kern/16946.
...
Also don't munge all sony devices when patching subclass.
2002-06-16 14:59:58 +00:00
bjh21
f4de492459
Parenthesise arguments to VIDC_BLUE and VIDC_GREEN correctly.
2002-06-16 14:53:24 +00:00
bjh21
0501229019
Revert last. vidcvideo_textpalette() and vidcvideo_stdpalette set the palette
...
by different means.
2002-06-16 14:02:04 +00:00
bjh21
fe2313a380
vidcvideo_stdpalette() and vidcvideo_textpalette() do precisely the same thing.
...
G/C the latter and change its only caller to use the former.
2002-06-16 13:38:12 +00:00
bjh21
a246f35cb2
Un-__P, ANSIfy, clean up comments.
2002-06-16 13:25:02 +00:00
bjh21
00ae586c6d
None of the children of vidc now use their aux pointer, so there's no need
...
to set it, and vidcprint isn't needed to print it. G/C all that code, and
most of the rest of vidcsearch too.
This also means that the locators on vidc's children are unused, so G/C them
as well.
2002-06-16 13:20:14 +00:00
bjh21
fe5dfeb33a
struct lmcaudio_softc.iobase was unused other than to initialise it. G/C it.
...
This also means that the "aux" parameter to lmcaudio_attach is unused.
2002-06-16 12:38:11 +00:00
bjh21
cb54bb1599
struct vidcaudio_softc.iobase was unused other than to initialise it. G/C it.
...
This also means that the "aux" parameter to vidcaudio_attach is unused.
2002-06-16 12:36:42 +00:00
bjh21
1ee77efc62
Un-__P, ANSIfy, KNF.
2002-06-16 12:33:41 +00:00
bjh21
feccadb213
Un-__P, ANSIfy and light KNF.
2002-06-16 12:30:13 +00:00
bjh21
c20d5eb645
sc_iobase wasn't used, except to initialiase it at attach time. Kill it.
...
Hence remove all uses of "aux".
2002-06-16 12:24:23 +00:00
bjh21
5ed34fe182
Kill options XSERVER: nothing referred to it anyway.
2002-06-16 12:14:30 +00:00
bjh21
125a3becb6
Pull out config(8) input for arch/arm/iomd code into files.iomd, since that's
...
clearly where it belongs. Normalise the whitespace in the moved text.
2002-06-16 12:11:23 +00:00
perseant
983455d349
Bump version to 1.6B: changed ITIMES.
2002-06-16 00:14:13 +00:00
perseant
ddfb1dbb92
For synchronous writes, keep separate i/o counters for each write, so
...
processes don't have to wait for one another to finish (e.g., nfsd seems
to be a little happier now, though I haven't measured the difference).
Synchronous checkpoints, however, must always wait for all i/o to finish.
Take the contents of the callback functions and have them run in thread
context instead (aiodoned thread). lfs_iocount no longer has to be
protected in splbio(), and quite a bit less of the segment construction
loop needs to be in splbio() as well.
If lfs_markv is handed a block that is not the correct size according to
the inode, refuse to process it. (Formerly it was extended to the "correct"
size.) This is possibly more prone to deadlock, but less prone to corruption.
lfs_segclean now outright refuses to clean segments that appear to have live
bytes in them. Again this may be more prone to deadlock but avoids
corruption.
Replace ufsspec_close and ufsfifo_close with LFS equivalents; this means
that no UFS functions need to know about LFS_ITIMES any more. Remove
the reference from ufs/inode.h.
Tested on i386, test-compiled on alpha.
2002-06-16 00:13:15 +00:00
leo
14693fb272
Regen for nvr0 + keyword clash.
2002-06-15 21:45:36 +00:00
leo
682c6f398a
Avoid using variable names in the comments. They turn into useless '1' values
...
if defined.
2002-06-15 21:44:07 +00:00
leo
e599730d1b
Add the nvram device. It really is the same as on the other machines and
...
installboot(1M) needs it.
2002-06-15 21:38:33 +00:00
matt
940fedda07
Fix make breakage. $ZDST != ${ZDST} in make. make clean/cleandir now works.
2002-06-15 19:30:56 +00:00