Commit Graph

37345 Commits

Author SHA1 Message Date
thorpej 081e7cbdaf `typedef void ifnet_ret_t;' isn't valid C -- use #define, instead. 2000-05-03 20:52:29 +00:00
mycroft f73803d1ce Fix printf() format. 2000-05-03 20:17:37 +00:00
mycroft 3afc302a93 ctob() -> ptoa(), to fix sign-extension issues when using >2GB. A more
comprehensive change will be necessary for >4GB, but that's a bigger issue.
2000-05-03 20:02:08 +00:00
thorpej b29178acf3 Remove unnecessary junk on #undef line that some C preprocessors
get cranky about.
2000-05-03 19:19:04 +00:00
thorpej e37397c2e8 `typedef void ifnet_ret_t;' isn't valid C -- use #define, instead. 2000-05-03 19:17:54 +00:00
thorpej ab635a46d3 Slight change to previous. 2000-05-03 19:15:27 +00:00
thorpej 2d66ccbd13 Don't return an uninitialized error code. 2000-05-03 18:58:37 +00:00
thorpej 01e8438aa8 Fill in ccb->ccb_req.sgcount with the value that's guaranteed to
be initialized.
2000-05-03 18:58:15 +00:00
jdolecek 02710dee26 Make the ntfs entry in fscknames NULL - there is no fsck_ntfs.
Pointed out by Andy Doran in private e-mail.
2000-05-03 18:28:46 +00:00
mycroft d0d92c23d0 Use USBD_NORMAL_COMPLETION in the previous. 2000-05-03 18:21:36 +00:00
mycroft ffe599486c When emulating UHF_PORT_POWER for the internal hub, make sure to initialize
the status return value.
2000-05-03 18:14:49 +00:00
ad cd1719f273 Remove obsolete comment. 2000-05-03 14:53:15 +00:00
sommerfeld 4d573016ed Let MULTIPROCESSOR && LOCKDEBUG case compile again 2000-05-03 13:53:59 +00:00
kleink bd2d21b5d1 Display the VPD's PrintableModel item on startup. 2000-05-03 11:39:54 +00:00
veego 21dea2100c Resolve conflicts. 2000-05-03 11:12:03 +00:00
jdolecek 8bcd56bd12 make lkm_name in struct lkm_* a const 2000-05-02 22:13:20 +00:00
bouyer 3bb9a5f666 - do sync/wide negotiation
- use a circular queue for the start slots, so that order has better chances
  to be preserved.
2000-05-02 19:03:02 +00:00
nonaka ad9dd901f1 mbr partition table parameter is little endian.
need to bswap.
2000-05-02 18:19:01 +00:00
nonaka 93f867f485 LABELOFFSET 42 -> 64 2000-05-02 18:13:04 +00:00
nonaka 2ed0c0fe88 add cn_bell to struct consdevs pccons. 2000-05-02 18:11:07 +00:00
uch 89cb6ad8b8 forgot to commit TX3912. 2000-05-02 18:00:54 +00:00
uch 3c873423e1 add ioctl, mmap.
hpcfb directly attach to tx3912video and plumvideo. (no longer use bivideo)
XXX CLUT
2000-05-02 17:50:51 +00:00
uch 9dccb575be change hpfcb_cnattach interface to adopt current implementation. 2000-05-02 17:45:15 +00:00
sommerfeld a5ff71cecc One more __attribute__((__packed__)) to dissuade egcs from making
unwarranted asumptions about the structure's alignment.
2000-05-02 14:15:07 +00:00
pk c49e7076d3 Simplify pmap_page_protect(); modelled after a similar change by
Art Grabowski in Openbsd.
2000-05-02 13:06:27 +00:00
itojun aee9bb5b5f IPv6CP support. if IPv6 link-local address is configured to the interface,
the interface tries to negotiate ifid with the other end by using IPv6CP.

other changes:
- do not share ppp sequence number across protocols.
- if LCP proto-rej is received, drop the protocol mentioned by the message.
  this is to be friendly with non-IPv6 peer (if the peer complains due to
  lack of IPv6CP, drop IPv6CP).  this basically implements "RXJ+" state
  transition in the RFC.
- cleanup debugging message.  always print blank just before message.

CAVEAT:
- if the peer uses the same MAC address as our side (pretty unlikely)
  the code may go into req-rej loop.
- even though we negotiate ifid, we don't configure destination address
  onto the interface.  it is not really necessary to do so (IMHO).
- I've tested this code on a NetBSD 1.4.2 node, which was with fair amount
  of modifications.  not sure if the committed code does it right... (please
  test and send reports)
2000-05-02 12:43:16 +00:00
augustss 9f9f06401c Add (commented out) cms(4) driver. 2000-05-02 11:00:56 +00:00
pk d46e0d77c0 Remove unused code: getptesw4m(),setptesw4m() 2000-05-02 10:35:06 +00:00
pk 716a862d08 Lock internals have changed, and we depend on those in here. 2000-05-02 09:29:39 +00:00
augustss 8abcd395fd Add bba(4) attachment. 2000-05-02 08:04:24 +00:00
augustss e15d2472fa Fix typo. 2000-05-02 08:03:53 +00:00
augustss 087a67c892 Add proper bba attachment. From Gregory McGarry <g.mcgarry@ieee.org> 2000-05-02 08:02:07 +00:00
augustss c6df4d8830 Comment out bba since I don't really know if it's right. 2000-05-02 07:23:56 +00:00
augustss 05ef4c3d35 Add bba(4) attachment at tc. 2000-05-02 07:22:26 +00:00
augustss 621ef4d785 Add am7930 audio driver. 2000-05-02 06:43:05 +00:00
augustss 361f2141f7 Adapt to new am7930 driver. PR 10033 from Gregory McGarry. 2000-05-02 06:35:12 +00:00
augustss f9dbbf4c92 Make am7930 driver machine independent. PR 10032 from Gregory McGarry. 2000-05-02 06:30:49 +00:00
thorpej 39f8e55cfc On the m68k, the most efficient type for __cpu_simple_lock_t is
an unsigned char, since that is what the `tas' instruction uses.

While I'm here, implement the __cpu_simple_lock family of routines.
Why?  One, because they're easy.  Two, so Steve can get master/slave
MVME systems talking across the backplane.  :-)
2000-05-02 05:17:45 +00:00
thorpej 855b79db92 Let each platform typedef the new __cpu_simple_lock_t, which should
be the most efficient type used for the atomic operations in the
simplelock structure, and should also be __volatile.
2000-05-02 04:41:04 +00:00
thorpej 8185691694 - If a platform defines __HAVE_ATOMIC_OPERATIONS, use them for counting
in the MULTIPROCESSOR case.
- Move a misplaced #ifdef so that LK_REENABLE actually works.
2000-05-02 04:32:33 +00:00
nathanw 8ca78ff825 In siop_lookup_product(), actually check the PCI *vendor* ID as well as the
product ID.
Prevents false matches of other devices, such as the DEC 21050 ppb.
2000-05-02 03:59:35 +00:00
thorpej 712326ecbd Traditionally, the floppy controller was configured at 0x3f0 for 8 ports,
but the registers actually begin at 0x3f2, and this is what PNPBIOS reports
for the floppy controller resources.  Adjust the register offsets and the
mapping of them for the ISA front-end to compensate, so that the PNPBIOS
attachment of the floppy controller actually works.
2000-05-02 03:33:45 +00:00
thorpej 5e915fcab9 Nuke some dead code. 2000-05-02 03:32:09 +00:00
augustss c7d698ac41 Support recording conversions that change the sample size. PR 10029, from Gregory McGarry. 2000-05-02 00:00:00 +00:00
augustss 2365a92cb5 Add Creative Music System driver. From Gregory McGarry <g.mcgarry@ieee.org> 2000-05-01 22:48:33 +00:00
augustss 4e1e58e353 Change the way the codec is access to mimic how Linux&FreeBSD does it. 2000-05-01 17:15:41 +00:00
augustss 07f142cd50 Add some more debug output. 2000-05-01 17:10:40 +00:00
pk 91ec70f36d - De-inline VA2PA(); it isn't in any time-critical path. Saves a bunch of space.
- Disable special-cased viking cache flushing in setpgt4m(). This work-around
  should no longer be necessary.
- Remove some misc. dead code.
2000-05-01 15:19:46 +00:00
tsutsui 9498452c05 - Move some initialization into MI rl_attach() from each bus attachment.
- Use proper CARDBUS_* macro in if_rl_cardbus.c
- Use product ID read from PCI configuration space rather than from EEPROM
  in if_rl_pci.c.

Patch sent from Masanori Kanaoka <kanaoka@ann.hi-ho.ne.jp> and
some cosmetic changes by me.
2000-05-01 15:08:50 +00:00
pk d4ac7f24ca Implement HyperSPARC specific pmap_{zero,copy}_page functions. 2000-05-01 14:06:41 +00:00