eeh
d3aa1ab1c4
Add a missing carriage return.
2002-05-16 23:21:55 +00:00
deberg
5d6d9530b6
big-endian macros
2002-05-16 20:37:12 +00:00
eeh
a48bd3e3b4
Make the PCI code actually work.
2002-05-16 20:28:33 +00:00
eeh
ac0772ab66
Correctly print out all out regs in the trapframe.
2002-05-16 20:27:09 +00:00
wiz
0ed95fb29e
#ifdef 1 -> #if 1
2002-05-16 20:05:39 +00:00
wiz
86afeb9db4
Remove bogus stuff after #endif.
2002-05-16 19:56:13 +00:00
wiz
f2fda839cd
Comment out token after #endif.
...
XXX: Weird token here -- please double check.
2002-05-16 19:51:40 +00:00
wiz
79deb5d12d
Comment out token after #endif.
2002-05-16 19:40:53 +00:00
wiz
da0b574ae0
Comment out token after #endif.
2002-05-16 19:30:41 +00:00
wrstuden
1ada35e0f6
Adjust how we set up our stack. According to the ABI, we store the
...
return pc address at (r1). So don't initialize r1 to be outside our
stack area. Scooted it in 16 bytes to help alignment.
2002-05-16 18:02:47 +00:00
kleink
4647b339e3
Fix typo in attribute name.
2002-05-16 12:12:30 +00:00
haya
1ce4bf6bec
Bugfix: s/__NetBSD_Version/__NetBSD_Version__/. IPv4 over IEEE 1394
...
will work with this change.
2002-05-16 09:08:33 +00:00
briggs
62ee522426
Put options after include to please config(8).
2002-05-16 03:35:20 +00:00
thorpej
64c6407d7b
Garbage-collect the empty-for-years "su" device.
2002-05-16 02:59:57 +00:00
thorpej
f4cc1100b0
Don't use a 2-dimensional array for the channel's periph table. Instead,
...
hash the target and lun together and use a hash table. This will be
necessary in order to support very large (64-bit) LUN number spaces.
2002-05-16 02:54:20 +00:00
thorpej
4daab7072a
Don't access a scsipi channel's periph table directly; use
...
scsipi_lookup_periph().
2002-05-16 02:50:53 +00:00
thorpej
6c1654256e
Fix LP64 printf format warning.
2002-05-16 02:23:55 +00:00
uwe
1d33ded1ea
Fix stupid typo in pci_decompose_tag().
2002-05-16 01:33:53 +00:00
thorpej
86b4df33e7
Make sure pa.pa_bus is initialized. (Thanks, uwe!)
2002-05-16 01:03:05 +00:00
thorpej
204183c0fa
* Add "pcitag_t *pba_bridgetag" to pci_attach_args. This is set to
...
NULL for root PCI busses. For busses behind a bridge, it points to
a persistent copy of the bridge's pcitag_t. This can be very useful
for machine-dependent PCI bus enumeration code.
* Implement a machine-dependent pci_enumerate_bus() for sparc64 which
uses OFW device nodes to enumerate the bus. When a PCI bus that is
behind a bridge is attached, pci_attach_hook() allocates a new PCI
chipset tag for the new bus and sets it's "curnode" to the OFW node
of the bridge. This is used as a starting point when enumerating
that bus. Root busses get the OFW node of the host bridge (psycho).
* Garbage-collect "ofpci" and "ofppb" from the sparc64 port.
2002-05-16 01:01:28 +00:00
briggs
5921f0ce6c
Split GENERIC into GENERIC (for the X3 revision of the board in native
...
interrupt mode) and GENERIC.X2 (for the X2 revision of the board or an
X3 in legacy interrupt mode).
2002-05-16 00:20:00 +00:00
briggs
a7656b0fb6
Comment out pciide stuff since it's not working yet.
2002-05-16 00:09:47 +00:00
matt
496a3cb868
Let's put a s = splnet(); to match the splx(s); already in the routine.
...
(yes, we were doing an splx with an uninitialized variable).
2002-05-15 23:51:49 +00:00
matt
1f4c6f5868
Regen.
2002-05-15 22:48:42 +00:00
matt
0bfea741e8
Correct/add more PMC-Sierra PHYs
2002-05-15 22:48:17 +00:00
matt
57752d8c7f
Regen.
2002-05-15 21:25:28 +00:00
matt
5a4d71be86
Add another PMC-SIERRA phy
2002-05-15 21:24:59 +00:00
kleink
87e54a98ec
Presently lacking a better place (or actually use) for this, record
...
the MTX's board ID here, too.
2002-05-15 21:06:11 +00:00
matt
a61a41b6b0
Only enable detailed evcnts if GEM_COUNTERS is defined. But always count
...
interrupts.
2002-05-15 21:05:23 +00:00
thorpej
dada8613e1
Let machine-dependent code specify how to enumerate the bus.
...
Currently, everyone uses pci_enumerate_bus_generic().
2002-05-15 19:23:51 +00:00
thorpej
40116f53dd
Put back __PCI_BUS_DEVORDER for now.
2002-05-15 18:39:47 +00:00
thorpej
11fa11094e
Garbage-collect __PCI_DEV_FUNCORDER.
2002-05-15 18:37:54 +00:00
jdolecek
d50107af75
Comment out QUOTA as well. Suggested by Christian Limpach
...
in port-next68k/16792.
Applied even tho not strictly necessary, kernel nowadays actually
links with this option too.
2002-05-15 18:23:06 +00:00
mrg
32c1ebcb8b
complain if we can't get the recording drq at attach time.
2002-05-15 18:14:41 +00:00
thorpej
7c86eb62bc
Split the code that enumerates the PCI bus and that actually probes
...
for a device into two functions:
* pci_probe_device() actually probes/attaches the device specified
by the provide pcitag_t.
* pci_enumerate_bus() enumerates the bus, and calls pci_probe_device()
for each device on the bus. A pci_enumerate_bus_generic() is provided
which implements the old method of doing this: If something found at
dev0/func0, determine number of functions and probe each one.
Machine-dependent code will be able to specify the bus enumeration
routine in the future.
2002-05-15 18:13:00 +00:00
thorpej
a91677eb7b
Implement pci_decompose_tag().
2002-05-15 17:40:11 +00:00
thorpej
4fba408409
Implement pci_decompose_tag().
2002-05-15 17:30:04 +00:00
thorpej
b5e364e5a5
Implement pci_decompose_tag().
2002-05-15 17:15:17 +00:00
thorpej
487d8b5135
(*pc_decompose_tag)() is no longer alpha specific. Move it as appropriate.
2002-05-15 17:09:58 +00:00
thorpej
e19aab3751
Implement pci_decompose_tag().
2002-05-15 17:09:04 +00:00
thorpej
90e921d836
Rename alpha_pci_decompose_tag() to pci_decompose_tag(). There *is*
...
some MI PCI code that uses it, and soon there will be more. (The rationale
for not making it available previously was that it could be mis-used, but
that's true of a lot of things.)
2002-05-15 16:57:41 +00:00
uch
ba21cf86c0
obsolete intrcnt[].
2002-05-15 15:19:54 +00:00
augustss
b058cf77d2
Adapt to new bridge name.
2002-05-15 14:15:17 +00:00
augustss
437ddd4f05
Regen.
2002-05-15 14:14:57 +00:00
augustss
5919cbff85
Give a more suitable name to the DEC 21554 bridge.
2002-05-15 14:14:34 +00:00
lukem
ee3c8d5e85
convert to using shared_bbinfo from <sys/bootblock.h>, and install as an
...
"${OBJCOPY} -O binary ..." program (rather than as ELF)
2002-05-15 13:55:38 +00:00
lukem
30c58c94be
- add Apple driver map and partition map structs, obtained from
...
sys/arch/macppc/include/disklabel.h (with elements renamed as appropriate)
- consistenly use "uint*_t" instead of "u_int*_t"
2002-05-15 13:32:10 +00:00
bouyer
445778d624
The number of sector is unsigned long, so use %lu to print it.
2002-05-15 13:01:27 +00:00
bouyer
3d5ee1e719
Change PQUIRK_CAP_SYNC to set PERIPH_CAP_SYNC aslo for devices that
...
improperly claim to only support DT clocking.
Add a PQUIRK_CAP_WIDE16 quirk.
Add a quirk for IBM DXHS36D SCSI disk (claims to only support DT).
2002-05-15 11:43:22 +00:00
bouyer
36ce07cc3b
scsipi_print_xfer_mode(): PERIPH_CAP_DT is an equivalent of
...
(PERIPH_CAP_SYNC | PERIPH_CAP_WIDE16) here.
2002-05-15 11:19:38 +00:00