thorpej
7a60e77293
bus_dmamap_load_mbuf(): Skip zero-length mbufs.
...
kern/24811
2004-11-28 17:34:45 +00:00
jmc
417e73cb35
Retool sgivol into a proper hostool that doesn't depend on disklabel.h.
...
Assume defaults for file images that match what a vnd would have used.
Native use will still use the standard NetBSD label to get this data.
Fixes PR#25996
2004-11-24 22:01:21 +00:00
jmc
ceb4d24120
Pull host/arch native label information into bootblock.h. Therefore pieces of
...
this are accessible from host tools.
2004-11-24 21:59:32 +00:00
tsutsui
c6824e7fc3
Fix comment.
2004-11-24 17:31:58 +00:00
sekiya
ad7705ec91
Due to space limitations, we can't embed a three-meg ramdisk installation image
...
into an IP12 kernel.
Remove; installation procedure will have to be GENERIC kernel using sysinst
from a NFS filesystem.
2004-11-13 09:04:28 +00:00
sekiya
a061928d83
Add INSTALL and GENERIC kernel configuration wrappers for IP12 family.
...
Note that devices are defined in the IP2x configuration file; the IP12 is
99.5% the same as the IP20/22/24. Indeed, the only reason to have a separate
config file for IP12 is to sort out the MIPS1/MIPS3 locore bits.
To that end, the wrappers include the IP2x GENERIC config, undefine a few
directives, and define the appropriate bits for IP12.
2004-11-13 03:20:37 +00:00
sekiya
07c1fbd927
Use 8-bit SEEPROM addressing mode on the 4D/3x models. 6-bit might be used
...
on IP6, but we don't support them (and probably never will).
2004-11-12 23:28:05 +00:00
sekiya
c37efd2daa
Print board identification, same as we do on the IP2x machines.
2004-11-12 23:01:01 +00:00
christos
30fc143afa
Add COMPAT_BSDPTY to the rest of the config files.
2004-11-10 17:54:02 +00:00
thorpej
e9818f5b5e
When adding/deleting multicast addresses, only whack the address
...
filter if the interface is marked RUNNING.
Fixes kern/27678.
2004-10-30 18:08:34 +00:00
yamt
18f717bb90
constify audio_hw_if, midi_hw_if, and radio_hw_if.
2004-10-29 12:57:15 +00:00
thorpej
dc2f2fbe74
Centralize the declaration of booted_device and booted_partition.
2004-10-23 17:07:37 +00:00
augustss
0c21c79cc5
s/uax/axe/
2004-10-23 14:00:50 +00:00
he
32dfb50ca9
Track the change of int -> paddr_t for the arguments to the ARCBIOS
...
routines.
2004-10-04 19:59:51 +00:00
sekiya
2ea60ebc6b
s,uint32_t,paddr_t,g. Noticed by tsutsui@
2004-10-02 08:53:09 +00:00
sekiya
53ad2f0aab
Use the mips3 bus functions on IP30. Recognize the IP30 as a supported* SGI
...
platform.
* For extremely small values of "supported". arch/mips/* needs a lot of work
yet for MIPS64.
2004-10-02 03:19:00 +00:00
sekiya
34bdfea7c4
Move the ECOFF definition from the INSTALL kernel to the GENERIC kernel --
...
it's possible that someone might want to run an IP20 diskless.
Pointed out by simonb@
2004-10-01 07:40:59 +00:00
sekiya
5e061c633c
s,#ifdef MIPS3,#if defined(MIPS3) || defined(MIPS64),g
2004-10-01 07:16:57 +00:00
sekiya
82ca9dba92
Create an ecoff kernel only if WANT_ECOFF="yes".
...
ECOFF kernels are really only useful for netbooting; our disk bootloader handles
ELF. Therefore, define WANT_ECOFF for INSTALL32_IP2x only.
2004-10-01 07:05:25 +00:00
soren
8d969498b4
Correct the names of a few system types.
2004-09-29 07:37:02 +00:00
sekiya
faa2f31603
Abbreviate identification message to fit in 80 columns.
2004-09-29 05:13:39 +00:00
sekiya
0603553bbb
Compile the 64-bit bootloader.
2004-09-29 04:57:31 +00:00
sekiya
d12d5dc3e0
Add a table mapping IPxy to ABI and load address.
2004-09-29 04:27:41 +00:00
sekiya
551d2b9aa9
Use ANSI function declarations.
2004-09-29 04:06:51 +00:00
sekiya
6f2cb625f4
Use C-style comments.
2004-09-29 03:21:14 +00:00
sekiya
8c64b0776c
Various fixes:
...
* clean up EISA detection logic,
* really fix config_found_ia() usage (from drochner@),
* sprinkle a bit of KNF.
2004-09-29 03:11:28 +00:00
sekiya
6a4c72d1af
Add COMPAT_20
2004-09-29 02:50:42 +00:00
tsutsui
ef820af6db
Rename if_mec_mace.c -> if_mec.c.
...
This file contains not only an attachment but whole driver functions.
2004-09-23 14:45:20 +00:00
rumble
b1a9752c01
Correct a few comment typos that have propagated through the
...
tree.
2004-09-16 03:57:10 +00:00
sekiya
8590eac465
Use the mace interrupt handler for PCI interrupts.
...
From KIYOHARA Takashi
2004-09-06 07:24:06 +00:00
sekiya
7e244e5e53
Oooops, iaa.iaa_name must be initialized.
2004-09-05 13:32:10 +00:00
sekiya
847a930d95
Use config_found_ia() rather than config_found().
2004-09-05 11:48:34 +00:00
manu
6e3c639957
IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on
...
tech-net@
2004-09-04 23:29:44 +00:00
drochner
46289e1fef
Phase out the use of a string as first "attach args" member to control
...
which bustype should be attached with a specific call to config_found()
(from a "mainbus" or a bus bridge).
Do it for isa/eisa/mca and pci/agp for now. These buses all attach to
an mi interface attribute "isabus", "eisabus" etc., and the autoconf
framework now allows to specify an interface attribute on config_found()
and config_search(), which limits the search of matching config data
to these which attach to that specific attribute.
So we basically have to call config_found_ia(..., "foobus", ...) where
such a bus is attached.
As a consequence, where a "mainbus" or alike also attaches other
devices (eg CPUs) which do not attach to a specific attribute yet,
we need at least pass an attribute name (different from "foobus") so
that the foo bus is not found at these places. This made some minor
changes necessary which are not obviously related to the mentioned buses.
2004-08-30 15:05:15 +00:00
tsutsui
efa3e6b66b
Remove bogus TABs. (from OpenBSD)
2004-08-18 14:47:25 +00:00
rumble
d15d05328d
Add some infrastructure to support HPC-based ethernet adapters
...
(E++):
o The static configuration table now identifies by HPC offset.
o Added sq(4) entries for IP12, IP20, and IP24.
o Accomodated HPC revision forcing based on kernel config flags.
2004-08-17 00:57:42 +00:00
rumble
38bbaabc37
Add defines for the four possible HPC GIO bus addresses.
2004-08-17 00:48:08 +00:00
rumble
d023bcf042
Implement several changes that get my E++ (HPC1.5 GIO ethernet
...
adapter) to work on IP24:
o Force HPC and GIO slot endianness.
o Allow slots one and two to be masters and configure for
realtime mode.
Also, while we're here move IP22 invariants into the IP22 case.
I suspect that IP20 will work as well since it exhibited the same
broken DMA that IP24 did before I flipped the master bit.
2004-08-17 00:44:39 +00:00
sekiya
1a682ebd64
Add 64-bit ABI bootloader (for IP30). Needs a slightly modified toolchain
...
and a 64-bit-clean libkern.a; once those bits are committed, this should be
100% good to go.
2004-08-11 11:45:26 +00:00
sekiya
8a3d53f346
Start routine for 64-bit ABI.
2004-08-11 11:41:19 +00:00
tsutsui
9df92e5adc
- It turns out alignment restriction for TX descs is 8kbytes, not 64kbytes.
...
- Use MEC_TX_ALIAS register to set/clear TX interrupt enable bit.
2004-08-01 06:36:36 +00:00
drochner
a5a5473c25
remove now unnecessary "pci_enumerate_bus" definitions
2004-07-29 16:55:25 +00:00
sekiya
c830efd52f
Properly detect the EISA bus for IP22-class machines.
2004-07-25 10:28:28 +00:00
rumble
44f3c135e7
KNF and consistency
2004-07-20 05:19:23 +00:00
rumble
5189fbb0b4
Allow for console attachment by statically allocating a softc
...
extension. Tweak cs_softreq when appending the transmit queue.
Finally, add a bit of debugging.
2004-07-20 04:55:21 +00:00
rumble
ae62a41f43
Properly initialise the tx and rx queue head and tail positions.
2004-07-20 04:43:44 +00:00
atatat
f68a9f1ff2
Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
...
out in most of them.
2004-07-15 03:53:44 +00:00
tsutsui
3edbd6052a
Add device-major for lpt.
2004-07-14 14:13:24 +00:00
tsutsui
7565fb7456
Now multicast on mec0 is confirmed working, so remove XXX comment
...
in mec_setfilter() function.
Thanks to Gerald Heinig for providing multicast test programs.
2004-07-14 09:45:47 +00:00
tsutsui
c2de425692
Reenable lpt at mace since shared interrupt code was fixed in mace.c rev 1.2.
2004-07-12 13:45:40 +00:00