Commit Graph

128514 Commits

Author SHA1 Message Date
chris
8276e3ab68 Add the optional ability to parse the cs's eeprom data structure. I've made
it optional as I'm not able to confirm the eeprom format is the same on
earlier cs89x0's.  Certainly the my 8920M and the data sheet for 8900A use the
same format.

This allows my RiscStation to examine the cs's eeprom to find it's mac
address, previously it was unable to do this, as the eeprom offsets were hard
coded for locating the mac address.
2004-07-04 13:09:12 +00:00
mycroft
1fc8e6461a Support for the VS-Com PCI-210H 2s/1p card, from PR 18478. 2004-07-04 10:02:03 +00:00
pk
ce03cf29a9 cpu_simple_lock: on spin out, check whether we've already panicked. If so,
just take the lock on the assumption that in panic mode, we run on a single
CPU anyway.
2004-07-04 09:54:20 +00:00
mycroft
94e2ec5a8b Back off the trigger level a little. Testing shows that it's not terribly
reliable at 14.
2004-07-04 09:46:44 +00:00
mycroft
35186738e8 Minor simplification. 2004-07-04 09:28:05 +00:00
pk
edd81fa220 Fix typo in CHECK_SP_REDZONE() which has been there since the beginning of time. 2004-07-04 09:11:33 +00:00
wiz
d05ee1275d regen from pcidevs, so that this file has the correct CVS Id. 2004-07-04 08:37:58 +00:00
mycroft
df4e7d03fc Incorporate 4 changes that have been suggested:
* At high speed, set the FIFO trigger to the maximum value to reduce interrupt
  load.  PR 15448.
* Handler the case of IIR=RXRDY and LSR=!LSR_RCV_MASK differently, to avoid a
  hang with some chips.  PR 21184, and possibly PR 10974 and PR 8248.
* Remove the extra wait at the end of com_common_putc(), after writing a
  character out, so that we get another TXRDY interrupt.  This prevents stalls
  when normal output and kernel output are mixed.  PR 4263.
* Do not "preload" the TX FIFO; wait for a TXRDY interrupt to come in after
  enabling it.
2004-07-04 08:09:03 +00:00
dan
f2c2db34e8 put kgetcred.1 manpage in man rather than catman syspkg, mark it as
.man so MANZ builds work
2004-07-04 07:20:39 +00:00
mycroft
2b9d3e39a0 Fix confusion between index numbers in one table and node numbers in another
table, that was causing PNPBIOS to fail on some machines.  Should fix PR 18610.
2004-07-04 06:18:26 +00:00
mycroft
58a7151020 Update Serverworks chip names, and add a few more. 2004-07-04 05:53:55 +00:00
mycroft
e8dd6e3b10 Update Serverworks chip IDs, per:
http://www.plasma-online.de/english/identify/picture/serverworks.html
This seems remarkably more sane.
2004-07-04 05:51:58 +00:00
mycroft
88bac700e0 Be more careful about what ServerWorks devices we attempt to map PCI buses
behind.
This should address PR 21458 and PR 25670.
2004-07-04 04:55:18 +00:00
mycroft
cd5dfd5c5c Rebuild. This primarily updates NGDT. 2004-07-04 03:35:01 +00:00
mycroft
15eb49718a s/PAGE_SIZE/NBPG/ to make this compile again. 2004-07-04 03:21:53 +00:00
taca
36ca8dc573 Postfix 2.1.4 released. 2004-07-04 02:41:03 +00:00
mycroft
dfcb3d19d0 Add an entry for the Netgear FA410TX -- though not quite the way it was
suggested in PR 20227.
2004-07-04 01:28:51 +00:00
mycroft
66760f9d8c Change MAXDRV to 0x8f, to fix El Torito booting problems on some machines.
See PR 22647.
2004-07-04 00:38:51 +00:00
mycroft
2aa1e3c773 Fix a bug in the packet "padding" code. If we're padding a packet with an odd
size, we were writing out too much data, possibly causing the chip to lock up.
2004-07-04 00:31:20 +00:00
mycroft
a8f51b14b9 b -> B 2004-07-04 00:21:55 +00:00
mycroft
5f1cbe539c If apm_set_powstate() fails, make sure we run apm_resume() so that run any
powerhooks we have.  From PR 13671 (but applied to both standby and suspend).
2004-07-03 22:29:13 +00:00
manu
7fef082024 Move all the MD bits of commpage to a new file.
Map the comm page as RW in kernel (we want to modify it but not to execute it),
and RX in userland (no need to modify it but we want to execute it
2004-07-03 22:17:18 +00:00
mycroft
77c587044f Only attempt to map the memory window during attach, not match. If msize==0,
print a message and punt.  Fixes PR 6167 (from me!).
2004-07-03 21:29:08 +00:00
mycroft
6343f6f6ee Per PR 8120, put back the reloading of the IDT in cpu_reset(). (Presumably
this overrides some descriptor caching in the CPU.)
2004-07-03 21:02:09 +00:00
mycroft
ace8694948 Attempt to make Perry less confused. 2004-07-03 20:04:03 +00:00
mycroft
81ff095ed7 Remove the call to ulpt_reset(). Although this *shouldn't* cause printers to
disconnect, it does, and this is *not* what the "prime" behavior was for in
lpt.
2004-07-03 19:33:15 +00:00
mycroft
f702e25494 Whoops, make "all" work again. 2004-07-03 19:00:25 +00:00
mycroft
eb8fd502d1 Using timeout() to control refresh gets rid of a whole pile of signal-related
lossage.
Making ungetch() signal-safe, as ncurses seems to, would be better, though.
2004-07-03 18:54:47 +00:00
mycroft
30aaa9067a Use KEY_RESIZE. Might as well have something in our source tree that does. 2004-07-03 18:31:36 +00:00
yamt
eb3fe82f73 i8254_initclocks: fix an integer overflow problem in rev.1.83.
a patch provided by FUKAUMI Naoki.  PR/26152.
2004-07-03 18:24:37 +00:00
dyoung
225bd76ac3 I changed pppoutput to use M_PREPEND. pppoutput was duplicating
the functionality of M_PREPEND, but with a bug: m_pkthdr.len was
not updated in pppoutput as it is in M_PREPEND.

Also, replace the loop that measures the length of the mbuf chain
with a call to m_length.

This fixes a PR from an anonymous bug reporter.  Thank you, anonymous
bug reporter.  Thanks, Itojun, for bringing the anonymous bug report
to my attention.
2004-07-03 18:11:33 +00:00
mycroft
a10e4d1f3a Cardbus -> CardBus 2004-07-03 17:36:51 +00:00
manu
318748a9d0 Wrong argument to memset for bzero in commpage. 2004-07-03 17:29:17 +00:00
mycroft
02bab8c5fb There is no "DWL-G520B". There is, however, a "DWL-G520", which actually
works now.
Also, spell "CardBus" consistently.
2004-07-03 16:58:18 +00:00
manu
5d33c4b91c 2^53 does not compute 2 power 53... 2004-07-03 16:47:13 +00:00
manu
e317692907 When the keyboard type is unknwon, don't attach both ADB and USB, as the
kernel will panic if an USB keyboard is plugged later.

Of course there will be a problem on a desktop machine with an USB attached
keyboard, but that cannot be fixed without access to such a machine..
2004-07-03 16:24:57 +00:00
tron
ee13f974b7 Add formatted manual page for strcasestr(3). 2004-07-03 15:15:04 +00:00
uch
17835aa16b add apm 2004-07-03 14:59:17 +00:00
tron
ed6abe1ce8 The minor of "libc" was bumped to 121. 2004-07-03 14:35:29 +00:00
chs
907e0da361 more shlib updates. 2004-07-03 14:11:25 +00:00
chs
64c100de23 add a missing symlink as well. 2004-07-03 13:45:58 +00:00
uch
ad9ac7f68e add apm, apmd 2004-07-03 12:57:18 +00:00
uch
0afeae9aa7 add hpcsh 2004-07-03 12:55:47 +00:00
uch
c5f0120f16 hpcmips independent hpcapm part are moved to sys/dev/hpc/
hpcmips dependend part is separated to sys/arch/hpcmips/hpcapm_machdep.c
2004-07-03 12:54:34 +00:00
uch
bb2b8b1099 jornada 6x0 power mannagement support.
[on/off] button power off LCD and CPU sleeps.
2004-07-03 12:49:21 +00:00
uch
eb34a4299d jornada 6x0 use j6x0pwr as power button. remove special keymap. 2004-07-03 12:47:53 +00:00
uch
fc3043bcdd hpcmips independent part are moved to sys/dev/hpc/ 2004-07-03 12:46:57 +00:00
manu
4d933c5be0 Mark the thread id as clean in cthread_set_self 2004-07-03 09:44:04 +00:00
mrg
13e5b34e5b fix "zcat -f" on normal files. fixes PR#26145 2004-07-03 09:39:30 +00:00
junyoung
07ac9ff574 Add strcasestr(3). 2004-07-03 09:03:37 +00:00