Commit Graph

51551 Commits

Author SHA1 Message Date
aymeric
6c197325c8 catch up with amiga's conf.h by adding definition of cdev_par_init 2001-12-01 14:14:58 +00:00
aymeric
4680be2d7c add wscons support so that amiga/conf.c compiles 2001-12-01 14:13:49 +00:00
aymeric
dd4455abf7 catch up with "recent" new egcs check 2001-12-01 14:12:58 +00:00
aymeric
e3ed0e40da do not include opt_lev6_defer.h when compiling for powerpc 2001-12-01 13:44:22 +00:00
jdolecek
c65c74ab28 regenerate (allocate identifier for NCR 53c90) 2001-12-01 10:44:35 +00:00
jdolecek
8272a293b7 allocate identifier for NCR 53C90 2001-12-01 10:43:36 +00:00
jdolecek
4b334401ca Nonworking NCR 53c90 attachment. I don't get any interrupts from
the device yet, need to find real NCR53c90 docs to figure out what's wrong.
2001-12-01 10:42:38 +00:00
enami
e69c410de5 Shorten wmesg so that they can be distinguished in ps/top output. 2001-12-01 09:42:39 +00:00
enami
b56cddb826 Fix null pointer dereference when EHCI_DEBUG is defined (and
debug is enabled).
2001-12-01 09:39:32 +00:00
thorpej
3fd0a58e9d On the i80200, disable ECC in the Bus Controller Unit early on; we
don't really have code to deal with ECC errors yet.
2001-12-01 06:33:40 +00:00
thorpej
216b9b2ea6 - Don't enable FIQs; nothing uses them (yet).
- Steer i80200 PMU and BCU interrupts to IRQ# (for lack of a better
  place, at the moment).
- Disable all interrupts other than external-IRQ# in the i80200 ICU;
  we don't deal with any of the others, yet.
2001-12-01 06:15:36 +00:00
thorpej
5936a89bf5 Add register definitions for the i80200 Interrupt Controller Unit,
Bus Controller Unit, and Performance Monitoring Unit.
2001-12-01 05:46:19 +00:00
perry
1564ce55c4 bring back. we need to fix these, not remove them. 2001-12-01 02:15:39 +00:00
thorpej
a7cfcd87fd Implement a "snake" for the 7-segment display. 2001-12-01 02:04:27 +00:00
thorpej
5f8b540ed9 Remove U from the display seg constants. 2001-12-01 02:02:46 +00:00
bouyer
49aef70ae6 Add st at atapibus, now that it works. 2001-12-01 00:09:07 +00:00
bouyer
c6c2c476eb Hum, no need to print a message each time we're waiting for the drive. 2001-12-01 00:05:04 +00:00
bouyer
e6922f82d6 Various quirks for the ATAPI OnStream DI-30, mostly from the FreeBSD driver.
Many thanks to Chris Pinnock for giving me remote access to his hardware.
2001-12-01 00:03:45 +00:00
bouyer
cd8d64fe2b For ATAPI tape drives, poll for DSC (using a callout), to get the real
status of the command, and make sure the drive is ready for the next one.
2001-12-01 00:00:29 +00:00
manu
cde20c2503 First implementation of syssgi(SGI_ELFMAP). 2001-11-30 21:56:03 +00:00
thorpej
e41179bfd0 Need <arm/cpufunc.h> for cache-related variables. 2001-11-30 19:43:20 +00:00
thorpej
2b08dcc43b Clarify a comment to state that it is intentional that we attach
only the Secondary PCI bus (it's the only bus which can have a
device space hidden from any PCI host on the Primary bus).

Also, use the bus number from the PPB businfo register seecondary bus
field rather than hard-coding "1".
2001-11-30 19:29:44 +00:00
thorpej
e90eccc52c Clarify a comment. 2001-11-30 19:26:03 +00:00
fredette
d4f3b9c987 Catch-up to revision 1.135 of the sun3 pmap. This revision
corresponds tightly to that one.
2001-11-30 18:22:51 +00:00
fredette
a5c8b5d17f Implement bus_space_mmap. 2001-11-30 18:11:56 +00:00
fredette
d925ceec5b vm_offset_t -> vaddr_t or paddr_t, as appropriate.
Purge register qualifiers.
bcopy() -> memcpy(), bzero() -> memset()
No longer try to protect the kernel with uvm_map_protect,
pmap_bootstrap has already done this.
Now use pmap_kenter_pa/pmap_kremove when dumping, instead
of pmap_enter/pmap_remove.
2001-11-30 18:10:27 +00:00
fredette
bbb634ca9e vm_offset_t -> vaddr_t or paddr_t or db_addr_t, as appropriate.
vm_size_t -> vsize_t
Purge register qualifiers.
bcopy() -> memcpy(), bzero() -> memset()
2001-11-30 18:06:55 +00:00
fredette
94ae8e87a9 Purge vm_offset_t. 2001-11-30 17:52:33 +00:00
fredette
a9847551d5 vm_offset_t -> paddr_t
Implement bus_space_mmap.
2001-11-30 17:49:10 +00:00
fredette
450c4305c1 vm_offset_t -> vaddr_t
Removed register qualifiers.
2001-11-30 17:47:04 +00:00
kleink
e9d7166203 asm -> __asm. 2001-11-30 16:21:16 +00:00
fredette
66e0981854 Make sure that an unlabeled device gets at least RAW_PART
in the default in-core disklabel, instead of only a single
partition, so that applying a new disklabel can work normally.
bcopy() -> memcpy(), bzero() -> memset()
2001-11-30 16:11:10 +00:00
fredette
da1e437744 Implement bus_space_mmap. 2001-11-30 16:04:25 +00:00
fredette
47884ee136 vm_offset_t -> vaddr_t 2001-11-30 16:00:27 +00:00
fredette
b9b98bff66 Convert to use genassym.cf and genassym.sh, as other ports do. 2001-11-30 15:58:24 +00:00
fredette
af0a38f1d6 In kernel config files, now mention the options SCSI_OLD_NOINQUIRY,
NFS_V2_ONLY, and VNODE_OP_NOINLINE, commented out as appropriate
for each configuration.
Convert to use genassym.cf and genassym.sh, as other ports do.
2001-11-30 15:54:31 +00:00
christos
420771d7cc PR/14781: Matthew Fredette: Clamp the number of read-ahead pages to 16 because
other code has this limit. Also while I am here, convert the magic 16 into
a #define constant and use it in the appropriate places. This is a temporary
fix, since all this read-ahead business is XXXUBC anyway.
2001-11-30 15:18:39 +00:00
augustss
2781ac8e07 Regen. 2001-11-30 13:41:17 +00:00
augustss
a287e24799 Add new devices. From URA Hiroshi in PR 14790. 2001-11-30 13:41:00 +00:00
msaitoh
1c87566f38 fix previous commit 2001-11-30 10:31:32 +00:00
msaitoh
797d100f77 fix printf format 2001-11-30 10:06:46 +00:00
chs
bf5f058642 don't depend on other headers to include sys/proc.h for us. 2001-11-30 07:53:13 +00:00
chs
68b5980eb0 call VOP_PUTPAGES() directly instead of indirecting through
the UVM pager op vector.
2001-11-30 07:08:53 +00:00
chs
a4f1bc813a pick up changes from ufs_balloc_range(). 2001-11-30 07:06:19 +00:00
chs
9958c29316 VOP_PUTPAGES() requires page-aligned offsets, so be sure to provide such.
fixes PR 14759.

(while I'm here, call VOP_PUTPAGES() directly instead of indirecting through
the UVM pager op vector.)
2001-11-30 07:05:53 +00:00
enami
a0ae8adf89 Declare some asm statement with output as volatile. Without this,
gcc with -march=pentiumpro produce bad code.
2001-11-30 06:53:56 +00:00
gmcgarry
f6b3e39803 Don't abuse preprocessor flags. 2001-11-30 06:40:52 +00:00
gmcgarry
b35b20d732 Remove clock_machdep.h. 2001-11-30 06:30:52 +00:00
thorpej
0046f5dadd - Comment-out EXT2FS, MSDOSFS.
- Uncomment FDESC, KERNFS, PROCFS,
- Add commented-out DEBUG.
- Hard-wire the location of some of the on-board PCI devices.
- Also build a "netbsd-fxp0" with the root FS hard-wired to
  the on-board Ethernet.
2001-11-30 03:01:23 +00:00
itojun
e86f5a87e8 sync with latest GENERIC. 2001-11-30 02:40:57 +00:00
mjl
8231ab74c5 Add assembler version of strlen. 2001-11-30 02:27:20 +00:00
mjl
625c08cf7e Outifdef some stuff not needed in the _KERNEL case. 2001-11-30 02:25:50 +00:00
enami
b3d722b5b5 Since we know that `va' is non-NULL here, no need to test if it is NULL. 2001-11-30 01:54:21 +00:00
enami
ba7af71cd5 Use cached pointer to next buf instead of re-fetching it. GCC actually
generates different code.
2001-11-30 01:31:30 +00:00
christos
9caaf10ee6 PR/14776: Emmanuel Dreyfus: cross device hard link causes panic.
Call VOP_ABORTOP on the right vnode damnit!
2001-11-29 22:32:53 +00:00
thorpej
2494c460a5 Use inline functions for the byte swap routines. Allows libc to build
again (-Wshadow).
2001-11-29 22:32:45 +00:00
bjh21
de5af1d829 Add "options FLASHYTHING", which causes IPL changes to trigger screen border
colour changes.  This gives quite a good real-time visual impression of what
the system's doing at reasonable overhead.
2001-11-29 22:17:16 +00:00
christos
2c06265fb5 welcome to 1.5Z [struct ucred changes] 2001-11-29 21:24:02 +00:00
christos
a74164fa6e sprinkle crcvt() 2001-11-29 21:23:13 +00:00
christos
b2cfd799a6 use struct uucred in nfsd_svcargs so that we don't break the sys_nfssvc() ABI. 2001-11-29 21:22:50 +00:00
christos
0fdce3fa8a sprinkle crcvt() 2001-11-29 21:21:29 +00:00
christos
2a73d40eab introduce crcvt() that converts from struct uucred to struct ucred. 2001-11-29 21:21:13 +00:00
christos
710a2e8de1 Welcome to 1.5Z [struct ucred changes] 2001-11-29 21:20:36 +00:00
christos
edd0fb6c43 use struct uucred in export_args. 2001-11-29 21:20:17 +00:00
christos
4328373c61 Introduce struct uucred which is our ``old'' ucred structure. This is
going to be used the kernel interfaces to userland, so that we don't
break the existing ABI. struct ucred has now been modified to have
u_int32_t for cr_ref and cr_ngroups.
2001-11-29 21:20:00 +00:00
atatat
d8382e86b5 Make sure this directory is kept. 2001-11-29 20:07:52 +00:00
atatat
5d4244e082 We need to include <uvm/uvm.h> instead of (not) including
<uvm/uvm_extern.h> so that assym.h can be built.
2001-11-29 20:04:19 +00:00
briggs
9a0fda91f4 SUNOS_M_NATIVE is now a macro that takes an arg, not a constant. 2001-11-29 18:53:50 +00:00
lukem
91d1bbeaf3 Deprecate fnv_32_*() API. We'll replace this with a more generic hash API. 2001-11-29 18:39:08 +00:00
thorpej
33bfd7be53 Fix typo in copyright notice. 2001-11-29 17:15:44 +00:00
thorpej
a2c8fc94fe Provide a way for platforms to move away from the old RiscPC-centric
interrupt code.  Garbage-collect some unused stuff.
2001-11-29 17:14:02 +00:00
thorpej
a93f7ef419 Provide a hook for platform-specific interrupt code to specify
the "spl" cookie in the switch frame.
2001-11-29 17:12:22 +00:00
thorpej
b0f775a467 Remove some overly-paranoid debug code that grovels too much
platform-specific internals.
2001-11-29 17:10:31 +00:00
wiz
e0492a661d Update note about ioctl tsleep error with error report. 2001-11-29 15:01:19 +00:00
augustss
4b06fc39aa Regen. 2001-11-29 13:58:41 +00:00
augustss
7a7025366e Add some ISD devices. 2001-11-29 13:58:22 +00:00
augustss
c01e71bac5 Plug a memory leak in an error case. 2001-11-29 11:07:12 +00:00
simonb
dfb9621f52 Nuke dk_establish() and use device_register() instead.
Tested by booting off sd0 and sd1.
2001-11-29 08:40:59 +00:00
thorpej
8ae5055ed9 Add routines for accessing the general purpose I/O facility of
the i80312 Companion I/O chip.
2001-11-29 08:27:11 +00:00
thorpej
574dba96b1 Update copyright. 2001-11-29 08:26:18 +00:00
lukem
e54643e8f7 minor knf 2001-11-29 02:58:18 +00:00
lukem
efc46c2fb9 minor knf 2001-11-29 02:46:55 +00:00
thorpej
c5ecb8d8c5 Use the new arm_dcache_align variable to set the PCI device BHLC
register.
2001-11-29 02:26:50 +00:00
thorpej
959181a8b2 Fetch cache info from the Cache Type register on ARM7TDMI and "greater"
processors.  Report this when the processor is attached.
2001-11-29 02:24:58 +00:00
mjl
4ee3b0f097 Add assembler versions of ffs, bzero and memset. 2001-11-29 00:27:07 +00:00
mjl
90acd67a3c Need CACHELINESIZE for libkern memset. 2001-11-29 00:16:35 +00:00
thorpej
636e9cd08b Add a "cacheline_size" argument to pci_configure_bus(). It is used
to set the cacheline size in the BHLC register.  This should be the
size of the largest D-cache line on a system.
2001-11-28 23:48:34 +00:00
christos
c563f940be ELINK_W4_UBYTESOK is 0x0d. This is probably why kim is getting x2 numbers
in stats.
2001-11-28 23:46:42 +00:00
thorpej
85a1db0fda Disable MRL, MRM, and MWI for now. 2001-11-28 22:39:09 +00:00
thorpej
bd3e75a9df Oops, make sure to add in the physical base of the PCI memory
window when mapping PCI mem space.  (Whee, I can take out my
local hack, now).
2001-11-28 21:08:47 +00:00
jdolecek
8528a3409b Match also product id 0x627c, it was omitted by mistake.
Problem pointed out by Carl Drougge on tech-kern, thanks!
2001-11-28 20:56:47 +00:00
manu
55c08f5ede Back out the copy of theses files to userland 2001-11-28 20:13:34 +00:00
thorpej
818da5433c Make this compile again after the cs8900 driver changes. 2001-11-28 19:32:07 +00:00
christos
ac3540cd92 and it is TCP_COMPAT_42 not CP_COMPAT_42, I am sharpening my bricks. 2001-11-28 17:40:57 +00:00
christos
87953c1f1d it is MROUTING, not ROUTING... 2001-11-28 17:39:22 +00:00
christos
8fc71f4259 include ioctl_compat.h unconditionally. 2001-11-28 13:46:06 +00:00
kleink
e5341ee40f No point in installing svr4_machdep.h. 2001-11-28 13:14:12 +00:00
manu
fa1e4588d9 We need to copy new SVR4 header files to /usr/include/sys... 2001-11-28 12:13:49 +00:00
manu
2f3a7bf5f8 Need to include <sys/ioctl_compat.h> to build this with COMPAT_IRIX.
Maybe this is needed for COMPAT_SVR4 too, I'm not sure.
2001-11-28 12:02:59 +00:00
manu
7839e13a9c On IRIX, the first 88 system calls are quite plain SVR4, and the 137
remaining are IRIX specific. We know use SVR4 emulation for the first 88
system calls.
2001-11-28 12:00:53 +00:00