lukem
c56418af73
some improvements from freebsd/openbsd
...
- replace the unused fs_headswitch and fs_trkseek with fs_id[2], bringing
our struct fs closer to that in freebsd & openbsd (& solaris FWIW)
- dumpfs: improve warning message when cpc == 0
2001-08-30 14:37:25 +00:00
mrg
10516949e9
add some sun4/sun4c/sun4m compat code so we can build 32 bit kvm. (these files are not even vaguely syncable.)
2001-08-30 09:32:23 +00:00
haya
2228225e5c
Add some register definitions for TI PCI12XX and Toshiba ToPIC.
...
Add ToPIC97 and ToPIC100 chip initialisation routine.
Add more TI PCI12XX chip initialisation.
2001-08-30 09:20:17 +00:00
lukem
c535133897
- minor whitespace and comments cleanup
...
- replace "filesystem" with "file system"
- fix spelo (from freebsd)
2001-08-30 08:31:25 +00:00
chs
1de4b3e2e0
min() -> MIN() (on general principles)
2001-08-30 03:55:42 +00:00
chs
eccd469cf7
min() -> MIN()
2001-08-30 03:47:53 +00:00
briggs
89829e4825
defines for OPENPIC_ICR / serial mode.
2001-08-30 03:08:52 +00:00
briggs
0ea9d87eb1
Create an opt_openpic.h and add both OPENPIC and OPENPIC_SERIAL_MODE to it.
2001-08-30 03:08:22 +00:00
briggs
6017201500
Rename PCI_MAPREG_TYPE_ROM to PCI_MAPREG_ROM_ENABLE to keep up with pciconf.?
2001-08-30 02:53:56 +00:00
briggs
e4f8f2f2da
Respect __PCI_BUS_DEVORDER.
...
If all devices can handle 66MHz, then use 66MHz.
Triple the number of configured I/O ranges that we can handle on a bus
(8 was insufficient--originally didn't consider multifunction devices)
Allow one to specify which types of memory to configure, I/O, ROM, or
MEM--for example, one could configure only ROM or only non-ROM.
Ensure that the ROM is disabled if we're not configuring it.
Only set PCI_COMMAND_IO_ENABLE/PCI_COMMAND_MEM_ENABLE if there are valid
memory ranges configured.
2001-08-30 02:52:41 +00:00
briggs
f05abdee3c
- Change default time frequency to 100MHz from 66MHz.
...
- Support the serial mode interrupts (with a kernel configuration option)
on the Sandpoint X3.
- Initialize cpu_timebase.
- Enable tulip driver.
2001-08-30 02:08:42 +00:00
matt
e4892d7157
When invaliding single icache line on XScale, the branch target buffer
...
also needs to be invalidated. Also, but in the right sequence to empty
the pipeline on XScale.
2001-08-30 01:15:39 +00:00
simonb
352f878e45
Gah, fix a number of channel status/select bitfields.
2001-08-29 23:32:21 +00:00
nathanw
4666070137
Correct a comment: The address of the signal handler is passed to the
...
sigcode trampoline in pv (t12), not a3, and has been since the
beginning of time.
2001-08-29 20:17:08 +00:00
briggs
c50646a1f3
Add adw
2001-08-29 17:37:47 +00:00
briggs
665cc59e75
Ensure that data accessed by the ADW driver in memory is in
...
little-endian byte-order. This should work out to be a no-op
for LE systems, and allows BE systems to use the board.
Tested on PPC, reviewed by Dante.
NOTE: The board/microcode does have a BIG_ENDIAN mode of operation,
but it's not well-documented. That might be interesting to investigate
at some point in the future, though.
2001-08-29 17:25:03 +00:00
itohy
a0f0f74348
Print extra information on machine check (AS500, AS600).
2001-08-29 14:14:33 +00:00
chuck
1b6311c365
make 4.3 binaries run once again on the vax. tested with
...
omagic/nmagic/zmagic binaries from guest account on
Lord Isildur's tahoe system (thanks). enabled if both
COMPAT_43 and COMPAT_VAX1K are defined.
basically rewrote exec_vax1k_prep_anymagic() to handle more
file formats. we remove vax1k_subr.c because we now use the
standard vmcmd_readvn function.
XXX: suspect the code for MID_VAX1K NMAGIC binaries is wrong,
need a binary to confirm this... the old code did not pad the
end of the text segment to a page boundary, and that seems wrong.
you definitely need to pad it on a 4.3BSD NMAGIC binary and i
don't see why MID_VAX1K should be different?
2001-08-29 03:43:53 +00:00
tsubai
de0feee64b
Regen.
2001-08-28 23:54:14 +00:00
tsubai
7cba152e7c
Add more Apple devices.
2001-08-28 23:53:14 +00:00
thorpej
14f612c5b3
- Swap the bytes OR'd into init_ladrf[], for big-endian machines.
...
- Make sure to sync the init block.
Pointed out by Izumi Tsutsui.
2001-08-28 15:22:30 +00:00
tsutsui
ab8b3ce5d3
Remove descriotion about homegrown sonic driver from TODO list
...
since it has been replaced with the MI driver.
2001-08-28 15:17:47 +00:00
thorpej
2e4bdfe678
Add a TODO item: Do this in 2 passes. One pass that configures the
...
bus (and optionally maps expansion ROMs), and an optional second
pass to disable expansion ROMs that are mapped. This would allow
MD code to possibly execute the expansion ROMs (possibly in an x86
emulator) to configure a device (e.g. a VGA card, which pretty much
needs to be configured by its ROM).
2001-08-28 15:13:48 +00:00
thorpej
cdf824bfb6
If MD code doesn't provide pci_conf_hook(), then default to not mapping
...
the expansion ROMs on cards, since address decoders may be shared between
the ROM and PCI memory space on some cards (i.e. "only map the ROM if you're
going to use it, and then unmap it when you're done" is the intended
usage).
2001-08-28 15:09:10 +00:00
eeh
b14bf2ceef
Fix incorrect parentheses.
2001-08-28 14:51:28 +00:00
thorpej
fdb02063d2
Print "auto-FDX" for the second "autoselect" instance. Pointed out
...
by Izumi Tsutsui.
2001-08-28 14:15:18 +00:00
ad
d46bbf4926
In the absense of any objection, move the rbus I/O range to 0x600-0x700
...
in the ARMADA config. On the M700 at least, the SMBus host controller lies
it 0x4000 (the beginning of the range allocated by default to rbus), and
stomping all over it causes bad things to happen.
2001-08-28 09:25:52 +00:00
matt
df0327518e
Add evbarm, ibmnws, mvmw88k, m88k
2001-08-28 05:59:48 +00:00
matt
dfbb14ad68
__syncicache needs to be exports to userspace as well as the kernel.
2001-08-28 03:03:43 +00:00
eeh
2879b54794
Enable some additional useful options like NFS_SERVER and RAID.
2001-08-28 02:43:49 +00:00
simonb
2d4d9f7fdc
Stop pci_configure_bus() from mapping PCI expansion ROMs. Fixes problems
...
with at least some sip (and possibly siop) cards on the walnut.
2001-08-28 01:35:06 +00:00
eeh
8949c133a4
Get rid of debug printf.
2001-08-27 22:38:34 +00:00
augustss
8afb9f3591
Use #include <machine/intr.h> instead of #include <machine/cpu.h> to
...
improve portability.
2001-08-27 22:37:33 +00:00
augustss
494454a87d
Comment out the hme driver; it's not totally MI yet.
2001-08-27 22:25:42 +00:00
augustss
b5937bf1d0
Add some missing network drivers.
2001-08-27 22:23:47 +00:00
augustss
7b55182d7d
Remove an unneeded #include. This makes the file compilable on more
...
platforms.
2001-08-27 22:18:49 +00:00
augustss
3346d43a5b
Make it compile.
2001-08-27 22:17:29 +00:00
thorpej
1930fec887
New driver for the AMD PCnet-PCI family of Ethernet chips. This
...
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.
2001-08-27 19:42:18 +00:00
eeh
228006bcc3
Add the driver for the LMC WAN adapter.
2001-08-27 18:52:09 +00:00
eeh
b22154dd79
Make the LMC driver bus_dma and endian clean (big-endian mode does not appear
...
to work on LMC cards).
2001-08-27 17:47:35 +00:00
enami
97e7cd9cf9
For hayes esp card, set prescaler if specified rate is grater than 115200.
2001-08-27 14:27:01 +00:00
enami
4f924773b7
Regen.
2001-08-27 14:10:20 +00:00
enami
02d004f2c8
Sort Intel products by id and kill duplicated entries.
2001-08-27 14:04:47 +00:00
enami
405f874060
extent_alloc_subregion shouldn't allocate a region pasts the end of subregion.
2001-08-27 13:35:44 +00:00
fredette
1676190cef
adjust the hack to build the SRT*.o files.
2001-08-27 13:07:03 +00:00
kanaoka
3b4f143fd8
- Correct a value of subend.
...
Pointed out by enami tsugutomo <enami@but-b.or.jp>.
2001-08-27 13:02:12 +00:00
augustss
0432180062
Add 7 new PHYs.
2001-08-27 12:08:00 +00:00
chris
37fb92dcab
Remove unused entries from the pcb. This is with a long term view of merging the arm26 and arm32 pcb's.
2001-08-27 11:39:43 +00:00
ad
13bc6b2e19
Use PWAIT for the lock, not 0.
2001-08-27 11:24:38 +00:00
haya
31d98218e8
Add support for ALi M1543 in pcibios.
2001-08-27 08:21:20 +00:00
ad
ffb2d70070
Regen.
2001-08-27 08:03:37 +00:00
ad
8fb0b8c6dc
Add a DPT PCI-PCI bridge.
2001-08-27 08:02:52 +00:00
simonb
bbe2823aee
ANSIfy, KNF.
2001-08-27 06:18:08 +00:00
briggs
0667ea6c1c
text address is 0x90000, not 0x9000.
2001-08-27 04:53:27 +00:00
chuck
2dec1a929d
handle a locking problem where the second (or later) call in the loanentry
...
loop returns 0. loanentry was returning >0, but was unlocking the maps
(because of the zero). reworked to avoid this. problem reported by
chuck silvers. also clarify a comment that jdolecek asked about.
2001-08-27 02:34:29 +00:00
nisimura
df657b5158
Count and record memory error interrupts with evcnt(9).
2001-08-27 02:00:16 +00:00
matt
edc83ba7f4
Add xscale cpufuncs (using the sa110 ones when they are identical).
2001-08-27 00:00:27 +00:00
manu
6f08a31e06
Fixed a lot of mistakes in #define's (hes values instead of octal)
2001-08-26 21:17:52 +00:00
matt
e8f317bba8
Add xscale cpu functions
2001-08-26 19:41:57 +00:00
matt
4e642cc5fd
Add i80312 register definitions (just registers for now).
2001-08-26 19:25:47 +00:00
matt
08f4bcddf3
files file for xscale (i80312 aka iopxs)
2001-08-26 19:19:09 +00:00
manu
6ae6d7c980
Preliminary work on Linux/Mips emul
2001-08-26 18:53:20 +00:00
fredette
d77c828c64
Fixed a bug processing options - we were ORing
...
an uninitialized auto into boothowto.
2001-08-26 18:39:15 +00:00
manu
abf3af624a
Preliminary work on Linux/Mips emul. More to come soon...
2001-08-26 18:11:25 +00:00
manu
34e3550db4
Moved LINUX_NCCS from MI file to MD file, because the value is different
...
on MIPS and sparc machines.
2001-08-26 17:26:31 +00:00
manu
8d2d7fdf71
Fiexed a typo in a #define
2001-08-26 17:17:55 +00:00
manu
0e6de337a2
Preliminary work on Linux/mips compat, more to come soon...
2001-08-26 17:12:56 +00:00
fredette
6682ab1fbf
Under __ELF__, getvbr must return its pointer value
...
in %a0, not %d0. This fixes many problems with
getting the PROM to halt and reboot the machine.
2001-08-26 17:12:11 +00:00
manu
d1fd72fba1
Fixed a typo in struct naming. This does not seems to impact anything.
2001-08-26 17:08:09 +00:00
manu
21f970e367
Preliminary work on Linux/Mips emulation, more to come soon...
2001-08-26 17:03:37 +00:00
manu
0f65ff9afc
Preliminary work on Linux/mips compatibility, more to come soon...
2001-08-26 16:41:58 +00:00
simonb
9d7facdb6e
Yanking a pmax-specific header should not have broken Alpha
...
compiles! Remove all pmax include files, copying 'struct pdma'
from <pmax/dev/pdma.h> into sccvar.h.
XXX: diffs between current pmax and alpha scc.c are almost as large
as the files themselves. Should clean this up...
2001-08-26 16:39:56 +00:00
manu
de40f400dd
Preliminary work on Linux/mips compatibility, more to come soon...
2001-08-26 16:33:01 +00:00
tsutsui
62c3bdeea4
sysctl(2) -> sysctl(3) (in comments)
2001-08-26 16:22:20 +00:00
manu
6ca52a1743
Preliminary work on Linux/mips compatibility, more to come soon...
2001-08-26 16:21:56 +00:00
manu
0a50dcbab4
Preliminary work on Linux/mips compatibility. More to come soon...
2001-08-26 16:18:03 +00:00
tsutsui
e1921cd311
Add one more pmap_update() missed in rev 1.14.
2001-08-26 16:05:25 +00:00
manu
fcf1fa0015
Preliminary work on Linux/mips compatibility, more to come soon...
2001-08-26 15:41:14 +00:00
manu
e712414a48
Preliminary work on Linux/mips compatibility. More to come soon...
2001-08-26 15:38:44 +00:00
manu
a410e315dd
Preliminary work on Linux/mips compatibility. More to come soon...
2001-08-26 15:24:24 +00:00
manu
b2ca6f9c3b
Preliminary work for Linux/Mips compatibility, more to come soon.
2001-08-26 15:16:42 +00:00
bjh21
6825e7d5ea
Garbage-collect pcb_onfault_lj, since it's unused and doesn't exist on
...
arm32 ports.
2001-08-26 14:15:07 +00:00
bjh21
66da5fecf2
KASSERT the presence of a FIQ downgrade handler before we try to call it.
2001-08-26 12:25:38 +00:00
bjh21
9c45cae8df
Make cmos_read() and cmos_write() globally visible, and make the instance
...
they operate on implicit. Also, stop abusing cf_unit, and remove a vast
swathe of unused code.
2001-08-26 12:24:24 +00:00
bjh21
0ff76b5187
Add fiq_off() and fiq_on().
2001-08-26 12:20:59 +00:00
mrg
e309f80412
remove bogus comment. noted by Tetsuya Isaki <isaki@par.odn.ne.jp> in private email.
2001-08-26 12:14:22 +00:00
ad
5bfd050aa7
Fix typo.
2001-08-26 12:05:55 +00:00
simonb
cddf6cf55b
Switch to MI SCSI and drop old pmax MD SCSI support completely.
2001-08-26 11:47:18 +00:00
simonb
47bb32d470
Use the common Makefile.powerpc.
2001-08-26 11:00:07 +00:00
simonb
7ec91f6656
Include ${THISPPC}/conf/Makefile.${TARGET_MACHINE}.inc if it exists (ala
...
mips' Makefile.mips).
2001-08-26 10:59:26 +00:00
chs
a026d7bc78
handle unmanaged pages correctly in pmap_remove_pv(),
...
fixes crashes when exiting X.
2001-08-26 06:03:11 +00:00
eeh
90ce2985e4
Do a more accurate compare.
2001-08-26 05:46:31 +00:00
eeh
5b0492f05e
Fix debug printf.
2001-08-26 05:44:46 +00:00
mhitch
ba61a3cc19
Fix memsize_scan() - cut and pasted code can't use physmem because it hasn't
...
been set yet.
2001-08-26 05:16:52 +00:00
matt
5911b9a67f
Make compile with -Wmissing-prototype -Wstrict-prototypes
2001-08-26 02:49:18 +00:00
matt
449a758850
Add EVCNT_TRAP event counter type.
2001-08-26 02:48:12 +00:00
matt
550ffff41b
Make all powerpc ports use a common Makefile.powerpc (except walnut)
...
Enforce -Wmissing-prototypes -Wstrict-prototypes for all ppc ports.
Split out macppc cpu support and make common to mpc6xx ports. Make
other mpc6xx ports use it. Add evcnts for mpc6xx traps.
2001-08-26 02:47:33 +00:00
chs
a65671c2a9
don't mess with vnode holds or buffer lists for swap i/os.
...
fixes problems with leaked vnode holds.
2001-08-26 00:43:53 +00:00
chs
d0e2aef09a
add register prefixes. no change in generated .o files.
2001-08-25 23:08:39 +00:00
is
e2ad09e624
synchronize (addition of repulse driver).
2001-08-25 21:19:20 +00:00
is
bd5a12de41
Driver for the ALiENDESiGN Repulse board.
...
- only 8/16 bit precision supported
- no support for the Repulse special S/P-DIF I/O yet
- I think ac97.c needs some work.
2001-08-25 21:15:44 +00:00
chs
753f885263
add register prefixes in asms.
2001-08-25 21:14:44 +00:00
chs
db7d3946ac
add register prefixes. no change in generated .o file.
2001-08-25 21:08:02 +00:00
chs
ed1e153702
use the correct symbol for multi-include protection.
2001-08-25 20:37:46 +00:00
matt
3ec769dff6
Make this compile with -Wmissing-prototypes by adding appropriate
...
cdev_decl, bdev_decl, cons_decl
2001-08-25 19:05:04 +00:00
chs
d38ac3477c
remove -mwarn-no-reg-prefixes, it doesn't work with new gas.
2001-08-25 18:57:37 +00:00
chs
6fbd291760
add COMPAT_AOUT_M68K stuff.
2001-08-25 18:37:20 +00:00
thorpej
89893e42b7
ANSI'ify.
2001-08-25 18:04:01 +00:00
bjh21
3f9dc1b3e8
In ioc_attach(), use ioc_irq_setmask() and ioc_fiq_setmask() rather than
...
twiddling registers directly. Also, remove an outdated comment.
2001-08-25 17:59:38 +00:00
bjh21
7da5d70599
Add fiq_on() and fiq_off(), to enable and disable FIQs at the CPU.
...
Call fiq_off() from start() and fiq_on() from cpu_configure(), so we're certain
not to get any FIQs during autoconfiguration.
2001-08-25 17:55:24 +00:00
bjh21
bf5b029d44
Make sure that soft interrupts are initialised in a "not pending" state.
2001-08-25 17:45:32 +00:00
mrg
e63635fdcd
update copyright notices.
2001-08-25 15:06:02 +00:00
mrg
71552c86a0
s/sparc/sparc64/ in a printf()
2001-08-25 15:05:22 +00:00
mrg
05403a4b92
turn off compat & some exec options
2001-08-25 15:04:26 +00:00
mrg
48fcc1a2c3
update a comment about R_UA_32 relocs.
2001-08-25 15:03:19 +00:00
bjh21
ed5e27cc44
Increase the size of a jmp_buf when using ELF, since this will be our last
...
chance to do so for a while. We don't use the extra space yet, but VFP
support is likely to need it.
2001-08-25 14:45:59 +00:00
thorpej
11be81ff63
Regen.
2001-08-25 06:00:01 +00:00
thorpej
c783391d0a
Note compatibility with the Am79c874, and document some more
...
registers.
2001-08-25 05:57:12 +00:00
thorpej
9d50e2e95a
Back out previous; closer inspection of the manual reveals that the
...
Am79c874 has the same ID register contents as the AC101.
2001-08-25 05:55:19 +00:00
thorpej
820809faec
Regen; added AMD Am79c874 NetPHY-1LP.
2001-08-25 05:45:25 +00:00
thorpej
05e4fb8e6c
Add AMD Am79c874 NetPHY-1LP.
2001-08-25 05:44:59 +00:00
thorpej
85a7cdc261
Driver for the 10BASE-T portion of the AMD 79c901 PHY.
2001-08-25 04:06:26 +00:00
thorpej
158cb83996
Add a driver for generic HomePNA PHYs. Currently supports the HomePNA
...
portion of the AMD Am79c901.
2001-08-25 03:21:38 +00:00
thorpej
9fe2378664
For HomePNA PHYs, don't register it w/ ifmedia as 10BASE-T, but
...
rather as HomePNA1.
2001-08-25 01:57:56 +00:00
thorpej
f7f8866fea
Add a flag that indicates that a device is a HomePNA device.
2001-08-25 01:41:17 +00:00
thorpej
684a4b71e3
Regen; improve AMD PHY names.
2001-08-25 01:39:59 +00:00
thorpej
9d04a424fe
Improve the AMD PHY names.
2001-08-25 01:39:22 +00:00
thorpej
b6aa674493
Driver for the Altima AC101 10/100 Ethernet PHY.
2001-08-24 17:54:32 +00:00
mhitch
20039b1dd8
Use the PROM bitmap, if available, to determine available memory. Also
...
add support of multiple memory segments so machines that allow mixed
memory sizes can utilize all available memory.
2001-08-24 15:33:16 +00:00
haya
45e61b5399
Buf fix: use PWAIT priority and do not set PCATCH.
2001-08-24 10:55:53 +00:00
wiz
251b3464be
heirarchy -> hierarchy
2001-08-24 10:24:45 +00:00
chs
cb3b720183
disable mmap() for LFS until it is fixed.
2001-08-24 06:42:46 +00:00
thorpej
6621bd5a97
More useful definitions for CSR80.
2001-08-24 05:04:40 +00:00
chs
ba2c8088f4
use pmap_k* for buffer cache pages.
2001-08-24 04:34:25 +00:00
simonb
bcdac55add
Fix the display of the CPU clock speed.
2001-08-24 02:11:01 +00:00
simonb
8375df5b6a
Whitespace nits.
2001-08-24 02:07:34 +00:00
simonb
c8d4938fb4
Fix compile problems for kernels configured for MIPS1 support only.
...
Patch from Thilo Manske in PR #13703 .
2001-08-24 00:22:53 +00:00
thorpej
0f89153491
Oops, TMD/RMD byte count masks were one bit shy (and it makes a big
...
difference when the value in the field is actually the two's complement
of the buffer length).
2001-08-24 00:16:25 +00:00
eeh
1007ef1595
Fix backwards compare. (From Jason Wright)
2001-08-23 16:14:12 +00:00
bjh21
d400c78e55
Update location of IANA smi-numbers file, since the old one doesn't work any
...
more.
While I'm here, add IANA assignments 0xbe--0xc5.
2001-08-23 14:52:21 +00:00
tsubai
e20342e78d
Fix a bug introduced when machine_type.h was removed.
...
Now the kernel can read symbol table again.
2001-08-23 14:17:27 +00:00
tsutsui
b6e4b26d3b
Check 80 pins cable in acard_setup_channel() for Acard ATP860.
2001-08-23 10:02:25 +00:00
chs
c540e9e70b
add a missing pmap_update().
2001-08-23 06:18:47 +00:00
chs
9fa41ab3b9
use cli/sti instead of splhigh/splx for MCOUNT_ENTER/MCOUNT_EXIT.
...
this makes clearer how much time mcount() is really taking.
2001-08-23 06:17:00 +00:00
thorpej
ce0d046061
Regen; recognize the 79c972's 10BASE-T interface mapped onto MII.
2001-08-23 04:47:36 +00:00
thorpej
b52818d607
The Am79c972 PCnet-FAST+ has its built-in 10BASE-T interface mapped
...
onto the MII bus. Recognize it.
2001-08-23 04:47:05 +00:00
thorpej
29bfa727c1
Regen; take part numbers out of PCnet-PCI product descriptions.
2001-08-23 03:42:26 +00:00
thorpej
16efbbf387
Take part numbers out of the PCnet-PCI product descriptions.
2001-08-23 03:41:36 +00:00
thorpej
2c469bbf82
Regen; Add Promise ATA/100 TX2.
2001-08-23 03:32:24 +00:00
thorpej
915a8ef871
Add Promise ATA/100 TX2 device ID.
2001-08-23 03:31:55 +00:00
itojun
4d1509970e
do not try to bring IPv6 up on bridge*.
2001-08-23 02:58:24 +00:00
nisimura
4d28b238b5
Add MX (PMAG-A) and TX (PMAG-RO/PMAG[B]-J) supports and replace CX
...
(PMAG-B) code with one found in dev/tc/ directory.
2001-08-23 01:29:31 +00:00
nisimura
9a409cff3e
Add MX (PMAG-A), CX (PMAG-B), TX (PMAG-RO/PMAG[B]-J) TC framebuffer
...
supports. None of them has any acceleration capability.
2001-08-23 01:16:52 +00:00
itojun
2697773fb1
IFQ_PURGE cannot be used against ifqueue. use IF_PURGE.
2001-08-23 00:56:03 +00:00
matt
d98bf76f56
Fix bootstrap loss of memory. Fix pmap_activate problem. Revamp debug
...
messages.
2001-08-22 22:17:57 +00:00
matt
28c81ffc15
7450 requires a sync before the the isync (MPC7450UM - 3.4.4.8)
2001-08-22 21:19:58 +00:00
matt
ae5ab93687
Add 7450 recognization. 7450s use NAP mode. print out HID0 register
...
contents.
2001-08-22 21:09:05 +00:00
matt
076780a19c
Include the 7410/7450 hid definitions
2001-08-22 21:05:25 +00:00
thorpej
15dcb4a98e
Link the kernel at 1MB.
2001-08-22 19:44:47 +00:00
thorpej
9f019df56f
Allow a keypress on the console to transition from "halted" to "returning
...
to monitor".
2001-08-22 19:13:09 +00:00
thorpej
f0ea5cb1e9
Don't need to do the Alpha boot block checksum here :-)
2001-08-22 17:53:44 +00:00
hubertf
5366e197e2
More comment changes: 90x[B] -> 90x[BC]
2001-08-22 15:39:04 +00:00
hubertf
d08ed3cb49
90x[B] -> 90x[BC]
2001-08-22 15:28:57 +00:00
msaitoh
e380d9806e
devclass of sci[f] is tty
2001-08-22 13:32:45 +00:00
simonb
dc0e4c0679
Cosmetic cleanups:
...
- cominit() is local to com.c, remove prototype from comvar.h.
- Don't prototype comstop(), cdev_decl(com) does this.
- Don't use a block device switch table declaration(!).
- No need to include "com.h".
2001-08-22 12:44:10 +00:00
ad
a0fdfb54e0
Implement/fix FDDI, receive checksums, media selection and a ton of other
...
stuff.
2001-08-22 09:43:15 +00:00
ad
1d6329bb04
Parameter group changes:
...
- Do FIELD_SET correctly for scalar types.
- Add some basic table ops.
- Push error reporting back into iop.c.
- Add some field index and (yet more) LAN defs to i2o.h.
2001-08-22 09:42:05 +00:00
nisimura
153449a2b4
Restore icsr value assignment op which was lost since r1.21.
2001-08-22 09:20:38 +00:00
itojun
de250bca38
copyright clarification (the skeleton file is in public domain)
2001-08-22 08:54:51 +00:00
nisimura
9fac675c1e
Forgot to commit changes of intrcnt[] array and its indices.
2001-08-22 08:23:09 +00:00
itojun
9fe945f2fe
sync argument/return type of [hn]to[nh][ls] to XNET 5.2 (uint{16,32}_t).
...
as discussed on tech-net.
2001-08-22 07:42:07 +00:00
nisimura
d3320a155b
NetBSD/pmax now has GENERIC_SOFT_INTERRUPTS.
2001-08-22 06:59:38 +00:00
nisimura
bd799bf74f
Use ri->ri_hw field for TC module base address.
2001-08-22 05:15:58 +00:00
nisimura
1df3ced126
Move small storage for ev_name string into tcds_softc.
2001-08-22 05:00:27 +00:00
nisimura
b7f1b6d54b
Nuke fb_devconfig data structure which was found unnecessary to have.
2001-08-22 02:24:29 +00:00
thorpej
17c22a634f
Set PCI_NETBSD_ENABLE_IDE to 0x01, so that the first IDE channel
...
will be enabled.
2001-08-22 00:42:43 +00:00
thorpej
f5e6f05c1a
If PCI_NETBSD_ENABLE_IDE is set, enable the PIIX{3,4} southbridge
...
IDE channels on the P-5064 and P-6032, since PMON doesn't do it
for us (thus causing the `pciide' driver to ignore them).
2001-08-22 00:40:38 +00:00
thorpej
10591340be
Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
...
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.
2001-08-22 00:36:57 +00:00
bjh21
35228f775a
Two related changes:
...
Make splhigh disable IRQs at the CPU rather than at the IOC. This has the
potential to be faster, and more importantly ensures that splhigh() blocks
FIQ downgrades.
Have a variable which indicates that a FIQ downgrade is required, and ensure
that the IOC "force IRQ" bit is turned on in this case. This ensures that
FIQ downgrades don't get lost if something happens to be fiddling with the
interrupt mask at the wrong moment.
2001-08-21 22:47:17 +00:00
bjh21
8a979a066f
Change various return sequences to the APCS-32 versions.
2001-08-21 22:42:17 +00:00
bjh21
1def612c66
Correctly restore the spl if we fail to claim the FIQ.
2001-08-21 22:40:39 +00:00
thorpej
d987b42429
More PCnet-PCI/ILACC bits.
2001-08-21 16:39:06 +00:00
thorpej
8b72cec4d8
Add some more PCnet-PCI registers.
2001-08-21 16:37:38 +00:00
pooka
429d846242
regen: psion gold card
2001-08-21 16:13:14 +00:00
pooka
e62b69f246
add vendor Psion and product Psion Gold Card
2001-08-21 16:13:03 +00:00
reinoud
d7964c6e78
Initial commit for Xserver support for the wscons interface; it isn't fully
...
functional yet since the keyboard changes are not committed yet but it
should compile and work independently.
Initial support for mouse and screen takeovers / screen hardware scroll
reset is done.
2001-08-21 14:48:54 +00:00
sato
3f9cc29da9
fix vr4181 register offset.
2001-08-21 10:31:26 +00:00
bjh21
1d4ae5d285
Use int_off_save and int_restore rather than int_off and int_on.
2001-08-20 23:28:05 +00:00
bjh21
a180b9a8f4
Add fiq.
2001-08-20 23:15:40 +00:00
bjh21
45b5bdc5e5
Split off the pm_entries array from the rest of struct pmap. This makes
...
memory allocation for it more efficient (since pm_entries is 4096 bytes long),
and will allow pm_entries to be freed for swapped processes.
2001-08-20 23:12:54 +00:00
bjh21
8ec27f2ebe
Implementation of fiq_{get,set}regs.
...
Also, don't leave space for a FIQ handler in kernels with no FIQing devices.
2001-08-20 23:10:51 +00:00
bjh21
13f36f67c6
Don't initialise a podule's loader multiple times.
2001-08-20 23:09:12 +00:00
bjh21
9aa4896361
More FIQ support. This gives me enough to handle FIQs, and to downgrade them
...
to IRQs as necessary. All these interfaces are subject to change in the light
of experience.
2001-08-20 23:08:10 +00:00
bjh21
1061e51a8a
One from the vaults: Add lint stubs.
2001-08-20 22:56:10 +00:00
chris
140252be2b
Arm has a vac, so we must use pmap_enter/remove for vmapbuf rather than k* versions, otherwise we may not be doing the right caching thing.
2001-08-20 21:52:09 +00:00
thorpej
04a394787e
Oops, the "auto" capability was getting masked off by mistake.
...
Fixes a panic reported by Chuck Silvers.
2001-08-20 20:22:53 +00:00
fvdl
b9f24a3dd1
Regen.
2001-08-20 19:29:59 +00:00
fvdl
69906a3032
Add some entries for the AMD 76x chipset for completeness.
2001-08-20 19:29:08 +00:00
matt
078a9a2206
Netwinders have ISC phys, not LXT phys.
2001-08-20 16:17:12 +00:00
ad
dacf7e8e3d
Don't special case the retry for Media Changed... More later.
2001-08-20 15:45:10 +00:00
wiz
c52d355d71
"wierd" is weird.
2001-08-20 12:20:01 +00:00
wiz
1e378c4c12
precede, not preceed.
2001-08-20 12:00:46 +00:00
wiz
f33f8d5e61
Succeed has two 'c's.
2001-08-20 11:57:34 +00:00
wiz
0f95e3da3c
precede, not preceed, and a whitespace fix.
2001-08-20 11:57:02 +00:00
wiz
d375535396
Fix typo in comment (suceed).
2001-08-20 11:49:11 +00:00
ad
13499203a2
Two changes submitted by Sergey Svishchev <svs@ropnet.ru>:
...
- Don't send START UNIT upon open if the drive is playing audio (PR 11768).
- If we receive sense indicating that the media changed, retry (PR 8326).
2001-08-20 11:31:10 +00:00
ad
ab54b70cae
Cosmetic change.
2001-08-20 11:20:51 +00:00
nisimura
a6f7e30eec
Nuke fb_devconfig data structure which was found unnecessary to have.
...
224 byte saving in text+bss, and runtime.
2001-08-20 08:34:39 +00:00
ad
52449ef3bf
Medium Not Present has number of defined ASCQs. Pointed out by Sergey
...
Svishchev <svs@ropnet.ru> in PR 8326.
2001-08-20 07:47:01 +00:00
ad
d861b4992a
Add descriptions for Medium Not Present ASCQs.
2001-08-20 07:41:14 +00:00
gehenna
0999a72932
The latest EHCI spec is 0.96
2001-08-20 07:16:35 +00:00
mrg
b734a361cf
allow SHMMAX, SHMMIN, SHMMNI and SHMSEG to be specified in the kernel config file.
2001-08-20 04:51:17 +00:00
mrg
dc4e692845
add a commented "options NETATALK"
2001-08-20 04:49:17 +00:00
gehenna
fb5869c240
Regen
2001-08-20 03:48:29 +00:00
gehenna
f0dd0ada57
Add NEC USB2.0 Host Controller
2001-08-20 03:45:55 +00:00
itojun
ef0be725b3
if I'm bridging and got a packet to interface address on if A from if B,
...
advertise MAC address for if A with ARP reply.
2001-08-20 03:13:45 +00:00
itojun
e556ec903d
fix ALTQ support. less diff with kame. kjc@csl.sony.co.jp.
2001-08-20 02:18:58 +00:00
itojun
ffc3e18ad0
typo
2001-08-20 02:07:27 +00:00
chs
9e8e4c5bdc
I was wrong, sh4 does have a VAC.
...
change vmapbuf()/vmunmapbuf() back to using pmap_enter()/pmap_remove().
2001-08-19 20:44:41 +00:00
chs
c489e9bff4
add missing pmap_update().
2001-08-19 18:09:20 +00:00
chs
72b6b0b123
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
...
will soon no longer do it for us.
2001-08-19 18:08:30 +00:00
chs
eddbcd2f47
use pmap_k* in vmapbuf() and vunmapbuf() since there's no VAC on this platform.
...
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-19 17:45:57 +00:00
chs
dd3f84513a
typo in previous.
2001-08-19 17:45:15 +00:00
chs
316cd176c8
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
...
will soon no longer do it for us.
2001-08-19 17:43:44 +00:00
chs
17d06a7ad7
use pmap_k* in vmapbuf() and vunmapbuf() since there's no VAC on this platform.
...
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-19 17:37:35 +00:00
chs
b356420a02
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
...
will soon no longer do it for us.
2001-08-19 17:36:28 +00:00
chs
2cdad949d0
use pmap_k* in vmapbuf() and vunmapbuf() since there's no VAC on this platform.
...
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-19 17:34:49 +00:00
chs
3f98593d27
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
...
will soon no longer do it for us.
2001-08-19 17:34:01 +00:00
chs
ef097c73b0
use pmap_k* in vmapbuf() and vunmapbuf() since there's no VAC on this platform.
...
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-19 17:33:10 +00:00
bjh21
8b7128e398
Changes in aid of FIQ support:
...
Add ioc_fiq_setmask().
Change ioc_irq_status_full() to use the request registers rather than the
status registers. This is brings it into line with the Unix baclplane, and
makes detecting downgraded FIQs possible.
2001-08-19 15:27:44 +00:00
yamt
75ed9ccf7f
fix scsipi_target_detach with wildcard target.
2001-08-19 14:05:13 +00:00
matt
4bc8190b62
Change local offset/label for irqhandlers to Lirqhandlers. Because in
...
ELF _C_LABEL(irqhandlers) == irqhandlers so we were getting self-referential
pointer which causes the IRQ to fall on itself. [With this change the
netwinder kernel can now be *ELF* and boots to multiuser]
2001-08-19 07:29:26 +00:00
matt
7cab3778d5
Make EXEC_ELF32 support std now,
2001-08-19 05:51:09 +00:00
wdk
12a212bc5c
Add support for WD33C93 controller and assosiated SCSI devices, and enable
...
by default.
2001-08-19 03:20:36 +00:00
wdk
0ac0d0d4e4
Initial implementation of WD33C9x SCSI driver for SGI IP22 platforms.
...
Based on mvme68k and Atari drivers for the same chipset with the
addition of bus_space support. Attempts have been made to seperate out the
machine dependent dma components and more work is required in this area.
Tested on SGI R4K Indy, but has little testing on other platforms.
2001-08-19 03:16:21 +00:00
thorpej
173f6058ab
Add Chip ID register values for various AMD PCnet parts.
2001-08-18 21:16:34 +00:00
wiz
e320555c3b
if_il.c lives in dev/qbus now, and is mentioned in dev/qbus/files.uba.
...
Remove commented out line for it.
2001-08-18 14:52:37 +00:00
enami
b605664b49
Include bsd.own.mk a bit earlier so that make cleandir works.
2001-08-18 12:53:58 +00:00
enami
cebeb402de
Fix white space usage.
2001-08-18 12:48:59 +00:00
wiz
a5226c0bb5
Remove files describing hp300/HPBSD.
...
Can still be found in sys/arch/hp300/DOC as Debug.tips and HPMMU.notes.
Okay'd by is.
2001-08-18 10:07:35 +00:00
chs
2233d77cac
when fetching an object page to loan out, do so synchronously.
2001-08-18 05:51:44 +00:00
kanaoka
13f671edcf
Improve intr_ack code to support for 3c556,3c556B.
...
Some cards don't have an interrupt acknowledge
register in PCI config space, so we map and write
it, such as CardBus driver does.
2001-08-18 05:49:28 +00:00
chs
c60e896954
undo the part of the last revision that made user block device access
...
use the UBC interfaces. too many problems with that yet.
2001-08-18 05:34:46 +00:00
thorpej
2d4c311492
Regen; added Avance Logic ALS4000.
2001-08-18 05:00:51 +00:00
thorpej
563f369b78
Add Avance Logic ALS4000 Audio.
2001-08-18 05:00:21 +00:00
eeh
94751b6adc
Make the kernel a tad bigger.
2001-08-18 04:55:29 +00:00
simonb
11362870f4
Reorder some function prototypes more logically.
2001-08-18 04:13:28 +00:00
eeh
20df032dec
Make lint happier.
2001-08-18 03:47:18 +00:00
simonb
02f580ae38
Fix lint problem introduced in last change - if `lint' is defined,
...
#define away __alignof__. Still produces some warnings, but at least
they're not fatal anymore.
Problem noted by Rafal Boni in private mail.
2001-08-18 03:27:02 +00:00
chs
92140aa25f
make this compile.
2001-08-18 00:41:38 +00:00