thorpej
e091c2afd1
Add -Dsgimips to CPPFLAGS.
2001-12-20 20:30:59 +00:00
thorpej
a6a5d9fa2b
Use the correct version of va_arg() for _STANDALONE.
2001-12-20 20:29:09 +00:00
thorpej
38e94b28b8
From the comment added to the file:
...
* NOTE: Do not protect this header against multiple inclusion. Doing
* so can have subtle side-effects due to header file inclusion order
* and testing of e.g. _POSIX_SOURCE vs. _POSIX_C_SOURCE. Instead,
* protect each CPP macro that we want to supply.
2001-12-20 20:07:24 +00:00
bjh21
b4b00796cd
Fix a couple of obvious bugs in new code:
...
set_r15() needs to put the new value into R15, not the old one.
get_r15() can return using MOVS rather than MOV.
2001-12-20 17:45:31 +00:00
augustss
c6107a12f8
Add UIRDA_DEBUG.
2001-12-20 17:41:32 +00:00
bjh21
449c8ab9e1
Remove a couple of outdated comments: arm26 kernels now use APCS-32, so
...
the I and F flags don't get restored on function exit.
2001-12-20 16:22:14 +00:00
bjh21
a938f3a7ee
Remove some outdated comments: arm26 kernels use APCS-32 now, which
...
means they don't do silly things like restoring IRQ/FIQ disable bits
on function return.
2001-12-20 16:12:10 +00:00
uwe
084cc22e99
Define SPARC_PCI_DEBUG only if DEBUG is defined.
2001-12-20 11:38:52 +00:00
augustss
4668f40616
Don't forget to call start routine in dongle manipulation.
2001-12-20 11:30:13 +00:00
augustss
28318702e6
Rearrange code that wiggles modem control lines so it actually reaches
...
the com port driver.
2001-12-20 09:26:35 +00:00
uwe
309e659bc4
Rewrite sbus_bus_mmap to conform to new signature and unbreak bus_space_mmap.
...
This fixes the problem with X server killing the kernel by writing to
the middle of physical memory instead of the frame buffer.
2001-12-20 07:53:59 +00:00
itojun
ebb1c82ec5
centralize multicast group management (in6_join/leavegroup).
...
have a flag for ip6_output() to fragment to minimum MTU.
sync with kame
2001-12-20 07:26:36 +00:00
thorpej
16c96355a8
Fetch the MAC address from the NVRAM on the SiS 630 built-in Ethernet.
...
Based on PR 14665, Stephen Borrill <netbsd@precedence.co.uk>.
2001-12-20 03:32:31 +00:00
thorpej
f1b4fd111e
Regen; added SiS 630 PCI-Host bridge.
2001-12-20 03:24:58 +00:00
thorpej
694fcc51c0
Add the product ID for the SiS 630 PCI-Host bridge.
2001-12-20 03:24:22 +00:00
thorpej
014157862c
* Share a common vector page between arm26 and arm32.
...
* Use a common set of exception handlers for all arm32 platforms.
* New FIQ framework based on discussions with Ben Harris, shared
between arm26 and arm32.
2001-12-20 01:20:21 +00:00
thorpej
bab6522cfb
Delete MACHINE_ARCH assignment.
2001-12-19 18:35:35 +00:00
thorpej
4d3393a2c8
Remove the MACHINE_ARCH assignment.
2001-12-19 17:43:19 +00:00
fvdl
68728c0901
ffs_reload may be called after an old fsck has run, and the pending*
...
fields may not be zero. Just reset them silently, it's not an error.
2001-12-19 15:20:19 +00:00
augustss
fa18fdc168
Add some missing ioctl()s. From Tommy Bohlin in PR kern/14414.
2001-12-19 15:20:16 +00:00
minoura
7a7e9cfe7b
Implement bus_dmamap_sync properly.
...
dma_cachectl is now used only for DMAC array chain.
2001-12-19 14:53:26 +00:00
mhitch
8923d6ba13
The ELF counterpart to aout2bb: convert a relocatable ELF object file
...
to the simple relocatable image used for the amiga bootblock loader.
2001-12-19 06:51:05 +00:00
minoura
be5fdd5214
clockctl. Compile test only.
2001-12-19 06:38:37 +00:00
jdolecek
0f36df0693
Bump version to 1.5ZA - struct file change
...
Only three version bumps left to beat previous release :)
2001-12-18 22:34:37 +00:00
jdolecek
8884866a60
struct file: bump f_count and f_msgcount to u_int, to protect against
...
counter overflow. Fixes kern/5080 by David A. Holland.
Also move f_usecount & f_iflags to better place, and make f_type int.
Note: the maximum possible number of references to a struct file is
maxfiles + unp_rights == 2 * INT_MAX
2001-12-18 22:29:25 +00:00
elric
0260906a88
Fixed compiler warnings that would occur if DEBUG_MACH was not defined.
2001-12-18 19:43:24 +00:00
thorpej
a214c3ad3a
We haven't done ECOFF for a long time; garbage-collect all the
...
__ELF__ #ifdefs (thus setting ELF in stone).
2001-12-18 17:12:32 +00:00
bouyer
5938b2bd62
Ops, a Ultra100>=TX2 is always in native mode !
2001-12-18 16:40:51 +00:00
bouyer
787b934e1e
The CMD0649 has 2 truly independant channel. tested by and patch from
...
Love <lha@stacken.kth.se>.
I suspect this is true for the 648 too; if someone with a 648 and one device
on each channel could test that all works with one_channel = 1, it would
be great !
2001-12-18 16:32:54 +00:00
christos
eebee4d7f8
PR/14795: Christos Zoulas: Fix locking problem on MP systems where
...
ltsleep() is calling CURSIG() which can call issignal() and issignal()
could not deal with being called from a locked context. This happens
when a process receives SIGTTIN, and issignal() calls psignal() to
post SIGCHLD to the parent.
XXX: It is really messy to have issignal() handle the job control
functionality and the whole signal interlocking protocol needs to
be re-designed. For now this fix (provided by enami) does the trick.
I've been running with this fix for weeks, and atatat has stress-tested
the kernel running ~30 make kernels...
2001-12-18 15:51:52 +00:00
soren
95c864d4f6
Previous was committed by mistake; revert.
2001-12-18 15:50:23 +00:00
yamt
7ae83a7557
use #define<TAB> style.
...
pointed by enami.
2001-12-18 15:21:13 +00:00
augustss
b2a9a2993d
Move utility routine from uirda.c to usbdi_util.c.
2001-12-18 14:50:01 +00:00
ad
6b7cc2a465
Couple more tweaks, probably still not working.
2001-12-18 13:38:48 +00:00
ichiro
214499d236
change routine of device search.
...
mbe_pcmcia_lookup() is introduced
2001-12-18 11:32:47 +00:00
ichiro
62ddf45f47
regen
2001-12-18 11:23:49 +00:00
ichiro
e59b8e538e
add CIS strings of FUJITSU FMV-181,182,182A
...
delete ITCFJ182A, because FMV-182[A] ID is same as ITCFJ182A.
2001-12-18 11:23:24 +00:00
fvdl
e946e67d2b
Introduce M_NEWDIRBLK type.
2001-12-18 10:57:42 +00:00
fvdl
3d8b2ffe36
Bring over fixes from FreeBSD that weren't incorporated yet, mainly
...
from Kirk McKusick. They implement taking pending block/inode frees
into account for the sake of correct statfs() numbers, and adding
a new softdep type (newdirblk) to correctly handle newly allocated
directory blocks.
Minor additional changes: 1) swap the newly introduced fs_pendinginodes
and fs_pendingblock fields in ffs_sb_swap, and 2) declare lkt_held
in the debug version of the softdep lock structure volatile, as it
can be modified from interrupt context #ifdef DEBUG.
2001-12-18 10:57:21 +00:00
fvdl
e922d091ba
Prevent gcc from reordering things such that instructions may fall out
...
of a range which is protected by spl/splx. Originally proposed by
YAMAMOTO Takashi (yamt@netbsd.org ) on tech-kern. This change mirrors
the one done by Bill Sommerfeld on the i386 mp branch.
2001-12-18 10:12:28 +00:00
chs
a8b519c880
unmap loaned pages before dropping the loan. some pmaps aren't
...
expecting pmap_kenter_pa() to be used to replace an existing mapping,
plus it just seems like a bad idea to keep around mappings of pages
that may be freed and reused.
2001-12-18 08:49:40 +00:00
chs
0d70d731c2
use the new compatibility routines to allow mmap() to work
...
(in the same non-coherent fashion that it worked pre-UBC)
until someone has time to do it the right way.
2001-12-18 07:51:16 +00:00
chs
40bf5f0e12
add some compatibility routines to allow mmap() to work non-UBCified
...
filesystems (in the same non-coherent fashion that they worked before).
2001-12-18 07:49:36 +00:00
chs
03dd7ce1e8
when truncating a file, make sure the last block of the file is actually
...
allocated, since other parts of the code assume this.
2001-12-18 06:50:28 +00:00
thorpej
c285667b3c
Add a memory clobber to alpha_pal_swapctx() and alpha_pal_swpipl();
...
the former affects the address space, and the latter can let interrupt
handlers in to clobber memory.
2001-12-18 04:18:22 +00:00
thorpej
8c8f0f0f82
Disable .loc in macros for now; the new assembler is a lot more
...
picky about having the file number defined.
2001-12-18 04:15:45 +00:00
itojun
1cad8e6085
reduce white space/cosmetic diffs w/kame.
2001-12-18 03:04:02 +00:00
thorpej
631447bb4a
Change some #if 0 to #ifdef VERBOSE_INIT_ARM.
2001-12-18 02:52:00 +00:00
itojun
29064a3fdb
remove obsolete #if 0'ed portion.
2001-12-18 01:42:04 +00:00
thorpej
36c9cfea2d
Fix constraints in __asm statements (err, again). Kernels compiled
...
with GCC 2.95.3 work now.
2001-12-17 23:34:57 +00:00
fredette
f838750c17
Fixed a bug where we would always byteswap things,
...
even on a big-endian machine.
2001-12-17 21:55:13 +00:00
fredette
a366516238
Added ifmedia(4) support.
2001-12-17 18:14:17 +00:00
atatat
5ba4387372
Provide hooks to include the config file(s) in the kernel binary.
2001-12-17 15:40:43 +00:00
bjh21
f2ebadcc6f
Ensure that vidc.h gets installed somewhere -- Xarm32vidc needs it to compile.
2001-12-17 15:07:37 +00:00
ichiro
57957526e0
Uoo
...
Make it compile.
2001-12-17 14:34:37 +00:00
ichiro
1b0449d255
support BREAK function,
...
keep a value of the last LCR.
2001-12-17 14:31:02 +00:00
ichiro
d5f3329501
In BREAK, the value of LCR is held.
2001-12-17 14:19:39 +00:00
gehenna
7cd101a6ca
Introduce the new umass quirk table.
...
Discussed with augustss.
2001-12-17 12:16:14 +00:00
mhitch
9d4755dd24
Adjust for a.out/ELF conversion program.
2001-12-17 05:49:41 +00:00
mhitch
79193d3408
Changes for building two stage loader, and add support for ELF object
...
format.
2001-12-17 05:48:09 +00:00
mhitch
4038ed8a29
Select relocatable to bootblock conversion program based on which object
...
format is being used.
2001-12-17 05:46:52 +00:00
mhitch
5a3ab70cb5
Add some additional conversions for ELF assembler output.
2001-12-17 05:45:08 +00:00
mhitch
29ee3faf63
Change fixed-size buffers to variable, with an option to set the size for
...
the second stage loader.
Show the number of bytes remaining in the boot file image.
2001-12-17 05:43:40 +00:00
mhitch
e1d8eca622
Update amiga booter to two-stage booter.
...
First stage is bootxx_ffs (for ffs boot partitions) or bootxx_fd (for bootable
floppy disk). These locate, load, and execute the second stage loader boot.amiga.
The console screen is created and passed to the second stage loader.
The second stage loader uses loadfile() to load the kernel image, which can
be either a.out or ELF format, and can also be compressed. It will load a
kernel file from ffs file systems or the ustarfs used on floppy disks.
2001-12-17 05:40:40 +00:00
martin
61eb776b48
Remove yet another spurious (debug?) output.
2001-12-16 23:55:28 +00:00
martin
b2bd90b630
Cleanup softc more completely on "ifconfig down", but only if we are
...
currently in a connection reestablishement state.
The previouse (incomplete/unconditional) cleanup confused the state machine.
2001-12-16 23:53:31 +00:00
bouyer
a9f41fe33b
dd support for the Promise Ultra100TX2, Promise Ultra100TX2v2 and Ultra133
...
IDE controllers. In part from OpenBSD via ragge, in part from FreeBSD.
2001-12-16 23:35:52 +00:00
oster
3b488c3f27
Fix an off-by-one error when autoconfig is hunting for a free RAID
...
device in the rare event that the one it wants is already in use.
Thanks to Wolfgang Stukenbrock for noticing the bug and filing the PR.
This fix addresses PR#14862.
2001-12-16 22:57:32 +00:00
thorpej
e53aabcecc
Rename weasel.c to weasel_isa.c in preparation for supporting the
...
PCI version of the Weasel.
2001-12-16 22:35:31 +00:00
thorpej
cf64f893c8
Try again: weasel -> weasel_isa
2001-12-16 22:33:35 +00:00
thorpej
87e8f0c761
Oops, revert previous; it included some other changes there weren't
...
meant to be checked in.
2001-12-16 22:32:07 +00:00
thorpej
b45e326520
weasel -> weasel_isa
2001-12-16 22:30:26 +00:00
thorpej
cb2d65aaf9
Fix a minor typo.
2001-12-16 22:23:01 +00:00
thorpej
23dfa29697
Add the serial port on the Middle Digital, Inc. PCI Weasel.
2001-12-16 22:22:04 +00:00
thorpej
fd8e4d1653
Regen:
...
Add Middle Digital, Inc. vendor ID. Add product IDs for the
Middle Digital PCI-Weasel Virtual VGA, Serial Port, and Control
registers.
2001-12-16 22:00:41 +00:00
thorpej
f7b4a308a9
Add Middle Digital, Inc. vendor ID. Add product IDs for the
...
Middle Digital PCI-Weasel Virtual VGA, Serial Port, and Control
registers.
2001-12-16 21:59:47 +00:00
fvdl
a3cd944f25
Also correct the attach flags to enable IO space on the ServerWorks
...
CNB20LE.
2001-12-16 21:33:06 +00:00
gmcgarry
bdfdbd8233
Make this compile with new toolchain.
2001-12-16 20:58:25 +00:00
reinoud
608b11c8f4
Minor bootloader update but most of all updated UnixFS disk selections so
...
now also other patitions are possible; The scripts `native/wd*' were all
broken !!! Guess Mark Brinicombe had some plans but forgot to subit them...
2001-12-16 20:54:29 +00:00
jdolecek
563ebe0896
our NTFS seems to read Windows 2000 NTFS just fine
2001-12-16 18:29:03 +00:00
thorpej
3bce84cf10
Consider __NO_LEADING_UNDERSCORES__ provided by the new ELF toolchain.
2001-12-16 18:11:12 +00:00
soren
3faa83dcb4
To make dev/pcmcia work on platforms with 64-bit bus_addr_t and
...
32-bit bus_size_t (sparc), change the pcmcia_mem_map(9) offsetp
argument to bus_size_t as it is used as a bus_space offset.
2001-12-16 17:53:17 +00:00
bjh21
d7be12c439
Report a display type of WSDISPLAY_TYPE_VIDC, since we'll probably share
...
interfaces with the VIDC20 drivers in acorn32 eventually.
2001-12-16 15:15:44 +00:00
ichiro
0a1465a39c
handle vendor and product lookup with common routine
2001-12-16 15:11:19 +00:00
soren
dafad2c49b
Obsoleted by @@@'s kernel makefile work.
2001-12-16 14:02:46 +00:00
martin
729b826ecd
Fix packet accounting (now netstat -i and netstat -ib show reasonable
...
values).
Implement a secondary connection-reestablishement mode, which is only
entered after (1) we have successfully transfered payload data over this
connection and (2) if initial retries did not reestablish a session.
In this mode we retry (infrequently) forever, until adminstrator stops
us (by "ifconfig ppppoe0 down"). XXX - need to display this mode in
pppoectl.
It is now possible to pull the DSL modems plug for say 15 minutes, plug
it back in again and just wait. The connection will be reestablished within
three minutes.
2001-12-16 11:40:52 +00:00
takemura
3c28255e30
BUGFIX: it gets bus error on Vr4122 and Vr4131 attempting to access
...
pull-up/pull-down registers if you turn on verbose output.
And moved softc structure definition from vrgiuvar.h to vrgiu.c, which was
needless in other parts of kernel.
2001-12-16 09:58:34 +00:00
ichiro
10c8cdf485
missing Misc Attribute of PCMCIA functions
...
FUJITSU CF Ether ITCFJ182A supported "Power down"
Power down supply current are 20mA
2001-12-16 06:07:50 +00:00
ichiro
ff638ce5fd
support FUJITSU CF EthernetCard
...
ITCFJ181A
mbe0 at pcmcia1 function 0: Fujitsu J182A Compact Flash Ethernet
mbe0: Ethernet address 00:00:0e:c5:01:ea
2001-12-16 05:44:33 +00:00
ichiro
a4ad95c757
regen
2001-12-16 05:43:16 +00:00
ichiro
dc739ee7b9
add FUJITSU CF EthernetCard
...
ITCFJ181A
2001-12-16 05:42:46 +00:00
enami
d3efa85632
G/C no longer used saved credential for file i/o.
2001-12-16 04:51:34 +00:00
tsutsui
7d563fd40e
malloc() + memset() -> malloc() with M_ZERO flag
2001-12-16 04:17:02 +00:00
tsutsui
20d126a5b4
Fix comments for ref-count of PT pages.
2001-12-16 03:53:21 +00:00
tsutsui
f7312c690f
cosmetics (typo, KNF etc.)
2001-12-16 03:41:57 +00:00
gmcgarry
ac1f9fcc8c
When attaching as console, unmap the device on failure.
2001-12-16 02:02:05 +00:00
martin
c8006a73d3
Remove some spurious (debug?) output.
2001-12-16 00:55:40 +00:00
bjh21
b17e1abb0f
Use the MI DP83905 support for media selection on those cards that use it.
2001-12-16 00:23:59 +00:00
bjh21
7f32875295
if_media support for the DP83905 AT/LANTIC (a souped-up DP8390).
2001-12-16 00:22:43 +00:00
bjh21
2ca506c0ca
if_ne_pbus needs the "mx98905" attribute.
2001-12-15 23:48:38 +00:00
fredette
d3a28a576e
Rather than using nlist(3), use a magic structure with a magic
...
number that installboot(8) can search for. Suggested by cgd@netbsd.org .
2001-12-15 23:09:50 +00:00
fredette
c9e7d7b7ba
On the sun2, added support for loading larger kernels,
...
and pull objects from the libgcc in DESTDIR.
2001-12-15 23:02:34 +00:00
bjh21
7bc474a92b
mod() was unused. g/c it. New code should use abs() anyway.
2001-12-15 22:41:44 +00:00
fredette
175ee0ab88
Fixed a bug where we weren't checking for required or
...
forbidden locators correctly, especially physical addresses.
2001-12-15 22:39:17 +00:00
fredette
9976af904a
Remove some devices that aren't needed in INSTALL or RAMDISK
...
kernels, reenable NFS v3, and enable kernfs in INSTALL.
2001-12-15 22:22:13 +00:00
bjh21
eefdf030c9
Simplify the pixel-clock-rate-setting code, so it always works out the
...
parameters from first principles rather than using a static table for some
rates. This makes it work correctly on ARM7500, for which the table was
bogus (ARM7500 has a different refclk from VIDC20).
2001-12-15 22:21:46 +00:00
fredette
74e4ac42de
Be sure to mark in the prototype attach args
...
that a physical address is required for each
device on this bus.
2001-12-15 22:13:11 +00:00
martin
7801c694b0
Enable additional error messages for the discovery phase, clarify some
...
others. Change one timeout slightly - we need to make all others user
settable.
2001-12-15 20:43:31 +00:00
martin
f19c69323c
Make reconnects after LCP keepalive detected an error actually work.
2001-12-15 20:40:37 +00:00
bjh21
7de3bbbbe3
Use the MX98905 bug workaround for EtherN and EtherI cards.
2001-12-15 20:30:06 +00:00
bjh21
c72d5d40dd
Add code to support the bugged Macronix MX98905 chip, as used in several
...
podulebus Ethernet cards. This replaces the NE2000 memory-access routines
with ones that don't try to transfer more than 255 bytes at a time.
This code should perhaps be merged into ne2000.c, but presumably most NE2000
clones won't need it.
2001-12-15 17:47:34 +00:00
soren
875bff0962
To make dev/pcmcia work on platforms with 64-bit bus_addr_t and
...
32-bit bus_size_t (sparc), change the pcmcia_mem_map(9) offsetp
argument to bus_size_t as it is used as a bus_space offset.
2001-12-15 13:23:20 +00:00
soren
3514260fd4
Regen.
2001-12-15 13:18:10 +00:00
soren
c425f6ea72
Add Cologne Chip Designs ISDN controller.
2001-12-15 13:17:49 +00:00
soren
6a76b36417
Use regular read/writes for stream variant calls.
2001-12-15 12:39:55 +00:00
soren
e324e87ca8
Fix typo in comment.
2001-12-15 12:01:55 +00:00
soren
3022b71f80
Correct copyright header.
2001-12-15 11:45:24 +00:00
soren
df984ecc52
Use bus_size_t's for bus space read/write offsets.
2001-12-15 11:41:09 +00:00
wdk
505a7027b6
Revert back to invalidating cache during BUS_DMASYNC_POSTREAD instead of
...
during BUS_DMASYNC_PREREAD.
Fixes problem where SCSI bus probe didn't read meaningful identity data.
Technically there should be no difference between invalidating before or
after the DMA, but for reasons known only to the R3000 this fixes the
problem. Some thought needs to be given to whether there is a performace
difference between these two cases.
2001-12-15 11:33:13 +00:00
wdk
c49454c890
Declare KGDB hook functions.
2001-12-15 11:17:03 +00:00
wdk
b697919ea7
Add bus_dmamap_sync for pre-read and pre-write case. This was previously
...
left out as it was a no-op on the R3000 processor. However, recent changes
to the Mips cache ops highlighted we should DTRT in case the MI/MD layer
choses to invalidate the cache ahead of the DMA instead of after it.
2001-12-15 11:11:49 +00:00
chs
ae5b4093b5
when counting PTEs, look at all the segments in a region, not just the first.
2001-12-15 09:00:50 +00:00
explorer
6b9f60a2db
install into /usr/include/dev/ir, since Jason made irdaattach look here.
2001-12-15 01:03:28 +00:00
fvdl
e3e7b4bd55
Set np->n_size before calling nfs_vinvalbuf, to avoid recursion
...
and confusion about the actual filesize. From Matt Dillon's
similar change in FreeBSD.
XXX n_size is really redundant in -current and must die. This commit
XXX is more of a placeholder for a pullup into the 1.5 branch.
2001-12-15 00:32:49 +00:00
augustss
c6df7d4358
Regen.
2001-12-15 00:31:43 +00:00
augustss
385b05e2f9
Add another Altima PHY. From Peter Seebach.
2001-12-15 00:31:03 +00:00
augustss
c70fc55cba
Add a hack for ScanLogic SL11R IDE adapter. From FreeBSD.
2001-12-15 00:26:14 +00:00
augustss
3a31906841
Regen.
2001-12-15 00:25:00 +00:00
augustss
4a4ae0b6b7
YAD.
2001-12-15 00:15:01 +00:00
augustss
18c6adb0b6
YAD (Yet Another Device)
2001-12-15 00:07:45 +00:00
augustss
f79701e3fa
Regen.
2001-12-14 23:57:00 +00:00
augustss
154a59571d
Add SS1001.
2001-12-14 23:56:42 +00:00
augustss
356c54687b
Integrate fix from PR 10155.
...
Add ACCTON SS1001.
2001-12-14 23:56:21 +00:00
thorpej
f77397d481
Use __sh__ instead of __sh3__.
2001-12-14 23:30:02 +00:00
briggs
ea6ecf9933
Match MPC107, too.
2001-12-14 22:42:01 +00:00
briggs
b7409e5213
Re-enable wscons stuff. Add rtk* as it's now confirmed to work on sandpoint.
2001-12-14 22:41:33 +00:00
nathanw
8d1585affa
The Olympus C-1 engine cameras seem to need the PQIRK_ONLYBIG quirk.
2001-12-14 22:15:52 +00:00
thorpej
3d25834fb6
Fix a typo.
2001-12-14 20:51:01 +00:00
christos
878eb1362a
PR/14946: Rafal Boni: Make this work again.
...
Notes:
- I added bsd.obj.mk and made it work with objdirs.
- I added an entry point to the linker to fix a warning.
- I made the backup of biostramp.inc silent.
- I added missing clean targets.
This needs to be tested further.
2001-12-14 20:32:23 +00:00
christos
d259e61055
Fix warnings about register prefixes caused by the new toolchain.
2001-12-14 20:30:10 +00:00
augustss
aa71c52956
Uncomment uirda since it woks now.
2001-12-14 16:24:52 +00:00
augustss
74a0c5db97
Remember to add header byte to length.
...
Use fewer magic constants.
(The driver works now.)
2001-12-14 15:44:04 +00:00
augustss
342a82f2dd
Start read at open.
...
Don't send new header when nothing changes.
(But uirda is still not working.)
2001-12-14 13:07:33 +00:00
augustss
7f50d17c46
Sanity check speed setting.
2001-12-14 12:57:30 +00:00
augustss
142cdc8997
Rearrage softc a little.
2001-12-14 12:56:58 +00:00
augustss
aa89e69702
Don't reallocate I/O buffers.
2001-12-14 12:08:14 +00:00
augustss
d787f49ee6
Fix descriptor definition bug.
...
Clear endpoint stall on error.
2001-12-14 12:02:53 +00:00
bjh21
2ee0431a3d
Register definitions for the NatSemi DP83905 AT/LANTIC, as used in many
...
podulebus Ethernet cards.
2001-12-14 10:16:03 +00:00
gehenna
f144837e0e
Stylistic changes
2001-12-14 08:58:49 +00:00
gehenna
2d27ad7c73
Define a new structure to store wire specific control methods.
...
The basic BBB/CBI functions are stored as members of constant structure.
When attached device, softc holds one of that constant structures.
2001-12-14 08:46:19 +00:00
gmcgarry
25be1c42e2
Arrange in correct order.
2001-12-14 08:39:11 +00:00
gmcgarry
9370d5d4ef
Update hardware drivers with console attachments to the new console
...
attachment interface.
2001-12-14 08:34:27 +00:00
ichiro
69424fd268
typo fix
2001-12-14 08:33:54 +00:00
gmcgarry
8038726863
Update the console attach interface now that bus_space is available.
...
Basically means that hardware drivers with console attachments are
now largely machine independent.
2001-12-14 08:29:24 +00:00
gmcgarry
8883bd8ba3
Make the ite interface look a little more like wscons. This is done
...
by allowing the hardware drivers to register keyboard and display
support with the ite framework. Removes the dependence on the hil
keyboard and should make support for dnkbd easier.
An interim fix until wscons arrives.
2001-12-14 08:25:40 +00:00
gmcgarry
eed7e1f9a3
include Makefile.buildboot before testing for RELEASEDIR
2001-12-14 07:36:32 +00:00
gehenna
49bba69842
Use device handle and interface number which are stored in softc.
2001-12-14 06:21:56 +00:00
gmcgarry
5b666cb353
Bump version: Default to BOOTP network boot
2001-12-14 06:08:35 +00:00
chs
5e3151bdf5
make this compile with DEBUG.
2001-12-14 06:06:26 +00:00
gehenna
53f34def69
Change style to store endpoint addresses and pipes.
2001-12-14 05:58:13 +00:00
gmcgarry
64e7130584
Use bootp, to match the recent change to the bootblocks.
2001-12-14 05:56:59 +00:00
gmcgarry
bdd225baa1
Add a blurb to the top of all GENERIC files. This serves three purposes:
...
- to clarify some terminology
- to clarify the intention of the GENERIC file
- to cross-reference some useful man pages
2001-12-14 05:34:45 +00:00
chs
4923ddfdda
in sys_mincore(), check the return value of uvm_vslock() to determine
...
if the vec pointer is valid rather than using uvm_useracc().
uvm_useracc() just tells you if the permissions of a user mapping allow
the desired access, not whether faulting on that mapping will succeed.
2001-12-14 04:21:22 +00:00
mjacob
219d22404b
Major restructuring for swizzling to the request queue and unswizzling from
...
the response queue. Instead of the ad hoc ISP_SWIZZLE_REQUEST, we now have
a complete set of inline functions in isp_inline.h. Each platform is
responsible for providing just one of a set of ISP_IOX_{GET,PUT}{8,16,32}
macros.
The reason this needs to be done is that we need to have a single set of
functions that will work correctly on multiple architectures for both little
and big endian machines. It also needs to work correctly in the case that
we have the request or response queues in memory that has to be treated
specially (e.g., have ddi_dma_sync called on it for Solaris after we update
it or before we read from it).
One thing that falls out of this is that we no longer build requests in the
request queue itself. Instead, we build the request locally (e.g., on the
stack) and then as part of the swizzling operation, copy it to the request
queue entry we've allocated. I thought long and hard about whether this was
too expensive a change to make as it in a lot of cases requires an extra
copy. On balance, the flexbility is worth it. With any luck, the entry that
we build locally stays in a processor writeback cache (after all, it's only
64 bytes) so that the cost of actually flushing it to the memory area that is
the shared queue with the PCI device is not all that expensive. We may examine
this again and try to get clever in the future to try and avoid copies.
Another change that falls out of this is that MEMORYBARRIER should be taken
a lot more seriously. The macro ISP_ADD_REQUEST does a MEMORYBARRIER on the
entry being added. But there had been many other places this had been missing.
It's now very important that it be done.
For NetBSD, it does a ddi_dmamap_sync as appropriate. This gets us out of
the explicit ddi_dmamap_sync on the whole response queue that we did for SBus
cards at each interrupt.
Set things up so that platforms that cannot have an SBus don't get a lot of
the SBus code checks (dead coded out).
Additional changes:
Fix a longstanding buglet of sorts. When we get an entry via isp_getrqentry,
the iptr value that gets returned is the value we intend to eventually plug
into the ISP registers as the entry *one past* the last one we've written-
*not* the current entry we're updating. All along we've been calling sync
functions on the wrong index value. Argh. The 'fix' here is to rename all
'iptr' variables as 'nxti' to remember that this is the 'next' pointer-
not the current pointer.
Devote a single bit to mboxbsy- and set aside bits for output mbox registers
that we need to pick up- we can have at least one command which does not
have any defined output registers (MBOX_EXECUTE_FIRMWARE).
Explicitly decode GetAllNext SNS Response back *as* a GetAllNext response.
Otherwise, we won't unswizzle it correctly.
Nuke some additional __P macros.
2001-12-14 00:13:44 +00:00
mjacob
acbfdd822a
Roll f/w to latest level, correcting several, ah, interesting bugs.
2001-12-14 00:07:55 +00:00
tv
816077b47e
Fix problem introduced with the MKMAN->NOMAN conversion.
2001-12-13 22:33:20 +00:00
bouyer
71e063c830
pdc202xx_setup_channel: remove a duplicate line.
2001-12-13 20:57:22 +00:00
bouyer
ca9f8b13da
Regen: Add some promise controllers, from FreeBSD
2001-12-13 20:41:05 +00:00
bouyer
b981b05472
Add some promise controllers, from FreeBSD
2001-12-13 20:40:28 +00:00
augustss
04c10fc0cf
Initialize lock.
2001-12-13 17:25:37 +00:00
augustss
3df38cc501
Some debug stuff.
2001-12-13 17:15:09 +00:00
augustss
f2821a312a
Fix TODO comment.
2001-12-13 17:14:21 +00:00
augustss
090d1a628e
Move parameter checks to a common place.
2001-12-13 15:09:07 +00:00
augustss
2485171a67
Use unsigned ints.
2001-12-13 15:08:26 +00:00
junyoung
9dbc5fd199
ANSIfication & KNF fixes.
2001-12-13 08:38:35 +00:00
junyoung
f075aa60ac
ANSIfication & cosmetic changes.
2001-12-13 08:35:38 +00:00
junyoung
9ff2a7a76d
ANSIfy.
2001-12-13 08:34:55 +00:00
junyoung
d5decae4e0
ANSIfication & cosmetic changes.
2001-12-13 08:31:39 +00:00
chs
2dfd15933e
change the reference-counting of PT pages to start from zero instead of
...
one, so that we don't mess up the global count of wired pages by having
the page's wire_count be non-zero when we free the page.
pointed out by Michael Hitch.
2001-12-13 04:39:50 +00:00
tacha
cba701fed7
remove bogus printf.
2001-12-13 02:50:30 +00:00
augustss
0ba8bac8fe
Fix some bugs. But the driver is still borken.
2001-12-13 02:16:21 +00:00
lukem
c10ff7575c
YANOMAN=
2001-12-13 01:26:39 +00:00
augustss
d6bbabfb1b
Some DIAGNOSTIC nonsense.
2001-12-13 00:33:58 +00:00
augustss
a97820e536
Don't use u_int since it requires sys/types.h
2001-12-13 00:33:36 +00:00
augustss
8e98b4a185
Add some special cases for the Sitecom adapter.
...
Make endian safe.
Fix some minor bugs.
2001-12-12 23:59:48 +00:00
petrov
aaee6a1839
initialize all fpu registers and don't panic on user 'privileged action'
2001-12-12 19:14:47 +00:00
augustss
3ed67fc0c4
Add missing delay for the tekram dongle.
2001-12-12 17:52:06 +00:00
augustss
5c0685d35e
Don't use timeout 0 to tsleep() when the time is short.
2001-12-12 17:21:36 +00:00
augustss
0a4d7b9de3
Add a scanner quirk for keeping the pipes open between device opening.
...
Idea from Enami.
2001-12-12 15:48:18 +00:00
augustss
7727919172
Use USBD_NO_COPY in for some transfers where it was missing.
2001-12-12 15:44:47 +00:00
augustss
2fdd0f5a4b
Some more paranoia checks when DIAGNOSTIC.
2001-12-12 15:38:58 +00:00
augustss
29c3fe261b
Add some comments.
2001-12-12 15:38:27 +00:00
augustss
95d1208c14
Regen.
2001-12-12 15:37:21 +00:00
augustss
290d3a0d9e
Add some devices.
2001-12-12 15:36:59 +00:00
augustss
dfbcffae07
Remove some stupid casts.
2001-12-12 15:36:08 +00:00
augustss
2fe5c52a53
Use unsigned ints for device settings.
2001-12-12 15:34:49 +00:00
augustss
fae70125c0
Change default value for ebofs.
2001-12-12 15:34:15 +00:00
augustss
0680aa8809
Add some ioctl()s for consumer IR.
2001-12-12 15:33:53 +00:00
augustss
a7d99a83b1
Add (commented out) uirda.
2001-12-12 15:32:13 +00:00
augustss
bb9f9be772
Add uirda.
2001-12-12 15:31:33 +00:00
augustss
4a802f4928
Add USB-IrDA bridge.
...
Needs more testing.
2001-12-12 15:27:24 +00:00
augustss
22735e5d44
Move usbd_clear_endpoint_toggle() prototype to usbdi.h.
2001-12-12 15:23:58 +00:00
gehenna
968318a989
Use vendor/product variables
2001-12-12 14:24:53 +00:00
gehenna
0f983137af
Don't change wire protocol state in umass generic function
2001-12-12 13:23:20 +00:00
gehenna
54e3c1962e
bcopy -> memcpy
2001-12-12 13:17:03 +00:00
lukem
b0b0a32ad7
Set NOxxx= before <bsd.own.mk> is pulled in (even indirectly).
...
Otherwise the appropriate MKxxx=no won't be defined .
2001-12-12 12:24:19 +00:00
lukem
b574ee0f82
define NOMAN= once, at the real top level of lkm
2001-12-12 12:06:45 +00:00
lukem
19d9b95273
define NOMAN= once, at the top level
2001-12-12 11:56:05 +00:00
lukem
00255d260d
define NOMAN= once, at the top level
2001-12-12 11:44:43 +00:00
kleink
e1f611fa76
The MPC105 does not implement the IBM reference implementation's
...
Equipment Present Register (I/O port 0x080c), so perform L2 cache
detection here.
2001-12-12 10:18:48 +00:00
elric
51b292ea65
Added support for the PowerStorm 4d20, initial support that is.
...
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.
2001-12-12 07:50:05 +00:00
elric
94448f7e52
Update the ramdac interface to be allow the setting of dotclocks. This is
...
required to support the driver in ibm561.c.
2001-12-12 07:47:46 +00:00
elric
8ffabd82eb
Initial support for the IBM RGB561 RAMDAC. This uses the same interface
...
as the Bt463 and Bt485 drivers.
2001-12-12 07:46:48 +00:00
tv
8e6f7afb5b
MKfoo=no -> NOfoo
2001-12-12 01:48:43 +00:00
jdolecek
4fbc1b008e
one more - it would be nice to have LKMs actually working on PowerPC platforms
2001-12-12 00:05:30 +00:00
augustss
1ad59a57f2
Recognized Danube chip as well.
...
Small cleanup.
2001-12-11 21:34:06 +00:00
aymeric
48de85e04b
add support for OBP 3.x as seen on some JavaStation 1's
2001-12-11 21:09:52 +00:00
kleink
b52ac962b3
Add pci device.
2001-12-11 21:02:42 +00:00
kleink
a5abbc5b66
Add wsfont pseudo-device.
2001-12-11 20:49:18 +00:00
jdolecek
d7129f9255
fix typo in #ifdef __FreeBSD__
...
Pointed out by Chris Jepeway in private e-mail, thanks!
2001-12-11 18:15:09 +00:00
pk
f696afd8ff
Name changes: {KBD,MS}_BPS => {KBD,MS}_DEFAULT_BPS
2001-12-11 17:27:25 +00:00
ragge
c7bae7c419
Add forgotten "hdc" and "rd" disks.
2001-12-11 15:14:25 +00:00
ad
f1e83bd500
Regen.
2001-12-11 11:21:56 +00:00
ad
a2b8531ff3
Add some Intel/ICP-Vortex/Compaq products.
2001-12-11 11:21:01 +00:00
kleink
b327c956d1
Regen: add product ID for the Motorola MPC107.
2001-12-11 11:00:45 +00:00
kleink
4e24ace442
Add product ID for the Motorola MPC107.
2001-12-11 10:57:50 +00:00
briggs
41f0fe2808
Make it possible to build a kernel that actually compiles and runs on a shark.
2001-12-11 06:00:16 +00:00
uwe
9a2a6c77e8
tabify
2001-12-11 05:54:56 +00:00
shin
13c66a24fe
compilation fix.
2001-12-11 05:43:11 +00:00
briggs
caf1c0abc7
include <arm/...> cousin
2001-12-11 04:50:51 +00:00
shin
7806543ebf
SPEC_PLATFORM is 'defparam' (requires value).
2001-12-11 04:46:39 +00:00
uwe
e51c17a95f
enable pci bus device. (hi matt!)
...
fix a whitespace nit while I'm here.
2001-12-11 04:29:26 +00:00
uwe
a2b05223ee
Add microSPARC-IIep support.
2001-12-11 04:25:58 +00:00
uwe
6767457cab
Add microSPARC-IIep support. Move sun4m bootstrap into separate
...
functions (for normal 4m and for IIep).
2001-12-11 04:21:39 +00:00
uwe
0a2b7fe7d7
Add microSPARC-IIep support. Protect mostek clock code with NMK48TXX
...
so that this file doesn't require obio, iommu and sbus to link the kernel.
Make todr_handle and establish_hostid() non-static.
2001-12-11 04:17:48 +00:00
uwe
d5a5296209
Implement microSPARC-IIep versions of sparc_interrupt4m, raise and microtime.
2001-12-11 03:46:59 +00:00
uwe
2d4ea9ba63
Add constants for microSPARC-IIep registers.
2001-12-11 03:43:22 +00:00
uwe
4924c0ae30
On ms-IIep kernel runs with PCI endian swapping turned on but we need
...
to turn it off before we pass control to PROM's repl as it expects
PCIC to be in little endian mode and would hang otherwise.
2001-12-11 03:35:02 +00:00
uwe
ee71ea68bc
microSPARC-IIep is a sun4m but with an integrated PCI controller.
...
In a lot of places (like pmap &c) we want it to be treated as SUN4M.
But since various low-level things are done very differently from
normal sparcs (and since for now it requires a relocated kernel
anyway), the MSIIEP kernels are not supposed to support any other
system. So when MSIIEP is defined - insist on SUN4M defined and SUN4
and SUN4C not defined.
2001-12-11 03:28:38 +00:00
uwe
814a815542
Export msiiep_swap_endian(onoff) from msiiep.c to turn on/off
...
automagic endian swapping performed by PCI controller. Need it in
several places where we want to enter PROM repl.
2001-12-11 03:24:46 +00:00
chris
80e667c6ab
Add clockctl device.
...
Note that someone needs to tidy this up, we've got 92 block devices, which just ain't true. Also appears we're actually missing some, eg the ld block device.
2001-12-11 00:34:50 +00:00
uwe
78eadd17b7
Attachment for MI com(4) driver at ebus.
2001-12-11 00:31:08 +00:00
uwe
81f0e10ca5
rtc (ds1287a) time of day clock at ebus.
2001-12-11 00:29:21 +00:00
uwe
255d046f95
EBus support for ms-IIep.
2001-12-11 00:25:31 +00:00
uwe
e0046f836b
EBus support for ms-IIep. This file should eventually be merged into
...
sys/dev/ebus/ebusreg.h and shared with sparc64 port.
2001-12-11 00:24:03 +00:00
uwe
de47c08727
microSPARC-IIep support.
2001-12-11 00:18:22 +00:00
martin
8b3d9b9497
Enable active LCP keepalive handling in the PPP layer, the PPPoE layer
...
itself has no means to detect broken connections.
2001-12-10 23:23:24 +00:00
uwe
02529ca11e
Fixed VA for microSPARC-IIep PCI controller.
2001-12-10 23:10:34 +00:00
briggs
eca843c395
define __HAVE_NWSCONS for pckbc.
2001-12-10 22:42:54 +00:00
uwe
75b646134f
mk48txx needs-flag to allow sparc's clock.c to be compiled without
...
mostek support that pulls in a lot of other stuff too.
2001-12-10 22:36:21 +00:00