jdolecek
9b7005c79d
g/c some non-NetBSD code
2003-03-23 08:28:06 +00:00
isaki
5e9e4bd811
Make it compilable after something is modified..
2003-03-23 05:01:22 +00:00
simonb
ea65230233
Regen: Add device id for Trumpion T33521.
2003-03-23 00:58:16 +00:00
simonb
3dd66de041
Add device id for Trumpion T33521 (used in (at least one) Creative MP3
...
player, almost attaches as a sd@umass).
2003-03-23 00:57:15 +00:00
thorpej
8f70c6754b
Add a work-around for the "short cable problem" that some DP83815
...
revisions have, as discussed on the soekris-tech mailing list a
while ago, whereby one can experience excessive recieve erros when
using < 30m cables. The patch detects overflow in a DSP filter
parameter, and corrects it by writing a known good value.
2003-03-23 00:56:15 +00:00
perseant
17bba97d2e
Unlock ifile inode during streamlined VOP_INACTIVE.
2003-03-22 21:31:41 +00:00
matt
d641dc322f
Don't malloc channel_queue, put it in the softc instead.
2003-03-22 20:09:35 +00:00
matt
3a494ed040
Don't malloc the channel_queue, put it in the softc. Print modes too.
2003-03-22 20:05:20 +00:00
matt
7ba7388e87
Don't malloc channel_queue, put it in the softc.
2003-03-22 20:01:05 +00:00
matt
0d90a1db08
No reason to malloc channel_queue, put it in the softc instead. Clean up
...
a few other things while here.
2003-03-22 19:57:14 +00:00
jdolecek
7f97807187
for NO_PGID, use ((pid_t)-1) rather than (-(pid_t)1)
2003-03-22 14:35:38 +00:00
jdolecek
36dc52ad95
regen - add 3Com TCM6790 entry
2003-03-22 14:31:28 +00:00
jdolecek
eede41c54a
add TCM6790 entry
2003-03-22 14:30:48 +00:00
simonb
0a30e5fb17
Fix a grammatical nit.
2003-03-22 14:26:41 +00:00
jdolecek
a834690527
use LIST_FOREACH() in selwakeup() for the process's lwp walk loop
2003-03-22 14:13:06 +00:00
dsl
281c2b075c
GEOM_DEBUG was left set :-(
2003-03-22 13:05:26 +00:00
nakayama
14a2f27862
Make it compile in big endian.
2003-03-22 11:32:38 +00:00
dsl
6f803e005b
Correct rewinding if FIONBIO or FIOASYNC fail in F_SETFL
...
(code use to always turn off FIONBIO if FIOASYNC fails)
(approved by christos)
2003-03-22 10:39:47 +00:00
dsl
1f2e35430b
Change caddr_t to void *
2003-03-22 10:35:01 +00:00
nakayama
ac2c6fba75
Make it compile again; follow fo_ioctl change (hi David!).
2003-03-22 07:54:22 +00:00
nakayama
7bb8250096
PCI-CardBus bridge support for sparc64:
...
- add CardBus and PCMCIA devices configrations.
- add workaround for internal compiler error on dev/ic/elink3.c.
2003-03-22 06:39:43 +00:00
nakayama
b1a9940dae
PCI-CardBus bridge support for sparc64:
...
- add MD part of cardbus support.
2003-03-22 06:36:18 +00:00
nakayama
11529a0609
PCI-CardBus bridge support for sparc64:
...
- add splsoftserial.
2003-03-22 06:34:28 +00:00
nakayama
aad45dd3ad
PCI-CardBus bridge support for sparc64:
...
- handle devices which has no OBP node.
- move PCI latency-timer initialization from pci_intr_map to
pci_enumerate_bus.
- make PCI bus free space extents for cardbus devices.
- fix PCI config space map size.
- some code integrations.
2003-03-22 06:33:09 +00:00
nakayama
a8e1b2f5c5
PCI-CardBus bridge support for sparc64:
...
- add pccbb_attach_hook in pccbbattach for MD initializations.
- omit arithmetics to bus_space_handle_t.
- remove use of IST_LEVEL; not defined on sparc64 and unused.
2003-03-22 06:25:14 +00:00
nakayama
64f7818314
PCI-CardBus bridge support for sparc64:
...
- use u_long for extent_alloc_subregion result instead of bus_addr_t.
(sizeof u_long != sizeof bus_addr_t on 32bit kernels of sparc64)
2003-03-22 06:18:22 +00:00
thorpej
5abaeacf22
* Bump m_flags from "short" to "int", and shuffle the m_hdr accordingly.
...
As discussed on tech-net.
* Define a range of bits in the new wider m_flags which are reserved for
M_EXT mbufs. Define M_EXT_CLUSTER to indicate the ext is a cluster, and
re-define M_CLUSTER as M_EXT_CLUSTER for source-level compatibility.
* Define a new M_EXTCOPYFLAGS to be used when manipulating M_EXT state.
2003-03-22 02:21:57 +00:00
dsl
bd99e3429d
Use 'void *' instead of 'caddr_t' in prototypes of VOP_IOCTL, VOP_FCNTL
...
and VOP_ADVLOCK, delete casts from callers (and some to copyin/out).
2003-03-21 23:11:19 +00:00
thorpej
3f2184def7
Work around a buggy PHY in some Seagate S-ATA drives which get confused
...
by the way some S-ATA controllers packetize data when the sector count of
the transfer mod 15 is 1.
2003-03-21 22:40:56 +00:00
dsl
60418b39b7
Change 'data' argument to fo_ioctl and fo_fcntl from 'caddr_t' to 'void *'.
...
Avoids a lot of casting and removes the need for some line breaks.
Removed a load of (caddr_t) casts from calls to copyin/copyout as well.
(approved by christos - he has a plan to remove caddr_t...)
2003-03-21 21:13:50 +00:00
mjacob
2b72827e41
Fibre Channel doesn't need bus reset settle time.
2003-03-21 18:05:16 +00:00
drochner
05bdb0b97d
make these compile after struct consdev change
2003-03-21 17:23:22 +00:00
fvdl
543510a84d
LFS likes to store negative values in the dinode block pointers, so
...
make sure to cast the value back to int32_t after it was changed
by ufs_rw32, before passing it to blkptrtodb.
2003-03-21 15:46:32 +00:00
nakayama
aab55006b2
Follow a struct consdev changes.
...
Pointed out by Tsuyoshi AKIHO in the port-hpcmips-ja mailing list.
2003-03-21 14:44:28 +00:00
uwe
f6280fb246
Add igsfb.
2003-03-21 09:59:30 +00:00
perseant
78dff1cfa3
KNF (space after keywords).
2003-03-21 06:26:36 +00:00
perseant
a37f4cf7ec
Use VONWORKLST as a heuristic for vnode emptiness, rather than exhaustively
...
checking the memq.
Take greater care not to dirty the Ifile vnode when unmounting the filesystem.
This should fix a "(vp->v_flag & VONWORKLST) == 0" assertion panic in vgonel
that could occur when unmounting.
Do not allow the Ifile to be mapped for writing.
2003-03-21 06:16:53 +00:00
yamt
e8d83a0b17
make this compilable with DIAGNOSTIC and without DEBUG.
...
fix PR 20827 from FUKAUMI Naoki.
2003-03-21 06:09:08 +00:00
tsutsui
1654f7e057
Yet another leftover of struct consdev changes..
2003-03-21 04:35:02 +00:00
fvdl
6f16ef3a25
Strip some stuff that's not needed.
2003-03-20 22:30:53 +00:00
fvdl
b52610cf4a
Limit the KVA used by buffers.
2003-03-20 22:30:28 +00:00
drochner
2e8a9de36c
memcmp()->bcmp(), this gives us 32 bytes and makes bootxx_ffs
...
build again
2003-03-20 18:41:46 +00:00
tsutsui
8d3aeb9abc
Rewrite user space access functions which use gcc's "labels as values"
...
extension in asm to avoid unexpected code omission during optimization
which causes wrong return value on faults.
2003-03-20 17:45:14 +00:00
yamt
a8e8f3ea02
lfs_writevnodes:
...
in the case of "starting over", kick lfs_writeseg
in order to avoid deadlock in check_dirty.
2003-03-20 14:17:21 +00:00
yamt
91ce94db76
fix "more than one fragment" panics;
...
direct and indirect block pointers are not valid in the case of shortlinks.
while i'm here, move duplicated code in lfs_vget/fastvget into a new
function, lfs_vinit.
2003-03-20 14:11:46 +00:00
perseant
12a78a5a7e
Don't break out of Ifile-writing loop in lfs_segwrite until nothing is left.
...
Note however that blocks can be added to the Ifile even when the segment
block is held because of inodes' atime. Do not panic with "dirty blocks"
if these blocks are present.
2003-03-20 06:51:17 +00:00
perseant
c364d884f6
Hold the segment lock during truncation to prevent indirect blocks from
...
being written by lfs_updatemeta while lfs_truncate is also writing them,
a bug pointed out by YAMAMOTO Takashi <yamt@netbsd.org>.
2003-03-20 06:47:38 +00:00
thorpej
35b45642d8
Regen; add more LSI MPT IDs.
2003-03-20 05:50:12 +00:00
dbj
1820cd2e5c
use PRId64 to printf bp->b_blkno, which is of type daddr_t
2003-03-20 05:49:21 +00:00
thorpej
5d2e1c600f
Add some more LSI MPT IDs.
2003-03-20 05:49:20 +00:00
thorpej
d7e289bb70
Add support for the Silicon Image SATALink 3112 Serial ATA controller.
2003-03-20 04:22:49 +00:00
dsl
9c29dd1922
Indentation fixes
2003-03-19 20:35:04 +00:00
christos
fb66693ce7
It is not appropriate for pcivar.h to include "locators.h"
...
The two files that need it, should include it themselves.
2003-03-19 17:56:58 +00:00
drochner
11d8ce0e4e
catch up with constification in sys/lib/libsa/nfs.c
2003-03-19 17:27:43 +00:00
bouyer
a9065a3962
tl(4) supports ETHERCAP_VLAN_MTU.
2003-03-19 17:23:26 +00:00
drochner
7349f5c301
"bootparam" specific variables are defined in libsa/bootparam.c now.
2003-03-19 17:21:41 +00:00
drochner
f81c1c504b
remove stuff just moved to bootparam.c and some variables which are
...
never used.
2003-03-19 17:19:32 +00:00
drochner
3906113e15
Move global variables which are used only by bootparam here.
...
("domainname" is useless and could be removed, but adding code to
skip this in the RPC reply would probably be more expensive than leaving
it as a dummy variable.)
2003-03-19 17:18:07 +00:00
christos
a56ea22f68
- use __predict_false for DIAGNOSTIC code.
...
- #ifdef out a DIAGNOSTIC printf() that was too annoying (rule of thumb,
don't make DIAGNOSTIC printfs() that print *very* frequently...)
- fix DIAGNOSTIC test that would always get triggered on a new session.
2003-03-19 16:47:36 +00:00
augustss
ca5deec209
Regen.
2003-03-19 16:22:46 +00:00
augustss
9f3758dce4
Add an NHJ camera.
2003-03-19 16:22:24 +00:00
christos
3bd89478f7
make this compile again (-DDIAGNOSTIC)
2003-03-19 16:02:31 +00:00
thorpej
a3e379d70c
Fix pasto.
2003-03-19 15:13:57 +00:00
dsl
eb1dfe29d9
Bump version to 1.6Q - for struct proc and struct pgrp change
2003-03-19 11:57:04 +00:00
scw
5d74e4ddb2
Now that we can deal with debug exceptions, use a BRK instruction for
...
ddb breakpoints instead of TRAPA in order to simplify the trapa (syscall)
handler.
2003-03-19 11:37:57 +00:00
dsl
9be8ac5294
Alternative pid/proc allocater, removes all searches associated with pid
...
lookup and allocation, and any dependency on NPROC or MAXUSERS.
NO_PID changed to -1 (and renamed NO_PGID) to remove artificial limit
on PID_MAX.
As discussed on tech-kern.
2003-03-19 11:36:32 +00:00
scw
2bce28091c
Fix some comments.
...
Set up stack frames in copyin/copyout and friends (if DDB is defined) so
that ddb stack traces can trace through them.
2003-03-19 11:34:28 +00:00
scw
7c18481cf2
G/C an obsolete comment.
2003-03-19 11:31:55 +00:00
jdolecek
01c5cb6a8b
add a compile-time check that audio(4) was actually configured into kernel
...
assumption here is that all (and only) audio device drivers include this header
adresses PR kern/11508 by Thomas Klausner
2003-03-19 10:53:40 +00:00
bouyer
4a3c894eef
Fix 2 bugs:
...
- initialise stp when the bridge is turned up, without this stp will keep
all interfaces disabled in a sequence like:
brconfig bridge0 add if0 add if1 stp if0 stp if1 up
- s/BRDGSPRI/BRDGSIFPRIO in brconfig.c:cmd_ifpriority()
add a command (ifpathcost) to change the stp path cost of the STP path cost of
an interface. Display the interface path cost with the others STP parameters.
2003-03-19 10:34:33 +00:00
simonb
a06ca06a19
Spell 'strategy' correctly.
2003-03-19 03:05:43 +00:00
thorpej
fcae1f0ee0
Consistently call (*ext_free)() at splvm().
2003-03-19 00:23:26 +00:00
fvdl
93d2b9ee12
Add some underscores in curcpu() to avoid a -Wshadow.
2003-03-18 22:29:58 +00:00
mycroft
4d7fb7469d
Finish const poisoning.
2003-03-18 20:00:47 +00:00
matt
13db562ca9
Remove unneeded code in pci_bus_configure (was pci_config_bus). Fix
...
setting of bus_spaces in gt_attach.
2003-03-18 19:35:01 +00:00
mycroft
bb478ade6c
Move more stuff into .rodata.
2003-03-18 19:33:51 +00:00
matt
0200088d83
Enable iobats for the PCI memory space(s).
2003-03-18 19:33:50 +00:00
matt
0e4975df24
Split PCI initialization out of attach hook.
2003-03-18 19:32:46 +00:00
mycroft
f6258762e1
Move some stuff into .rodata.
2003-03-18 19:20:09 +00:00
christos
46bb05bc86
regen
2003-03-18 18:09:48 +00:00
christos
1623253ed2
_lwp_setprivate returns void
2003-03-18 18:08:49 +00:00
matt
8a5a3a480a
Switch/adapt to new bus space infrastructure.
2003-03-18 16:40:18 +00:00
matt
923175a28a
remove some unneeded code.
2003-03-18 15:09:28 +00:00
matt
ee2ba43d39
Enable I/O & memory access too.
2003-03-18 15:00:00 +00:00
matt
0a2b7ed22b
Switch to gtmpsccnattach. Fix a few bugs in bus_space initialization.
2003-03-18 14:59:12 +00:00
matt
0b9b6810a5
Removed unused variable.
2003-03-18 14:56:48 +00:00
matt
3ec00b9a8f
work around a cache problem. (flush both caches and disable the D-cache).
2003-03-18 14:56:21 +00:00
bsh
ae4f6e5092
add interrupt numbers for built-in peripherals.
...
add register definitions for DMA, AC97, and USB.
2003-03-18 11:23:03 +00:00
bsh
f47a5ffeea
simplify CPU ID test for Intel PXA2xx by masking core revision part.
...
This also allows the kernel to run on pxa255.
2003-03-18 11:20:56 +00:00
bsh
40eb5e9921
fix XScale core revision mask, and add masks for core generation and
...
product number.
2003-03-18 11:17:31 +00:00
perseant
20f569dad0
Remember to destroy lfs_inoext_pool when closing up the LFS subsystem.
2003-03-18 07:53:56 +00:00
matt
8fb546ff67
Do minimal initialization of PCI.
2003-03-18 05:51:51 +00:00
matt
051e31601c
Derive baud rate from cpu_timebase on powerpc.
2003-03-18 05:50:02 +00:00
thorpej
b1469da17f
Add register definitions for the Intel i31244 Serial ATA controller.
2003-03-18 01:41:54 +00:00
thorpej
97cbf6847d
Add very basic support for the Intel i31244 Serial ATA controller.
...
We only support legacy (i.e. PCI IDE compatible) mode, for now. Also
note that DMA is disabled for rev 0 chips unless explicitly enabled
with PCIIDE_I31244_ENABLEDMA.
2003-03-18 01:13:08 +00:00
thorpej
ba6d4102d9
Regen; added Silicon Image SATALink 3112.
2003-03-18 00:53:03 +00:00
thorpej
11f5d687df
Add Silicon Image SATALink 3112.
2003-03-18 00:45:54 +00:00
matt
a935178cad
remove "kludge" com console.
...
Simplify timebase initialization.
2003-03-17 23:28:09 +00:00
matt
0fb35cae8c
Get CLOCKBASE from opt_ppcparam.h.
2003-03-17 23:24:41 +00:00
matt
ecc8926154
Add CLOCKBASE=100000000
2003-03-17 23:23:47 +00:00
matt
bff46769b9
fix typo in comment.
2003-03-17 23:15:33 +00:00
hannken
afb54fa917
Add hardware accelerated copy/erase ops.
2003-03-17 18:39:23 +00:00
matt
582f976e54
Add __HAVE_GENERIC_SOFT_INTERRUPT support.
2003-03-17 16:54:16 +00:00
matt
c7b0df67b4
Add CLOCKBASE to opt_ppcparam.h.
2003-03-17 16:53:52 +00:00
matt
631dbeba1a
Use generic softintr. switch from consinit to explicit cnattach
...
framework. Use bus_space for access register access.
2003-03-17 16:42:47 +00:00
matt
f27033251e
Use a subregion for the mac's ethernet registers. Shaves 512 bytes
...
from the driver.
2003-03-17 16:41:15 +00:00
toshii
45469b1ffc
Fix a memory leak in emuxki_voice_new.
...
Pointed out by Izumi Tsutsui in the current-users mailing list.
2003-03-17 12:29:09 +00:00
toshii
92684e028b
Make emuxki_voice_set_audioparms return EINVAL if invalid sample rate
...
is passed.
2003-03-17 12:20:27 +00:00
jdolecek
104bc312b7
add kqueue support
2003-03-17 11:39:16 +00:00
jdolecek
b26a2a3bdd
no need to export union_vfsops here
2003-03-17 10:31:14 +00:00
jdolecek
b712ffbfbd
add comment for one NULL union_vfsops member
2003-03-17 10:28:41 +00:00
jdolecek
ad5a73ba6b
build and install union LKM now that it works
2003-03-17 09:18:53 +00:00
jdolecek
46eb0d5bf0
make it possible for UNION fs to be loaded via LKM - instead of
...
having some #ifdef UNION code in vfs_vnops.c, introduce variable
'vn_union_readdir_hook' which is set to address of appropriate
vn_readdir() hook by union filesystem when it's loaded & mounted
2003-03-17 09:11:29 +00:00
jdolecek
0e2c1bbb82
apparently variable 'buf' in vn_readdir() shadows some global symbol,
...
remove from prototype
2003-03-17 09:06:40 +00:00
jdolecek
babb6ed282
drop some variable names from physio() prototype - e.g. 'minphys' shadows
...
global minphys()
2003-03-17 09:05:30 +00:00
martin
358b4d4e49
When being passed bogus file descriptors make close(2) return EBADF.
...
From Stephen Ma in PR kern/20762.
2003-03-17 07:57:13 +00:00
rafal
090fac3d8b
Update for devopen() change.
2003-03-17 03:07:14 +00:00
rafal
5bd093cfbd
If the boot device starts with a PCI bus spec, skip over that when looking
...
for a boot device type; this gets the boot.ip32 booting a kernel off disk.
While here remove some unrolled string compares in favor of strncmp() to
make code more readable.
2003-03-17 03:04:51 +00:00
martin
b38f12bdd4
Fix a race condition where a writer could already have closed the fifo
...
before the reader woke up - this made the reader loop again, waiting
for another writer, even though there was input available.
Thanks to Jaromir for spotting the real cause and sugesting a solution.
This should fix PR port-sparc64/20283.
2003-03-17 00:06:24 +00:00
fvdl
3306d06ea7
Don't use bitfields, make the fxsave structure packed instead. Makes
...
life a bit easier (for i.e. taking the address of a field).
2003-03-16 20:35:28 +00:00
cjep
de21c5e413
kernal -> kernel
2003-03-16 19:42:09 +00:00
jdolecek
4b261fc76f
allocate majors for vmmon/vmnet - VMware pseudo devices
...
we have the sources in othersrc tree now, so it's useful to have some
other bits in tree as well to simplify module use
2003-03-16 18:04:08 +00:00
toshii
36a24737cd
Fix recording with formats other than 16 bit slinear_le, based on the
...
patch submitted as kern/20620.
2003-03-16 16:33:48 +00:00
fvdl
cc8c490f0c
Adapt for changed struct reg
2003-03-16 16:26:58 +00:00
fvdl
f6215de412
Sync with other reg state structures.
2003-03-16 16:26:11 +00:00
toshii
6e79d819f7
Remove a couple of false comments, as pointed out in kern/20620.
2003-03-16 13:34:24 +00:00
jdolecek
66c83f4d8e
union fs moved from miscfs/union to fs/union
...
omission pointed out by Martti Kuparinen
2003-03-16 11:50:27 +00:00
he
cea7b7a329
Add the newly separated-out ether_sprintf.c here, so that the booters
...
can be allowed to link with no unresolved symbols again.
2003-03-16 08:39:58 +00:00
jdolecek
a0deb3e9c4
move union filesystem code from sys/miscfs/union to sys/fs/union
2003-03-16 08:26:46 +00:00
matt
77533df068
Remove some debugging code.
2003-03-16 08:12:26 +00:00
matt
e86e032c61
Make cfroots const.
2003-03-16 08:09:58 +00:00
matt
137a763c9b
Only define POOL_LOGSIZE/pool_size if POOL_DIAGNOSTIC is defined.
2003-03-16 08:06:51 +00:00
jdolecek
0d2891bece
need a prototype for union_lkmentry() to compile
2003-03-16 08:01:13 +00:00
matt
f5110f7988
EV64260 now gets to single user prompt using COM1 (2nd uart) as console
...
with PPCBOOT as firmware. XXX PCI devices are not found.
2003-03-16 07:07:17 +00:00
matt
08ea2a499c
Cleanup. Move much of the code to bus_space instead of using
...
private mechanisms.
2003-03-16 07:05:33 +00:00
matt
7f87f176b2
Add obio attachment for things like rtcs, com, and flash.
2003-03-16 07:03:30 +00:00
matt
5504cc0c26
Use "b" constraint so r0 won't be used.
2003-03-16 06:57:31 +00:00
matt
1d04c635f2
Make the result an early clobber so gcc won't get clever.
2003-03-16 06:56:47 +00:00
matt
8524a72241
Honor PMAP_NC for pmap_kenter_pa. Fix goof in pmap_pte_to_va.
2003-03-16 06:54:46 +00:00
matt
ea542f761a
addi is not the same as add. :)
2003-03-16 06:52:39 +00:00
matt
8a37a3ec5d
Fix bus_dmamap_sync (add offset to ds->ds_addr when needed).
...
Add a set of parenthesis to PMAP_NC so it evaluates properly.
2003-03-16 05:37:37 +00:00
lukem
b1026bf11c
Enable check in in_pcbbind() to enforce sin_family == AF_INET.
...
If there are any "old programs which incorrectly set this" left,
they will now fail with EAFNOSUPPORT.
This make in_pcbbind() consistent with in_pcbconnect() and the other
protocol families.
As per my PR [kern/4441], which has the comment:
Steven's "TCP/IP Illustrated, Volume 2", page 730, notes that
in_pcbbind() has the check which determines if sin_family == AF_INET
commented out, but the same check in in_pcbconnect() is still active.
2003-03-16 03:33:28 +00:00
kristerw
3735c66934
Add snprintf, divdi3, moddi3, and qdivrem so that ufsboot builds.
2003-03-16 01:29:04 +00:00
fvdl
c5eb2581e1
Make struct sigcontext consistent with other regstate-holding structures.
2003-03-15 23:41:25 +00:00
he
dace8f1df0
Do not try to build LKMs on evbppc, because we cannot predetermine
...
the PPC_INTR_IMPL, which is used to include a file in <machine/intr.h>.
To allow evbppc to complete a ``make release'', we also need to
factor out the LKM files to a new set list file, and tweak makeflist
to not include this file for evbppc.
Discussed with Matt Thomas.
2003-03-15 22:32:07 +00:00
matt
640bee3010
Reduce visible globals. (gt_handle is now gt_memh and is only known to
...
machdep.c, gt_mainbus.c, and extintr.c)
2003-03-15 19:51:48 +00:00
matt
101a152db1
This contains no marvell specific code now. It now completely hides the
...
underlying PCI MD implementation. XXX want to move this to
powerpc/include/ someday.
2003-03-15 19:50:31 +00:00
jmmv
d69e6401db
Note the DDB_ONPANIC option (commented out). Closes my own PR port-i386/17649.
2003-03-15 19:34:16 +00:00
bouyer
3cb1252a05
Ops, I commited the previous change (improved SiS support) from thr wrong tree.
...
Sync with the latest diff I made available, and also include changes from
kern/20710 which is much better than the hack I've done.
2003-03-15 12:23:34 +00:00
matt
a0b2076415
New generic powerpc bus_space framework.
2003-03-15 08:03:19 +00:00
matt
e2765c0933
Allow a machine-dependent definition of schednetisr.
2003-03-15 07:51:06 +00:00
matt
0f1794e44a
Make lint happy and use __asm && __volatile.
...
manipulate netisr via lwarx/stwcx. to get atomicity.
2003-03-15 07:50:28 +00:00
matt
7ad3fe6e03
When mapping a page with BUS_SPACE_NOCACHE, make sure to flush the
...
physical page from the data cache.
2003-03-15 07:25:20 +00:00
perseant
1d23f2f4ea
Add write-behind to lfs_write().
2003-03-15 07:24:37 +00:00
matt
35962f72c9
s;backside;; and report L2CR_L2DO & L2CR_L2IO
2003-03-15 07:22:46 +00:00
matt
2b8417e488
Add LINTSTUBs and make oea_init() agree with them.
2003-03-15 07:21:02 +00:00
perseant
b105ddb1d6
Make LFS LKM versions of ufs_makeinode and ufs_mkdir fail correctly.
...
Note dependency of lfs_vnops.o on ufs_readwrite.c.
2003-03-15 07:20:22 +00:00
matt
df24bda908
Make lint happy.
2003-03-15 07:19:20 +00:00
perseant
ea03a1ac09
Add simple_lock protection for lfs_seglock and lfs_subsys_pages; these will
...
be expanded to cover other per-fs and subsystem-wide data as well.
Fix a case of IN_MODIFIED being set without updating lfs_uinodes, resulting
in a "lfs_uinodes < 0" panic.
Fix a deadlock in lfs_putpages arising from the need to busy all pages in a
block; unbusy any that had already been busied before starting over.
2003-03-15 06:58:49 +00:00
kristerw
3a7b34238b
The implementation of the try/catch functionality uses two gcc extensions
...
that our lint does not understand.
One of these extensions (local labels) is needed only when using multiple
try/catch blocks within a function, and the comment before these macros
say that they should be used only once per function so that the implementaton
may be portable.
The other extension (taking the address of a label) is not needed at all.
Remove the use of the extensions.
2003-03-15 02:54:24 +00:00
kristerw
ea98786439
SO C requires a statement after a label.
2003-03-15 02:27:18 +00:00
kristerw
708df50a74
'lint' is a very bad name for a variable.
2003-03-15 02:22:13 +00:00
kristerw
6c096545e5
ISO C requires a statement after a label.
2003-03-15 02:11:43 +00:00
kristerw
f73d0d2d8c
ffs_gop_alloc() is not used any more. Remove it.
...
OK:ed by Konrad Schroder.
2003-03-15 01:10:18 +00:00
enami
464f962310
Release the hash lock on failure.
2003-03-15 00:22:47 +00:00
bouyer
53a7926962
Rework SiS support: more controller supported (up to Ultra/133) and better
...
support for the older ones.
Information for this work extracted from Soeren Schmidt's FreeBSD driver.
2003-03-14 22:46:05 +00:00
bouyer
8bc89ec2cb
Move the SCSI_DELAY before the serialization for probe. multiple SCSI busses
...
can sleep, only probes have to be keept ordered.
2003-03-14 22:17:14 +00:00
jdolecek
635035691e
apparently this driver works fine for Intel PRO/100 VM with 82562EM/EX PHY,
...
so make driver match it
while here, also make the driver match 'Intel PRO/100 VM with
82562EM/EX (CNR) PHY', with anticipation it would work fine too
activate the resume and dynamic standby bug workaround for these; might
not be necessary (not confirmed to be needed), but better safe than sorry
Adresses PR kern/20689
2003-03-14 22:04:03 +00:00
dsl
a8a18df708
cpu times were miscalculated because 'usecs' could go -ve...
...
There is still a problem that 'st = (u * st) / tot;' can overflow,
but that is harder to fix, and requires cpu times of ~5days.
(approved by christos)
2003-03-14 21:38:26 +00:00
christos
866b37e61b
pmap_kremove the pages before uvm_km_free'ing them. Thanks jason!
2003-03-14 18:47:53 +00:00
mjacob
3b3cb97b5b
Attach esiop to a scsibus.
2003-03-14 17:29:05 +00:00
jmmv
013ec8e6f0
Add not sign, currency and cent keys to the spanish keymap.
...
Fixes my own PR kern/17990.
2003-03-14 15:45:53 +00:00
matt
7876614463
Nuke mem_size global since nothing in the kernel actually refers to it.
...
(mmm lint).
2003-03-14 08:35:05 +00:00
matt
d03db36449
Use aprint_normal. Print 2MB L2 sizes with 7410.
2003-03-14 06:27:40 +00:00
matt
e0242aaebc
Remove Debugger call.
2003-03-14 06:25:58 +00:00
matt
d50c91e021
Make lint happy by not assigning to casted lvalue.
2003-03-14 06:23:48 +00:00
matt
12dca1407b
Condition ({ ... }) by __GNUC__. Remove redundant SPR_IBAT0U definiton.
2003-03-14 06:22:51 +00:00
matt
d7fc76efe1
Add _LOCORE protection.
2003-03-14 06:21:19 +00:00
matt
61920c743e
Make ALI trap print DSISR.
2003-03-14 05:38:53 +00:00
matt
a7b613e469
Use __asm and __volatile to make lint happy.
2003-03-14 05:37:51 +00:00
matt
ce05df7bc7
Quiet lint warning.
2003-03-14 05:37:14 +00:00
matt
8ceb32c0af
make LINTSTUB work with this.
2003-03-14 05:36:39 +00:00
matt
c894ddaec1
Print more useful messages on kernel ALI or PGM traps.
2003-03-14 05:32:27 +00:00
simonb
1ff45ded4f
Fix some white-space niggles.
2003-03-14 02:21:01 +00:00
joda
1835525147
regen: more nvidia devices
2003-03-13 17:55:57 +00:00
joda
fd202f08fe
more nvidia devices
2003-03-13 17:55:24 +00:00
matt
0c29e154e3
Use __asm & __volatile to make lint(1) happy.
2003-03-13 17:30:38 +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
6b8fef6400
cleanup, delete declarations now in libsa/iodesc.h
2003-03-13 16:02:39 +00:00
drochner
66a5580c6e
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 15:36:06 +00:00
hannken
42cc9f8839
Add wscons to MAKEDEV. Add wsfont major number.
2003-03-13 14:56:56 +00:00
drochner
6e14bfebea
Remove remaining uses of libsa/netif -- the "netif" structure was only
...
used to lookup a "struct romdev", everything else was ballast.
Do it straightforward now and assign the romdev directly to io_netif.
2003-03-13 14:49:12 +00:00
scw
bfca0494bd
Try to configure all children of cprc0, not just clock.
2003-03-13 14:37:36 +00:00
drochner
7d2a35f773
kill the last use of NENTS
...
(We shouldn't use libsa/netif here at all.)
2003-03-13 14:15:58 +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
20b8952600
cope with removal of this sick NENTS macro from libsa/netif.h
2003-03-13 13:59:11 +00:00
briggs
85d93f8d10
Detect SMC EZ Card as 64-bit. Patch from Pavel Cahyna in kern/20680.
2003-03-13 13:57:01 +00:00
drochner
e537123c66
cope with changes to libsa/netif.h
...
(This shouldn't use libsa/netif at all.)
2003-03-13 13:55:24 +00:00
tsutsui
9053a4f127
NEC RISCstation 2200 (NEC-R94) doesn't have the secondary SCSI,
...
so prepare struct pica_dev for R94 in p_nec_r94.c to handle its quirk.
The problem was reported by David Hopper on port-arc.
XXX We should use ARC BIOS to get info of these devices.
2003-03-13 13:52:09 +00:00
scw
d4f824014d
A bunch of things:
...
- Clean up the way cpu-specific tlb/cache functions are configured
and used.
- Add a workaround for a problem whereby cpu* at superhyway? fails
to probe.
- Print more info about the cpu/cache.
- Move the RESVEC handlers back into generic sh5 code and ditch
the panic stack hack.
- Make the on-chip SCIF device the default console on Cayman.
- Add experimental support for booting via a standalone bootstrap
program (not yet committed) and using the boot parameters passed
in by it.
- Add a few more SH elf constants.
- Tick a couple of items off the TODO list.
2003-03-13 13:44:16 +00:00
drochner
caa65123a8
cope with removal of this sick NENTS macro from libsa/netif.h
2003-03-13 13:35:55 +00:00
scw
31b3a7c37f
In scif_getc(), check SCIF_SCFSR2_RDF in addition to SCIF_SCFSR2_DR to
...
detect waiting Rx data. This fixes an occasional console lockup when
when pasting text at the ddb prompt.
2003-03-13 13:19:01 +00:00
drochner
e7bde1e9c7
adapt for void *io_netif
2003-03-13 12:44:48 +00:00
drochner
47fe380b4c
make netif_close() return value void
...
fix prototype
2003-03-13 12:15:31 +00:00
hannken
f2746edc5b
Explicit cast for netif.
...
Approved by: Matthias Drochner <drochner@netbsd.org>
2003-03-13 12:02:54 +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
dsl
30630417a8
Validate pgid arg to TIOCSPGRP
2003-03-13 10:24:38 +00:00
dsl
a485005f79
Ensure that the pgid arg to TIOCSPGRP is in the current session.
...
Correctly treat a +ve value as a pgid and a -ve one as a pid.
2003-03-13 10:20:06 +00:00
dsl
53d2320e25
Check that the process/process group id passed to TIOCSPRP is in the session
...
of the current process.
2003-03-13 10:18:35 +00:00
bsh
436b3debe1
make this compile with SLHCI_DEBUG
2003-03-13 06:50:23 +00:00
simonb
3c7ff59b5b
Sprinkle some "volatile"; fixes problems with the {read,write}_{1,2}
...
functions big-endian Au1xxx CPUs.
2003-03-13 03:04:13 +00:00
dsl
741870b7ef
Validate that pgid argument to TIOCSPGRP in part of current session.
...
Treat +ve numbers as process group ids and -ve as pids (see tcsetpgrp() in part of current session.
Treat +ve numbers as process group ids and -ve as pids - see tcsetpgrp(3).
(approved by christos)
2003-03-12 23:00:03 +00:00
dsl
5786e3a6e8
Add pgid_in_session() for validating TIOCSPGRP requests
...
(approved by christos)
2003-03-12 22:54:44 +00:00
dsl
1c38f38f99
Add pgid_in_session() for validating TIOCSPGRP requests
...
(approved by christos)
2003-03-12 22:16:31 +00:00
drochner
9b72b507ef
-use our own netif layer
...
-call the pxe unload function only on close(), not on open() errors,
so we have a chance to retry
-remove some remaining references to NFS
2003-03-12 17:35:57 +00:00
drochner
168322ea77
kick out mi libsa/netif.c references
2003-03-12 17:33:55 +00:00
drochner
542ccfb0d5
Kick out the netif layer from mi libsa and implement an own, smaller, one
...
(we really don't need to support multiple interfaces)
Also arrange things so that we are able to unload the PXE stacks only
when we are sure that we don't need them anymore. (To make this more
useful, a hook in exec() is needed.
2003-03-12 17:33:10 +00:00
drochner
68edf0e576
separate ether_sprintf() from the rest of ethernet support -- sometimes
...
it makes sense to use the former w/o the latter (eg PXE)
2003-03-12 16:46:31 +00:00
dsl
8bf20eda9b
KNF function prototypes
2003-03-12 16:39:01 +00:00
dsl
4f78d8c26a
Need to call calcru while l->l_stat == LSONPROC
2003-03-12 15:26:33 +00:00
drochner
7b3b2ea783
no need to include "netif.h" anymore
...
(shared interface stuff is in iodesc.h, included by net.h)
2003-03-12 14:51:31 +00:00
drochner
7816074c59
separate the netif interface from the rest of the networking code,
...
so that it can be replaced easily in md code
2003-03-12 14:49:19 +00:00
minoura
552efeab39
Disable ISA DMA emulation for SoundBlaster module explicitly.
...
This fixes the floppy access problem on some hardware.
Problem reported by Miroslav Kure via Jason Wright <jason [at]
thought [dot] net> of OpenBSD. Thanks.
Fix from ALSA driver; although this setting is undocumented but
according to Jaroslav Kysela <perex [at] suse [dot] cz> of ALSA,
there's no error reported so far.
2003-03-12 13:36:22 +00:00
minoura
f5e8ac30e3
Typo.
...
Register value symbols YDS_PCI_EX_LEGACY_SBMOD_* ->
YDS_PCI_EX_LEGACY_SMOD_*.
2003-03-12 13:28:19 +00:00
drochner
1ebc8c2dbd
cleanup:
...
-update comments
-remove remaining references to "bootparam"
-don't try to interpret extra arguments to net_open() - we
get only passed a NULL anyway (see devopen.c)
2003-03-12 13:15:08 +00:00
drochner
c693137139
sync with mi libsa/nfs.c (with the intent to replace it eventually):
...
-kill "register" attributes
-obey "LIBSA_NO_TWIDDLE"
-ignore leading "/" also in the NFS_NOSYMLINK case
2003-03-12 12:23:06 +00:00
jdc
cc782e8a7e
Make this compile with only SUN4 defined.
2003-03-12 07:51:00 +00:00
matt
cd26de2684
Same code exists in both halves in #ifdef/#else/#endif. move it outside.
2003-03-12 06:00:36 +00:00
wiz
5feeffaf69
Remove some.
2003-03-12 00:24:41 +00:00
wiz
b413b8eb87
Update script for bktr-sf imports.
2003-03-12 00:23:39 +00:00
wiz
fa96c20c88
Merge some more.
2003-03-12 00:19:20 +00:00
wiz
0cdd0c6614
Merge first bktr-sf import.
2003-03-12 00:14:40 +00:00
thorpej
7d8f167f16
Split bus_space and bus_dma into separate files.
2003-03-12 00:09:51 +00:00
wiz
a0685571bd
Import of current state of bktr(4) in sourceforge repository.
...
Changes since last import:
. lots of whitespace cleanups
. typo fixes (e.g. hz, compatibilty)
. fix brightness ioctl return value
. wait for int ready using DELAY() instead of tight loop
2003-03-12 00:02:19 +00:00
martin
717651ac94
Band aid - the infamous dcache_flush_page change independently suggested
...
by Andrey Petrov and Jason Thorpje (AFAIK).
This is a hack that covers some symptoms while we have no idea where
the real problem is. Anyway, since this avoids random data corruption
we better be safe and have this in-tree until the problem is solved the
right way.
2003-03-11 21:28:23 +00:00
jmmv
5649a49e43
After the "insert disk <number>, and press return..." message, check only
...
for the return keypress.
2003-03-11 19:43:04 +00:00
drochner
a82c138b1c
If we get passed a filename (from the command line or default "netbsd"),
...
pass it to the BOOTP server in the "filename" field.
(as the "netboot" bootROMs already did)
So the user can easily switch between different kernels/configurations.
2003-03-11 18:32:59 +00:00
drochner
dd15fa8102
Fix bug in readudp(): we have to return the correct length
...
of the received packet to the caller.
TFTP works now.
2003-03-11 18:29:00 +00:00
augustss
287c3adc4d
Update URLs for the HID spec.
...
(Committed at 36000 feet above the Atlantic on board LH418 using
a broadband satellite connection.)
2003-03-11 16:44:00 +00:00
drochner
df62259ae1
kick out RARP/bootparam - PXE uses BOOTP anyway
2003-03-11 16:30:02 +00:00
drochner
dd688f888f
translate EACCES (happens with NFS)
2003-03-11 15:02:54 +00:00
drochner
ff28ac27ec
use our own NFS fs implementation, which is smaller, does a better job
...
in error reporting and coexists with the TFTP fs
2003-03-11 15:01:51 +00:00
drochner
8e04272b51
add prototypes for local functions
2003-03-11 14:38:45 +00:00
dsl
f8f0dcfd17
Need .code32 after real_to_prot (not .code16)
2003-03-11 12:37:35 +00:00
drochner
f4f1e00d62
make a kernel with the combination ohci@cardbus + ehci@pci link
2003-03-11 11:59:31 +00:00
drochner
a6fda7bcfb
create a symlink so that eg <x86/trap.h> is found
2003-03-11 11:03:23 +00:00
hannken
249e0067fe
Add a port to the NCD Explora451 ThinClient.
...
- Supported devices: le, com, lpt, pckbd, frame buffer.
- Support missing: phy, audio, pcmcia.
- Boots from network or md.
Approved by: Eduardo Horvath <eeh@netbsd.org>
2003-03-11 10:57:54 +00:00
hannken
44b1e07ec9
Add support for the IBM 403GCX cpu. Enabled with "options PPC_IBM403".
...
- different set of device control registers.
- non-standard access to the time base.
- 16 byte cache lines.
Approved by: Eduardo Horvath <eeh@netbsd.org>
2003-03-11 10:40:15 +00:00
perseant
ec13062af8
- Get rid of unused #ifdefs LFS_NO_PAGEMOVE and LFS_MALLOC_SUMMARY (both
...
always true) and accompanying dead code.
- When constructing write clusters in lfs_writeseg, if the block we are
about to add is itself a cluster from GOP_WRITE, don't put a cluster
in a cluster, just write the GOP_WRITE cluster on its own. This seems
to represent a slight performance gain on my test machine.
- Charge someone's rusage for writes on LFSes. It's difficult to tell
who the "right" process to charge is; just charge whoever triggered
the write.
2003-03-11 02:47:39 +00:00
nathanw
11aebbf730
Change the contract for timer_settime() (the internal routine, not the
...
syscall sys_timer_settime()) to take an absolute value for realtime
timers. This avoids a pair of gratiuitous conversions with the
possibility that the timer's intermediate value would be 0.0, which
would signal timer_settime() to cancel the timer.
Adjust callers of timer_settime() to compensate; catch the case where
sys_timer_settime() with an absolute time value of now and a virtual
timer would also be subtracted down to a timer-cancelling 0.0.
This should fix the bug seen in libpthread's nanosleep() where certain
applications, such as xmms, would wedge with unexpired userlevel
alarms.
2003-03-10 21:49:56 +00:00
thorpej
5d036d28d6
Fix an error message.
2003-03-10 20:50:22 +00:00
thorpej
2d5e311009
Make PGALLOC_VERBOSE compile where size_t != int.
2003-03-10 19:52:24 +00:00
thorpej
2a493af5b0
For PMAP_CACHE_VIVT platforms, make UBC_RELEASE_UNMAP evaluate to TRUE,
...
and add a comment explaining why.
Reviewed by Chuq Silvers.
2003-03-10 15:07:17 +00:00
lukem
6f7e79fef4
install sys/tree.h
...
organise INCS= lines to make it easier to add includes in the future
2003-03-10 07:55:14 +00:00
augustss
bf2de652b1
Change debug message.
2003-03-09 19:51:13 +00:00
manu
523dbf2146
Quick and dirty version of io_registry_entry_get_properties.
2003-03-09 18:33:28 +00:00
tsutsui
f86b0e1741
In tlb_exception(), don't panic immediately on access at va == 0
...
from kernel mode if fault hander is set.
2003-03-09 16:14:29 +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
perseant
a46b9ccf95
Only #define LFS if not already defined.
2003-03-08 23:18:54 +00:00
perseant
0493be6ba8
Take away "#ifdef LFS_UBC".
2003-03-08 22:14:31 +00:00
perseant
8feb2c22f5
Take away "#ifdef LFS_UBC".
2003-03-08 21:46:04 +00:00
dsl
8a6f95626f
Avoid pulling strncpy() into minimal boot code
2003-03-08 21:30:59 +00:00
dsl
ef18027d4d
Don't trust %bp to point to same place in real and protected modes.
...
prot_to_real preserves %ebp but changes %ss and %sp.
(ok if real %ss is offset n*64k from protected %ss - which it has been)
2003-03-08 21:09:37 +00:00
tsutsui
004ae00514
Use cpu_number() in UVMHIST_LOG() rather than non-public ci_cpuid member
...
in struct cpu_info.
2003-03-08 15:17:23 +00:00
he
b648593b37
Initialize the two new members of "struct consdev" to NULL, so that
...
this file compiles again.
2003-03-08 10:59:02 +00:00
he
34c6df3404
Initialize the two new members of "struct consdev" to NULL so that
...
this file compiles again.
2003-03-08 09:47:13 +00:00
he
0f55132c91
Initialize the two new members of "struct console" to NULL so that
...
this file compiles again.
2003-03-08 09:42:56 +00:00
rafal
67cca2386c
Protect uses of MIPS_R5000 with #ifndef ENABLE_MIPS_R3NKK in new code just
...
as the old code does.
2003-03-08 05:18:25 +00:00
rafal
33fcc94c6f
Add support for R5k secondary caches, from code Chris Sekiya sent me a long
...
time ago, with small tweaks by me. Since the R5k doesn't do VCE, the pmap
still needs to be whacked for R5kSC CPUs to work correctly, but this is a
start.
2003-03-08 04:43:24 +00:00
tsutsui
12a8e27857
Remove .pdr section which is created by binutils-2.13.2.1
...
on objcopy call to make ECOFF kernels.
2003-03-08 02:58:55 +00:00
perseant
4b4f884b89
Add an lfs_strategy() that checks to make sure we're not trying to read
...
where the cleaner is trying to write, instead of tying up the "live"
buffers (or pages).
Fix a bug in the LFS_UBC case where oversized buffers would not be
checksummed correctly, causing uncleanable segments.
Make sure that wakeup(fs->lfs_iocount) is done if fs->lfs_iocount is 1
as well as 0, since we wait in some places for it to drop to 1.
Activate all pages that make it into lfs_gop_write without the segment
lock held, since they must have been dirtied very recently, even if
PG_DELWRI is not set.
2003-03-08 02:55:47 +00:00
he
385f6e3afe
Remove to local declarations of "p" which are no more in use, to make
...
this compile again.
2003-03-08 01:20:21 +00:00
he
585b922ff4
Initialize the new function pointers to NULL, so this compiles again.
2003-03-08 01:18:42 +00:00
fvdl
59a910ed6a
Move the MTRR option to std.x86_64.
2003-03-08 00:08:46 +00:00
lukem
6107a9b605
crank memory disk from 1360 blocks to 1376 blocks
2003-03-08 00:04:36 +00:00
jmc
4829a1952a
Redo last fix to work correctly. Need to run abort on each orb (though it
...
doesn't much now it will eventually) and then so a proper sbp2_free_orb.
2003-03-07 20:18:57 +00:00
jonathan
cd38c4da5c
Commit workaround for hardware bug: 5701 chips running in PCI-X mode
...
require that the DMA receive buffers be aligned. The driver was
deliberately mis-aligning by 2 bytes, to force the layer-2/3
headers to 32-bit alignment.
Workaround: if chip is a 5701, and is in PCI-X mode, leave the DMA
buffers aligned. If the host CPU requires alignment, copy the buffer
after reception to force aligment.
Tested on an i386 in PCI-X bus, with __NO_STRICT_ALIGNMENT forced off.
Patch and comments reworked to minimize drift from
FreeBSD if_bge.c rev 1.14.
2003-03-07 18:57:53 +00:00
jonathan
5214474746
Fix typo: PRODUCER_BUG quirk mask overlapped the PCIX register-bug quirk.
...
(Harmless, since we dont use the latter; but we will use it very soon.)
2003-03-07 18:40:18 +00:00
matt
dfb9f2d504
Remove some constant (use value in bus_space_tags).
2003-03-07 18:24:00 +00:00
drochner
c0e23f3152
-Fix ORB queue corruption / use of free()d memory
...
caused by bad interaction of sbp2_free() and sbp2_abort().
sbp2_abort() requires that its argument ORB is on the
"active" list, and it puts it onto the freelist - sometimes.
So we had 2 causes of corruption:
-removing the ORB from a list which it isn't on
-free()ing recycleable items on the ORB freelist
-minor cosmetics
2003-03-07 16:29:33 +00:00
drochner
49e6bf0fa5
Add support for "simplified direct" (aka RBC) devices.
...
This reveals some ugly points in the sd driver, as
the PQUIRK_ONLYBIG flag (there are 6, 10, 12 and 16 byte
CDBs for r/w) and the handling of small/big mode
select/sense. This should be cleaned up.
Also the "long" struct disk_parms.disksize is worth
a thought...
2003-03-07 16:18:57 +00:00
kanaoka
5c5aa9ba83
Make sure this compiles with ACPI_DEBUG.
...
Pointed out by Patrick Welche <prlw1@newn.cam.ac.uk>.
2003-03-07 15:17:44 +00:00
rjs
b486d4a0ff
Add NULL cn_halt and cn_flush entries to consdev.
2003-03-07 13:30:35 +00:00
he
0a235da1cd
Add inclusion of <sys/lock.h> to allow compilation of usage of
...
MALLOC() to succeed.
2003-03-07 12:40:12 +00:00
fvdl
02de215ad2
Add cpu* at mainbus.
2003-03-07 11:02:50 +00:00
thorpej
b81d443ef3
Allow a memory disk image to be statically included in the kernel
...
to be specified in the kernel configuration file, like so:
makeoptions MEMORY_DISK_IMAGE="/path/to/image.fs"
2003-03-07 01:26:12 +00:00
dsl
ef50700873
LIBSA_NO_CLOSE is LIBSA_NO_FS_CLOSE everywhere else.
2003-03-07 00:46:37 +00:00
matt
52f7db1beb
Fix C&P tpyo.
2003-03-07 00:14:38 +00:00
taca
e7e88128f7
Fix compile error with struct consdev change.
2003-03-06 23:47:35 +00:00
fvdl
d2c1c747ec
Remove last traces of pccons.
2003-03-06 23:21:36 +00:00
matt
c4d8a6226e
Make the intel phy match the i82562 phys.
2003-03-06 22:38:09 +00:00
fvdl
167eeeab9c
Update for kernel include changes.
2003-03-06 22:32:07 +00:00
bouyer
5cdb9ac484
Regen: Remove duplicate in previous.
2003-03-06 22:25:43 +00:00
bouyer
0cc9494784
Remove duplicate in previous.
2003-03-06 22:25:23 +00:00
fvdl
06114d8df6
Don't descend into ../i386/include anymore.
2003-03-06 22:22:55 +00:00
fvdl
00289f6f52
Put the correct value in the TPR before entering DDB.
2003-03-06 22:17:44 +00:00
bouyer
35f51b36b4
Regen: Add several SiS host bridges, from FreeBSD.
2003-03-06 22:10:26 +00:00
bouyer
bc029ddc91
Add several SiS host bridges, from FreeBSD.
2003-03-06 22:09:46 +00:00
thorpej
1557986bd7
Don't require that input buffers and output buffers be of the same
...
type.
2003-03-06 21:32:59 +00:00