Commit Graph

1395 Commits

Author SHA1 Message Date
eeh 91c28a3626 Add code to attach ofpci. 2002-05-06 22:29:22 +00:00
eeh ba4db702d5 Recognize `ofpci' as a PCI bus. 2002-05-06 22:20:57 +00:00
eeh 19fcb9e555 Fix printing during attach and get rid of pci_cd that's provided by the linker. 2002-05-06 22:20:07 +00:00
eeh 24954ac8ae Add ofpci_make_tag(). 2002-05-06 22:18:51 +00:00
eeh 2ec18b07b9 Provide pci_cd if needed. 2002-05-06 22:12:43 +00:00
eeh 1805506872 Add ofpci and ofppb. 2002-05-06 19:48:05 +00:00
eeh e60dcd0a0b Add ofppb to match ofpci. 2002-05-06 19:40:20 +00:00
eeh 509fa464af Add the ofpci driver. 2002-05-06 19:39:51 +00:00
eeh 5d47d866f7 Only put interrupts into the list for that interrupt level if the handler
is not shared.  Otherwise put the shared interrupt dispatcher in the list.
2002-05-06 19:19:48 +00:00
martin 9ccc186245 Add PCMCIA support (for nell at sbus and pci cardbus bridges) 2002-05-05 11:22:19 +00:00
thorpej 80303e7e64 Add .register directives to appease newer gas. 2002-05-05 08:15:15 +00:00
thorpej e9bb69ab48 Add .register directives to appease newer gas. 2002-05-05 06:07:42 +00:00
kleink c1477b6161 Add some comments to the CPP conditionals controlling the trap macro
definitions, to ease navigation somewhat.
2002-05-04 17:19:25 +00:00
thorpej 8606fff875 Don't define _LP64 here. 2002-05-03 17:56:29 +00:00
thorpej 9cbd451a98 Revert revision 1.20. 2002-05-03 17:55:55 +00:00
eeh be9ab3e5db Provide _LP64 definition if we are generating LP64 binaries. 2002-05-03 00:06:55 +00:00
atatat d1b3852365 Add the INCLUDE_CONFIG_FILE option to all config files. In config
files that are generic (ie, GENERIC, GENERICSBC, GENERIC32, ALL, or
ALPHA), it is uncommented.
2002-04-25 15:06:20 +00:00
eeh dcb399fc7c Don't need to flush the d$ for MMU bypass accesses. 2002-04-24 23:54:24 +00:00
eeh c54358008e Remove unused file. 2002-04-18 17:24:09 +00:00
eeh 4acff51bdc Cleanup a bit and get rid of unnecessary cache flushes. 2002-04-18 17:19:12 +00:00
eeh 55bcc7df8b Don't include cpuvar.h. 2002-04-18 16:37:26 +00:00
eeh bb8f4cc510 Calculate NBPG from PGSHFT. 2002-04-18 16:31:47 +00:00
mycroft a03e2b5e1e Remove TLP_MATCH_* options. 2002-04-17 02:26:48 +00:00
mycroft 558b4fb278 Switch from de to tlp by default. 2002-04-17 02:22:41 +00:00
eeh 8c0f10ff03 Add icache_flus_page() to go with dcache_flush_page(). 2002-04-16 23:13:13 +00:00
eeh 690711542d We want pages modulo 16K not modulo 32K. 2002-04-16 23:11:20 +00:00
eeh cd1c5cd9c5 Make lots of routines profile-friendly and get rid of some cruft. 2002-04-16 23:09:37 +00:00
thorpej eedd94475c * Move the mii_bitbang attribute into dev/mii/files.mii
* Pull in dev/mii/files.mii from conf/files, rather than playing
  the magic "files include order" dance in N machine-dependent
  configuration definitions.
2002-04-16 20:50:16 +00:00
gmcgarry 6e066ba77a Add commented-out USERCONF option. Mainly useful for install media
and can be optionally enabled based on miniroot and ramdisk size
requirements.
2002-04-12 08:10:45 +00:00
eeh 15d074fe26 Add a nice 64-bit mstohz() and clean out some cruft. 2002-04-08 21:05:30 +00:00
jmc 457298dd98 Change to native_to_svr4_signo after recent change in
compat/svr4/svr4_signal.h
2002-04-02 10:25:21 +00:00
lukem d213d804f7 Rename MEMORY_DISK_SIZE (formerly MINIROOTSIZE) to MEMORY_DISK_ROOT_SIZE,
which was suggested by Izumi Tsutsui <tsutsui@ceres.dti.ne.jp> as
being more consistent with what it's controlling...
2002-04-02 05:30:34 +00:00
christos 83c2f7aaf5 compat signal array renaming. 2002-03-31 22:21:02 +00:00
bouyer 1027cb3105 tl* at pci? now works. 2002-03-29 20:01:50 +00:00
mrg 40fa931dcb remove vnd. use -mcpu=ultrasparc. 2002-03-25 05:54:51 +00:00
petrov 9305f3556c Remove excessive declarations. 2002-03-21 22:50:09 +00:00
petrov 8805e1b92d Not needed debug stuff deleted. 2002-03-21 06:56:31 +00:00
eeh e9c8c1eee3 Add missing semicolon. 2002-03-21 01:19:41 +00:00
eeh ecdc1104a9 Add missing brace. 2002-03-21 01:18:42 +00:00
eeh e6bf9fbdd2 Cleanup. 2002-03-21 01:17:08 +00:00
eeh 7fba99a774 Cleanup. 2002-03-21 00:48:43 +00:00
eeh a1649fc334 Parenthesise macro arguments. 2002-03-21 00:43:42 +00:00
eeh 47ef6a5146 Overhaul bus space.
bus_space_handle_t now holds an address and two ASIs, one for normal accesses
and one for streaming accesses.  This allows to map individual handles
different ways, so some can use MMU bypass accesses and others use virtual
addresses.  bus_space_map() will now create handles that use bypass accesses
unles BUS_SPACE_MAP_LINEAR is passed in.  So only pass in BUS_SPACE_MAP_LINEAR
if you absolutely *need* to use bus_space_vaddr().  This removes at least one
extra level of indirection and should reduce TLB misses.

32-bit kernels have problems accessing 64-bit addresses, so they always use
virtual addresses.
2002-03-20 18:54:46 +00:00
eeh bd48e83999 DDB_ONPANIC now needs a number. 2002-03-20 18:43:53 +00:00
eeh bd22d9d0f1 Add PTE_WIRED bit to keep track of wired pages. 2002-03-20 18:41:53 +00:00
eeh 8ccad96d54 Add sbus_promaddr_to_handle() to convert a prom address to a bus_space_handle_t. 2002-03-20 18:39:44 +00:00
christos 7e277b5782 kill remaining PS_STRINGS instances. 2002-03-20 17:59:22 +00:00
eeh c34c58d78e Using PSR_PIL in conjunction with the IPL results in a comparison that is
always true.
2002-03-19 19:47:57 +00:00
eeh 7a49cca31a Fix up compiler options:
1) Get things right for 32-bit kernels

2) Always use medium any memory model for 64-bit kernels for the moment.
2002-03-19 18:10:33 +00:00
atatat 31144d9976 Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command".  ERESTART is -1, which can lead to
confusion.  ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4.  No ioctl code should now return -1 anywhere.  The
ioctl() system call is now properly restartable.
2002-03-17 19:40:26 +00:00